Posts Outside of Forum - Posted (3034 Views)
Senior Member
leatherlips
Posts: 1838
1838
I know this has been asked many times, but there has never an answer that seems to work. Has anyone ever successfully been able to show complete posts outside of the forum? I want certain topics and all of their posts to show up on other pages in my site. I've used the mod that allows it to show the latest topics, but that is not what I am looking for.<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
To be honest, I've just been building the sites around the forum. It simplifies a lot. smile
default.asp gets changed to forum_home.asp (links get updated), and all my pages use inc_header.asp, I use a lot of the functions built in to Snitz, and the site just grows around the forum. Even if the Forum isn't central, it makes a dandy CMS.<
Posted
Senior Member
leatherlips
Posts: 1838
1838
I appreciate your advice. However, I already have my regular site made and it is pretty extensive.
What I am trying to do is have posts from a particular topic appear on some of my main pages outside of the forum. It would sort of work like a feedback section of the page. Whatever they wrote in the forum under a particular topic would instantly also appear on the other page. Did that make sense? tongue<
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
That did make sense, and I kinda figured that was the situation you were in now. I'm just not sure of the best way to handle what you want.

One option would be to look at the syndication MOD and use it as a template for pulling content. I've done that with some internal apps here at the hospital. All they need is to include a <script> with a properly formatted URL and it pulls the next x classes from my system to a sidebar on their page. I'm not overly fond of sending some js to run on thier page, but it works.
I'd also looked at building a Flash app that talked to a script that fed it some XML... but seeing my Flash skills are more along the "simple animation" lines, that never got very far. tongue
Edit: Another option would be to re-write the RSS MOD to supply full posts and just have a built-in reader that was "subscribed" to that forum/topic/whatever.... I'd need to mull over that idea a little more...<
Posted
Senior Member
leatherlips
Posts: 1838
1838
I have the syndication mod installed and it works fine for what it does. Here is the script that it generates for me:
Code:
<script type="text/javascript" src="http://www.mangionemagic.com/forum/syndicate.asp?method=last_post&results=10&cid=1&lp=y&jp=y&tt=y"></script>
I'm not sure how to tweak it to pull posts from particular topics. It uses information from a syndicate.asp page I think.<
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
For the internal app, I made a copy of syndicate.asp and had adjusted it for my needs. That may be the best way for you to go as well. Once you open up syndicate.asp you'll see that its not that hard to see whats going on in the code.<
Posted
Senior Member
leatherlips
Posts: 1838
1838
I've tried looking at the syndicate.asp file but I can't get it to work. I really don't know what to try to do. I guess I'll just have to figure out something else.<
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
Are you looking for something like this: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=65954

but for pages outside the forum? Are you wanting to show the whole topic? or just the most recent post?
Maybe photoshop up a sketch of what you want. I think there are a few options we can still look at.<
Posted
Senior Member
leatherlips
Posts: 1838
1838
Here is what I am trying to do. I have individual discography pages of the featured artist on my site (Chuck Mangione). On each of those pages I would like to have users add their reviews of the cds. They would post in the forum in a topic relating to that cd. The topic and all replies would show up on the cd page as well like in the picture below.
<
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
Just for clarification:

the discography pages are ASP pages? or at least pages that could process a little ASP?
Am I also to assume that each page would be pulling from a single topic?<
Posted
Senior Member
Jezmeister
Posts: 1141
1141
Add a querystring and run it as a modified topic.asp? alternatively there's always what I've done for a 'topic of the week' in which the ID is predefined (in my case in the database but you could always hard code it) - I just pull the topic message and data from the database myself, you could do the same with replies... there's no real need to over-complicate things if you want to give it a go yourself, everything that you need is stored in the database. :) oh and remember to include inc_func_common and pass the posts through FormatStr if you want links etc to stay intact in your new page.
just some ideas :)<
You Must enter a message