Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Maintenance Mode (Read 2942 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Maintenance Mode
Reply #8 - Oct 24th, 2017 at 3:45am
Mark & QuoteQuote  
and with me there are days, I am so right on 
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2253
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Maintenance Mode
Reply #7 - Oct 23rd, 2017 at 4:40pm
Mark & QuoteQuote  
There are days when I really am  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Maintenance Mode
Reply #6 - Oct 23rd, 2017 at 4:09pm
Mark & QuoteQuote  
it works now   Smiley
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2253
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Maintenance Mode
Reply #5 - Oct 23rd, 2017 at 2:03pm
Mark & QuoteQuote  
The problem isn't with the language line. It's a missing substitution in Subs.pm

Find
Code (Perl)
Select All
            $yyadmin_alert =~ s/USER/$user/xsm; 



And add after
Code (Perl)
Select All
            $yyadmin_alert =~ s/\Q{yabb adminurl}\E/$adminurl/xsm; 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Maintenance Mode
Reply #4 - Oct 23rd, 2017 at 5:38am
Mark & QuoteQuote  
Dandello wrote on Oct 23rd, 2017 at 4:37am:
The link takes admins directly to the Admin Center Maintenance Mode screen.


But it does not, I have compared with 2.6.12.
So it should look like this.


Code
Select All
'616' => q~Remember, this forum is in <a href="{yabb adminurl}?action=newsettings;page=maintenance" style="font-weight: bold;">'Maintenance Mode'</a>.~, 

  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2253
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Maintenance Mode
Reply #3 - Oct 23rd, 2017 at 4:37am
Mark & QuoteQuote  
Top of forum and top of navigation sidebar in Admin Center for admins (and Global Mods if permitted).

Unless something really odd is happening, it should show up in the same place in most - if not all - forum screens that the admin and Global Mod can get to when the forum is in Maintenance Mode. The link takes admins directly to the Admin Center Maintenance Mode screen.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Maintenance Mode
Reply #2 - Oct 23rd, 2017 at 4:13am
Mark & QuoteQuote  
It only updates the main page. More does not make it. To what?
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2253
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Maintenance Mode
Reply #1 - Oct 23rd, 2017 at 1:29am
Mark & QuoteQuote  
That belongs to the Admin Maintenance alert in the top section. It's called from Subs.pm.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Maintenance Mode
Oct 22nd, 2017 at 7:50pm
Mark & QuoteQuote  
Where should this link lead? I can not find a usable function.

Main.lng

Code (Perl)
Select All
'616' => q~Remember, this forum is in <a href="{yabb adminurl}?action=admincheck;username=USER;action2=newsettings;page=maintenance" style="font-weight: bold;">'Maintenance Mode'</a>.~, 

  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Maintenance Mode

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry