Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Advanced Maintenance Alert Oct 31st, 2014 at 3:58am Mark & QuoteQuote For Big Boards with easily confused multiple admins. This adds the Maintenance message into the header, alert icons into the tabmenu and an alert notice into the post message/post IM process. 0.1 - First release - October 31, 2014 0.2 - bug fixes December 11, 2014 Now works for 2.6.11 Instructions: Apply the mod and upload (in ASCII mode): cgi-bin/yabb2/Admin/Modlist.pm cgi-bin/yabb2/Languages/English/Main.lng cgi-bin/yabb2/Languages/English/Post.lng cgi-bin/yabb2/Sources/Post.pm cgi-bin/yabb2/Sources/Subs.pm « Last Edit: Dec 12th, 2014 at 3:36pm by Dandello » Reason: new zip file advanced_maintenance_alert_1611.zip ( 1 KB | 146 Downloads ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Advanced Maintenance Alert Reply #1 - Dec 5th, 2014 at 4:04am Mark & QuoteQuote Problem with Slider captcha. Can you solve or otherwise is handmade hot? Code alert(msgError); if (isError == 1) imWin(); else if (isError == 2) theForm.name.focus(); else if (isError == 3) theForm.email.focus(); else if (isError == 4) theForm.subject.focus(); else if (isError == 5) theForm.message.focus(); else if (isError == 6) theForm.slider.focus(); return false; if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Advanced Maintenance Alert Reply #2 - Dec 5th, 2014 at 5:27am Mark & QuoteQuote Assuming I understood the question. In Advanced Maintenance Mod find Code <search for> else if (isError == 5) theForm.message.focus(); return false; } return true; </search for> <replace> else if (isError == 5) theForm.message.focus(); return false; }~; if ( ( $iamadmin || $iamgmod ) && $maintenance ) { $post_alert = qq~ var maintmsg = "$post_txt{'616c'}\\n"; alert(maintmsg);~; } $my_q_quote .= $post_alert . q~return true; </replace> replace with Code <search for> else if (isError == 6) theForm.slider.focus(); return false; } return true; </search for> <replace> else if (isError == 6) theForm.slider.focus(); return false; }~; if ( ( $iamadmin || $iamgmod ) && $maintenance ) { $post_alert = qq~ var maintmsg = "$post_txt{'616c'}\\n"; alert(maintmsg);~; } $my_q_quote .= $post_alert . q~return true; </replace> Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Advanced Maintenance Alert Reply #3 - Dec 5th, 2014 at 5:41am Mark & QuoteQuote Ooops, I have now forgotten. The message comes in the Post.pm. Then remove the entry in the package? I think it is better to make the mod again. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Advanced Maintenance Alert Reply #4 - Dec 5th, 2014 at 5:50am Mark & QuoteQuote I suspect Advanced Maintenace Alert needs to be installed before the Slider Mod. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Advanced Maintenance Alert Reply #5 - Dec 6th, 2014 at 5:11am Mark & QuoteQuote Dandello wrote on Dec 5th, 2014 at 5:50am:I suspect Advanced Maintenace Alert needs to be installed before the Slider Mod. Works. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Advanced Maintenance Alert Reply #6 - Dec 6th, 2014 at 5:14am Mark & QuoteQuote Code <edit file> Languages/German/Main.lng </edit file> <search for> 1; </search for> <add before> $load_txt{'maint'} = 'Wartung'; </add before> <edit file> Languages/German/Post.lng </edit file> <search for> 1; </search for> <add before> $post_txt{'616c'} = q~ Das Forum ist im Wartungsmodus! ~; </add before> Code <edit file> Languages/German_Du/Main.lng </edit file> <search for> 1; </search for> <add before> $load_txt{'maint'} = 'Wartung'; </add before> <edit file> Languages/German_Du/Post.lng </edit file> <search for> 1; </search for> <add before> $post_txt{'616c'} = q~ Das Forum ist im Wartungsmodus! ~; </add before> if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Advanced Maintenance Alert Reply #7 - Dec 12th, 2014 at 4:00pm Mark & QuoteQuote New Zip in first post. Checked against 2.6.11 Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Advanced Maintenance Alert Reply #8 - Jan 4th, 2015 at 2:33am Mark & QuoteQuote Yowza! That's hard to miss! Installed smoothly and seems to work fine on my new 2.6.11 test forum. If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Advanced Maintenance Alert Reply #9 - Jan 4th, 2015 at 4:08pm Mark & QuoteQuote Batchman wrote on Jan 4th, 2015 at 2:33am:Yowza! That's hard to miss! We wanted it REALLY hard to miss. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Advanced Maintenance Alert Reply #10 - Feb 18th, 2016 at 4:34am Mark & QuoteQuote Works for 2.6.12 Perfection is not possible. Excellence, however, is excellent. WWW IP Logged