Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
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 = " (Hot Topic  More than $HotCount replies)";
$YellowHot = "(Hot Topic  More than $HotCount replies)";


Replace the above code with:


$RedHot = " (Hot Topic  $HotCount replies or more)";
$YellowHot = "(Hot Topic  $HotCount replies or more)";

That's it, you are patched. Woohoo, my first credited hack. [Linked Image]


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

Sponsored Links
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
10 thousand versions later and some of the bugs are being sorted....

Just a thought [Linked Image]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)