PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Muffin
Client


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

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

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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Muffin
Client


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

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

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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Muffin
Client


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

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

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
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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-2011 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