PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
dirtyrat
New Member
New Member


Joined: May 18, 2007
Posts: 10

PostPosted: Thu Jun 26, 2008 1:32 pm Reply with quote Back to top

When a non-God admin is logged in, the "Admin HTTPAuth" line is missing from the Nukesentinel menu. Now, I understand that this is only accessible from the God account but, it is being replaced with the variable "_AB_" instead of the text description.

Two ways around this:
1) in language\nukesentinel\lang-english.php, uncomment the line
Code:
//define('_AB_',' ');

and edit it as
Code:
define('_AB_','Admin HTTPAuth');


2) in admin\modules\nukesentinel\functions.php, in function ipbanmenu, find
Code:
    echo '<td><a href="'.$admin_file.'.php?op=ABAuth">'._AB_HTTPAUTH.'</a></td></tr>'."\n";
  } else {
    echo '<td>'._AB_.'</td></tr>'."\n";

and replace
Code:
._AB_.

with
Code:
._AB_HTTPAUTH.


I believe that the second option is preferred. This will give the text description but, no hyperlink.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 5830

PostPosted: Thu Jun 26, 2008 2:15 pm Reply with quote Back to top

It appears from the code you have shown that the purpose was the show the value of _AB_HTTPAUTH if the God admin was logged in but the value of _AB_ if just a normal admin. The value in this case should have been null '' but has been commented out.
Provided _AB_ is not in the admin language file you could just uncomment it but your solution would work equally well Smile
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum