Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
Does any one know if theres any code which will pull in the 5 most recent topics for display on my sites homepage. I have seen it in action at http://www.sqlteam.com, but they use the Snitz ASP forum.

Sponsored Links
Joined: Apr 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 2
Hey, I am looking for that EXACT same thing. So that's two votes for this code. Anyone...anyone....?

thanks in advance.

Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
Ive been hunting through old topics and i came across the active topic hack, I think thats the one we are both after. But the links to the source dont work, arggghhh! mad!, anyone, please!!

Kristian

Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49

Joined: Sep 2000
Posts: 305
CTH Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 305
kristian,

The topic/mod u linked to is for UBB5.x

Sponsored Links
Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
Yeah i was actually running v5 at the time, but i couldnt get it working outputing html so i upgraded to ersion 6 to try the actie topics hack but that mod dont hae an output to HTML feature yet.

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
no it does not output to html you have to call in into the html using SSI which there is speical instruction for in the Active Topics zip file or you might have an old one download the new one v1.8d i think

Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
Yeah but im wanting to include it on my ASP home page, but i dont want to turn on parsing for SSI within ASP just for the one page because itll be a hugh resource drain. I wish i could do it myself but i tried n got nowhere, but then i know very little about Perl. Surely someone must have this in the pipeline, a hell of a lot of people choose pages other than shtml, and ive seen many people asking for it!

Please! Please! Please!

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
so i myself don't know enough perl either

Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
Someone may be able to do this using a simple rehash of active topics, i tried but i know so little about perl that i couldnt do it.

If you strip out all the code that relates to the normal display options, and leave just the code that writes the headlines, and then at the point it would usually output the html to the browser, it instead writes it to a .html file on the server.

I got it doing that no problems, if i hit the active topic cgi script it would create the file and everything, but getting it to execute and update the html file when a user was posting a message was where i got stuck, it just kept saying unable to execute specified program. I was using the system command which i noticed was the way it was done in the old version 5 hack.

If anyone wants to take what i got and finish it off then please do, i dont want any credit, i just want recent topics displayed on my homepage, some credit should be given to Active Topic Author though because its that rehashed.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)