badmeetsevil-
09-01-2001, 10:00 PM
Headlines.php
..a editing of "PluhNews"
Created by Kayn -- Re-Edited By BadMeetsEvil-
What's it do?
Posts the latest thread's (more than 1 if you choose) title, thread starter, last poster, and other information on a .php page, so you can SSI it in, so it can go on a Non-VB Page.
Demo
http://www.soaped-up.com/bbs/headlines.php
Added Things to PluhNews Headlines
a.) Combinded Config.php and Headline.php into one document.
b.) Added Option to see Total Thread Replies
c.) Added Option to see Last Poster of that Thread
d.) Added Option to use Thread Icon
e.) Thread Starters Username, is now link to Profile.
f.) Config Details taken Further
g.) Script is now only about 65 lines.
Installation
1.) Open headlines.php in Notepad, and edit the config section to fit your forums. Pretty much self explanitory.
$newsforums
is the forum you want the headlines to be displayed from. If you don't know how to find out the forum ID, go to your Forums, and hover the name of the forum (the link). On your toolbar at the bottom, it will display the link (IE), and the number at the very end is the forum ID.
$newsitems
are how many items you would displayed on the page.
$forumspath
is your forums path. Edit this to your needs. I found out that it only works with my server if you put a / infront of the path, or else the link would be /bbs/bbs/blah.php. But, it would be different with yours. No trailing slash.
2.) Edit the HTML section to how you want it.. you can add or delete some of the PHP phrases in case you don't like having the Reply Count, Last Poster, or whatever.
3.) Upload to your forums directory.. and open headlines.php in your browser.
http://www.soaped-up.com
BadMeetsEvil-
..a editing of "PluhNews"
Created by Kayn -- Re-Edited By BadMeetsEvil-
What's it do?
Posts the latest thread's (more than 1 if you choose) title, thread starter, last poster, and other information on a .php page, so you can SSI it in, so it can go on a Non-VB Page.
Demo
http://www.soaped-up.com/bbs/headlines.php
Added Things to PluhNews Headlines
a.) Combinded Config.php and Headline.php into one document.
b.) Added Option to see Total Thread Replies
c.) Added Option to see Last Poster of that Thread
d.) Added Option to use Thread Icon
e.) Thread Starters Username, is now link to Profile.
f.) Config Details taken Further
g.) Script is now only about 65 lines.
Installation
1.) Open headlines.php in Notepad, and edit the config section to fit your forums. Pretty much self explanitory.
$newsforums
is the forum you want the headlines to be displayed from. If you don't know how to find out the forum ID, go to your Forums, and hover the name of the forum (the link). On your toolbar at the bottom, it will display the link (IE), and the number at the very end is the forum ID.
$newsitems
are how many items you would displayed on the page.
$forumspath
is your forums path. Edit this to your needs. I found out that it only works with my server if you put a / infront of the path, or else the link would be /bbs/bbs/blah.php. But, it would be different with yours. No trailing slash.
2.) Edit the HTML section to how you want it.. you can add or delete some of the PHP phrases in case you don't like having the Reply Count, Last Poster, or whatever.
3.) Upload to your forums directory.. and open headlines.php in your browser.
http://www.soaped-up.com
BadMeetsEvil-