|
|
|
|
Joined: Apr 2005
Posts: 6
Lurker
|
|
Lurker
Joined: Apr 2005
Posts: 6 |
I'd like to know how I can list on my site's home page the most recents threads posted in the forums? I'm currently upgrading my site and converting it to PHP, so I'd need to know how to do it in that! Thanks! Antoni http://www.babypartner.com
|
|
|
|
|
Joined: Mar 2000
Posts: 528
Junior Member
|
|
Junior Member
Joined: Mar 2000
Posts: 528 |
In past versions of Threads there was a file in the addon folder that was specifically for this. You can change the variables in the news php file, and then 'include' that file in any other PHP document you want.
In the addons directory (if this is still in 6.5), you will find a ubbtnews.php file, and a ubbtnews.txt file on how to include it in any PHP page.
|
|
|
|
|
Joined: Mar 2000
Posts: 21,080 Likes: 3
I type like Navaho
|
|
I type like Navaho
Joined: Mar 2000
Posts: 21,080 Likes: 3 |
hmmm.. cool, I worked NICU for ~14 years  At the top of that file you need to edit the variables you'll need to use it. There's about 4-5 lines that you need to add your site's info into for it to work.
|
|
|
|
|
Joined: Mar 2000
Posts: 21,080 Likes: 3
I type like Navaho
|
|
I type like Navaho
Joined: Mar 2000
Posts: 21,080 Likes: 3 |
Saw some bad, mostly good tho - I worked at texas childrens when that lady had octuplets (8)  Looks like you got the display issues worked out, it works fine for me now 
|
|
|
|
|
Joined: Apr 2005
Posts: 6
Lurker
|
|
Lurker
Joined: Apr 2005
Posts: 6 |
I had the wrong path entered. I think I had an extra '/' at the end of the path to the main.inc.php file. I tried editing the other file for the top threads, and made that work, then went back and copied the paths for the top news items.
Thanks for all of your help. I'm happy with the results!!!
Antoni
|
|
|
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.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 413
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 21
|
|
|
|
|
|