Page Index Toggle Pages: 1
Topic Tools
Normal Topic Forum Jump accessible in Maintenance mode (Read 819 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,383
Location: Earth

YaBB 2.6.1
Forum Jump accessible in Maintenance mode
Sep 1st, 2012 at 5:53am
Post Tools
xnoddyx found this one: The Forum Jump box is still active when the forum in is maintenance mode. While this may not be an issue most of the time, this is still probably not a good thing.

In ./Sources/Subs.pl
Find:
Code
Select All
		if (!$iamguest || ($iamguest && $guestaccess == 1)) { $yyforumjump = &jumpto; } 



and replace with:
Code
Select All
		if ((!$iamguest || ($iamguest && $guestaccess == 1)) && !$maintenance ) { $yyforumjump = &jumpto; } 

« Last Edit: Sep 1st, 2012 at 5:54am by Dandello »  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,383
Location: Earth

YaBB 2.6.1
Re: Forum Jump accessible in Maintenance mode
Reply #1 - Nov 6th, 2012 at 9:31pm
Post Tools
This Topic was moved here from YaBB 2 - Bugs [Need Verification] [move by] Dandello.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top