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(tm)
Author Message
Muffin
Client



Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Tue Jun 01, 2004 3:12 am Reply with quote

I upgraded Sentinel this morning and all went well.

When I activated Sentinal2 block I got this error and from the centre block all blocks and modules went to the far right of the page, but the left hand modules stayed put.

Quote:
Parse error: parse error in /home/minicity/public_html/nuke/html/blocks/block-Sentinel2.php on line 49


Could you explain to me the procedure for using the Sentinal blocks Sentinel and Sentinel2 please. Have I done something wrong?

And one more question, sorry, I'm trying hard to learn here, where we have to change the lines of code in Your_Account.php it says 4 placements.


are those 3 examples of code in 4 times each? Sorry if you think I'm dim, just want to do this properly and I'm totally new to it all but keen to learn.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Jun 01, 2004 4:48 am Reply with quote

You are correct and we will get this fixed ASAP. In blocks/block-Sentinel.php line 53, and blocks/block-Sentinel2.php line 49, please change to
Code:
  $content .= "<hr><center><a href=\"http://www.nukescripts.net\">"._AB_ABUSEBLOCKER." 1.1.0</a></center>\n";
 
View user's profile Send private message
Raven







PostPosted: Tue Jun 01, 2004 5:57 am Reply with quote

Muffin wrote:
And one more question, sorry, I'm trying hard to learn here, where we have to change the lines of code in Your_Account.php it says 4 placements.
In most versions of YA/index.php you will find 4 occurrences of the original code. The replacement code should occur in those 4 instances only. Does that answer your question?
 
Muffin







PostPosted: Tue Jun 01, 2004 9:46 am Reply with quote

ermmm sort of lol

What I meant was, and I'm sorry if I wasnt clear in my first post, does each bit of code happen 4 times in YA/index.php or

is each of the bits of code only in index.php once each lol

Sorry for being thick. And thank you for being patient with me.
 
Raven







PostPosted: Tue Jun 01, 2004 10:05 am Reply with quote

In the default index.php, thare are 4 occurences of this code
Code:
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) {
Find each occurence and replace that 1 line with these 3 lines
Code:
cookiedecode($user);

getusrinfo($user);
if ((is_user($user)) AND ($userinfo[username] == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) {

Does that help?
 
Muffin







PostPosted: Tue Jun 01, 2004 10:08 am Reply with quote

rofl Yes it does Raven thank you.

And thank you for your patience, it's much appreciated.

And after all that I don't need to change mine.

I did a find for the first code above and it wasnt there, neither is the second replacement code. So I guess I dont have to change my YA/index.php.

Why are they all different? Is it because some people don't update their nuke as soon as new patched files are released?

lol I think I need a lie down in a darkened room after this Rolling Eyes
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©