 |
 |
 |
 |
#140836 - 04/03/01 03:14 AM
Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
|
Junior Member
Registered: 04/02/01
Posts: 3
Loc: Germany, 84069 Schierling
|
Ok, I think I have it. In Allen's version, the if-block I writed I my last posting is out of the if ($total_posts > $vars_display{HTMLDisplayMax}) { ... }. And that's the cause of our problems. $total_pages is defined with a my-definition, so out of the if ($total_posts > $vars_display{HTMLDisplayMax}) { ... }-thing $total_pages = 0! There are 2 ways to fix the problem: 1st Delete the my out of the my $total_pages = int ($total_posts / $vars_display{HTMLDisplayMax}); or 2nd set the if ($total_pages > 1) { ... }-block into the if ($total_posts > $vars_display{HTMLDisplayMax}) { ... }-thing. I used the 2nd way, so my code in ubb_forum.cgi is: - Roodah [ April 03, 2001: Message edited by: Roodah ] [ April 03, 2001: Message edited by: Roodah ]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#140846 - 04/03/01 08:37 PM
Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
|
Member
Registered: 02/11/01
Posts: 74
Loc: Arizona, USA
|
Hi, I just updated my UBB to 6.02 and went back and installed sevral of the hacks I collected including yours. I've ran into a problem; in private forums, when you click Show Topics from last 45 days, or higher, it brings up This may not have been due to your hack, I currently have 6 hacks installed: Anchor, last reply, News Fader, Custom Rank, and MODs Wordlets.cgi Any Suggestions?
_________________________
{SFP} Sonic Expecting the Unexpected!
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#140850 - 04/03/01 10:32 PM
Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
|
Member
Registered: 12/14/00
Posts: 36
Loc: Raleigh, NC, USA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|