| Author |
Message |
Muffin Client

Joined: Apr 10, 2004 Posts: 649 Location: UK
|
Posted:
Tue Jun 01, 2004 3:12 am |
|
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. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Jun 01, 2004 4:48 am |
|
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"; |
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Jun 01, 2004 5:57 am |
|
| 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 Client

Joined: Apr 10, 2004 Posts: 649 Location: UK
|
Posted:
Tue Jun 01, 2004 9:46 am |
|
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 Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Jun 01, 2004 10:05 am |
|
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 Client

Joined: Apr 10, 2004 Posts: 649 Location: UK
|
Posted:
Tue Jun 01, 2004 10:08 am |
|
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  |
|
|
|
 |
|
|
|
|