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

   Display Last Posts SSI Addon to Del.icio.us Add to del.icio.us
  Digg Display Last Posts SSI Addon Digg it
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


Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks