Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Guardian Issues (Read 951 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Guardian Issues
Jan 16th, 2015 at 5:14pm
Mark & QuoteQuote  
In 2.6.+ we added more 'Admin choice'  functions to Guardian. However, there were some bits of code in GuardianAdmin.pm that should have come out for Guardian to work properly in both the automatic and 'Admin choice' modes.

In Admin/GuardianAdmin.pm find
Code
Select All
      . ( $use_htaccess ? q{} : ' disabled="disabled"' ) 

and remove the line.

also find
Code (Javascript)
Select All
                <script type="text/javascript">
             var old_htaccess = '';
             function remove_htaccess() {
                 if (document.getElementById("use_htaccess").checked) {
                     old_htaccess = document.getElementById("access_denied").value;
                     document.getElementById("access_denied").value = '';
                     document.getElementById("access_denied").disabled = "disabled";
                 } else {
                     document.getElementById("access_denied").value = old_htaccess;
                     document.getElementById("access_denied").disabled = "";
                 }
             }
                 </script> 

and remove it.
« Last Edit: Jan 16th, 2015 at 11:30pm by Dandello »  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Guardian Issues

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