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
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



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks