Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
sharlein
Member Emeritus


Joined: Nov 19, 2002
Posts: 322
Location: On the Road

PostPosted: Mon Aug 02, 2004 12:42 pm Reply with quote

Quick, easy install. Updated tables with incident. The only thing that doesn't appear to work is clicking on ? for help. Nothing happens. In RC5 I had the mouseover help. Thanx, Steve

_________________
Give Me Ambiguity Or Give Me Something Else! 
View user's profile Send private message
BobMarion
Former Admin in Good Standing


Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)

PostPosted: Mon Aug 02, 2004 1:31 pm Reply with quote

Changing back to mouseovers is easy. Open admin/modules/sentinel.php and find these two routines (they appear just like this:
Code:
function help_img($abinfo) {

  global $bgcolor1, $bgcolor2, $textcolor1, $textcolor2;
  return "<a href=\"javascript:void(0);\" onclick=\"return overlib('$abinfo', STICKY, BELOW, RIGHT, CAPTION, '"._AB_HELPSYS."', STATUS, '"._AB_HELPSYS."', WIDTH, 300, OFFSETY, 20, FGCOLOR, '#ffffff', BGCOLOR, '#000000', TEXTCOLOR, '#000000', CAPCOLOR, '#ffffff', CLOSECOLOR, '#ffffff', CAPICON, 'images/sentinel/helpicon.png', BORDER, '2');\" onmouseout=\"return nd();\"><img src='images/sentinel/helpicon.png' border='0' height='12' width='12'></a>";
}

function info_img($abinfo, $abside) {
  global $bgcolor1, $bgcolor2, $textcolor1, $textcolor2;
  if($abside == "l") { $abside = "LEFT"; } else { $abside = "RIGHT"; }
  return "<a href=\"javascript:void(0);\" onclick=\"return overlib('$abinfo', STICKY, BELOW, $abside, CAPTION, '"._AB_INFOSYS."', STATUS, '"._AB_INFOSYS."', WIDTH, 300, OFFSETY, 20, FGCOLOR, '#ffffff', BGCOLOR, '#000000', TEXTCOLOR, '#000000', CAPCOLOR, '#ffffff', CLOSECOLOR, '#ffffff', CAPICON, 'images/sentinel/infoicon.png', BORDER, '2');\" onmouseout=\"return nd();\"><img src='images/sentinel/infoicon.png' border='0' height='12' width='12'></a>";
}


Change the onclick= to onmouseover= like below:
Code:
function help_img($abinfo) {

  global $bgcolor1, $bgcolor2, $textcolor1, $textcolor2;
  return "<a href=\"javascript:void(0);\" onmouseover=\"return overlib('$abinfo', STICKY, BELOW, RIGHT, CAPTION, '"._AB_HELPSYS."', STATUS, '"._AB_HELPSYS."', WIDTH, 300, OFFSETY, 20, FGCOLOR, '#ffffff', BGCOLOR, '#000000', TEXTCOLOR, '#000000', CAPCOLOR, '#ffffff', CLOSECOLOR, '#ffffff', CAPICON, 'images/sentinel/helpicon.png', BORDER, '2');\" onmouseout=\"return nd();\"><img src='images/sentinel/helpicon.png' border='0' height='12' width='12'></a>";
}

function info_img($abinfo, $abside) {
  global $bgcolor1, $bgcolor2, $textcolor1, $textcolor2;
  if($abside == "l") { $abside = "LEFT"; } else { $abside = "RIGHT"; }
  return "<a href=\"javascript:void(0);\" onmouseover=\"return overlib('$abinfo', STICKY, BELOW, $abside, CAPTION, '"._AB_INFOSYS."', STATUS, '"._AB_INFOSYS."', WIDTH, 300, OFFSETY, 20, FGCOLOR, '#ffffff', BGCOLOR, '#000000', TEXTCOLOR, '#000000', CAPCOLOR, '#ffffff', CLOSECOLOR, '#ffffff', CAPICON, 'images/sentinel/infoicon.png', BORDER, '2');\" onmouseout=\"return nd();\"><img src='images/sentinel/infoicon.png' border='0' height='12' width='12'></a>";
}

_________________
Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
sharlein
PostPosted: Mon Aug 02, 2004 4:27 pm Reply with quote

Thank you Bob. This is the error message I get upon loading RC6
Code:
Line: 396

Char: 1
Error:  Object Expected
Code:  0
URL:  Mine/op=ABMain


I think RC6 may have crossed my nOOb line. I don't understand the proxy and Dos blockers. If I choose to block proxies, does it discriminate between my friends who have proxies and Arabic Emissaries?
 
BobMarion
PostPosted: Mon Aug 02, 2004 7:27 pm Reply with quote

Proxy Blocker helps to keep people using proxies from accessing your site. Some will use it some won't Smile

DOS Protection helps to protect your site from Denial Of Service attacks. These are bots aimed at your site in an attempt to overload your server by requesting tons of pages at once.

Line 396 in admin/modules/sentinel.php is:
Code:
$counter = 1;
Does this show up if you revert back to the deafult admin/modules/sentinel.php file or just in the one you modified from the above instructions? If it's the modified one I'll make a copy that I can send you to ensure there's not a missed character in there somewhere.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©