php forum
php mysql forum
php mysql smarty
 
Topic Options
#36721 - 03/05/00 10:21 PM Flaming Folder Icon Editorial Correction Hack
Music Global Network Offline
Member

Registered: 01/10/00
Posts: 34
Loc: Columbia, MD USA

   Flaming Folder Icon Editorial Correction Hack to Del.icio.us Add to del.icio.us
  Digg Flaming Folder Icon Editorial Correction Hack Digg it
forumdisplay.cgi will tell people that the requirement for the flaming folder icon to display is actually one reply more than when the folder actually displays.

For example, I have my Flaming topic folder icon set in General Preferences for a minimum of 6 replies. On the bottom of the forum pages it reads as follows:

Contains new posts since the last time you logged on ( "flaming icon" More than 6 replies) .
No new posts since the last time you logged on ( "flaming icon" More than 6 replies).

This hack will correct the display to say:

Contains new posts since the last time you logged on ( "flaming icon" 6 replies or more) .
No new posts since the last time you logged on ( "flaming icon" 6 replies or more).

Click here to see it in action!!

Open forumdisplay.cgi

Find

$RedHot = " (<img src="$NonCGIURL/hotclosedb.gif" border=0 alt="Hot Topic">  More than $HotCount replies)";
$YellowHot = "(<img src="$NonCGIURL/hotclosed.gif" border=0 alt="Hot Topic">  More than $HotCount replies)";


Replace the above code with:


$RedHot = " (<img src="$NonCGIURL/hotclosedb.gif" border=0 alt="Hot Topic">  $HotCount replies or more)";
$YellowHot = "(<img src="$NonCGIURL/hotclosed.gif" border=0 alt="Hot Topic">  $HotCount replies or more)";

That's it, you are patched. Woohoo, my first credited hack.


I made Info-pop aware of the problem several versions ago, it appears to be corrected differently in version 5.44 using the "More than XX replies". I'm using version 5.42, check your version before hacking, it may be fixed. This is an easy way to fix if your version is not patched. Post about the bug on the Info-Pop Board


------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com
_________________________
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

Top
#36722 - 03/06/00 03:37 AM Re: Flaming Folder Icon Editorial Correction Hack
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
10 thousand versions later and some of the bugs are being sorted....

Just a thought
_________________________
http://www.iamcal.com

Top
#36723 - 03/06/00 05:05 PM Re: Flaming Folder Icon Editorial Correction Hack
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Nice job...something like this should go in the Bug Fixes Forum.

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

Top


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
1 Registered (Gizmo), 31 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
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
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks