php forum
php mysql forum
php mysql smarty
 
Topic Options
#291621 - 10/19/00 01:19 AM Display Last Posts SSI Addon
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Not sure what to post here, so here's the header from the readme.txt file.

**************************************************************
UBB Latest Posts SSI
By: Neal Ulen (neal@gamerforums.net) - GamerForums.Net
v1.0 - 10/16/00

What it does:
Extracts the last X user defined number of posts from the UBB
database and displays them on a page using SSI. There is also
an option to define forum numbers that you don't want scanned
for most recent posts (for example hosted or private forums).

What you need to do:
- Modify the one UBB file as detailed below, and upload.
- Upload the lastposts.cgi file to your UBB CGI dir, and chmod
755 if required (for you Unix boys).
- Embed the SSI in the page where you want the output. The SSI
will look something like:
<!--#exec cgi="/cgi-bin/ubb/lastposts.cgi"-->

What versions are covered:
This hack/mod has been verified to work on UBB v5.46, but since
the mod to the UBB code is tiny, I expect it to work on almost
all versions.

Support:
I will give minimal support. If it's not simple and obvious
what's going wrong, I won't spend any time on it.

Examples:
Unformatted output --> http://www.gamerforums.net/misc_pages/test.shtml
Integrated output --> http://www.gamerforums.net
**************************************************************

------------------
Neal 'Thradar' Ulen
Webmaster www.gamerforums.net
www.moviefanonline.com

Top
#291622 - 10/27/00 05:25 PM Re: Display Last Posts SSI Addon
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
I meant to mention that this mod/SSI is slightly different from Active Topics in that it extracts the last user defined number of posts from the UBB, while Active Topics displays the last user defined number of topics that have last seen any activity. And the code length is approximately 1/10th that of Active Topics.

Two further points that I've discovered from feedback:

1) It is not compatible with the Thread Counter Hack. The link that is created is a direct link to the thread .html, not a call to the counter.cgi hack program. But, the lastposts.cgi code can easily be modified to work with the Thread Counter Hack, you just need to tweak the lines that build up the URL, all the variables needed should be in the code.

2) If someone deletes their thread, the info does not get deleted from the dailyindex file (UBB thing), so a link may still appear in the output. In order to get this to work properly a mode to postings.cgi (I think) would be needed to delete the thread/form reference from the dailyindex file. This shouldn't be much of a problem on an active board, and people rarely deleted threads anyway.

Okay, I'm done rambling. Thanks for the feedback to those that gave it.

------------------
Neal 'Thradar' Ulen
Webmaster www.gamerforums.net
www.moviefanonline.com

Top
#291623 - 10/27/00 05:29 PM Re: Display Last Posts SSI Addon
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Damn, okay...this is my last post...just trying to give as much info as possible. Addendum to #1 above: It can still be used fine with the Thread Counter Hack, but any clickthroughs from the SSI output page won't be counted...unless you tweak the lastposts.cgi code to be compatible with the Thread Counter Hack.

Allen: Please contact me before uploading this to the actual database so I can send you an updated zip file with this documentation. Thanks!

------------------
Neal 'Thradar' Ulen
Webmaster www.gamerforums.net
www.moviefanonline.com

Top


Who's Online
0 registered (), 27 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks