Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
ashishjha54
Hangin' Around



Joined: Jan 24, 2005
Posts: 41

PostPosted: Sun May 08, 2005 7:32 pm Reply with quote

read this article at
Only registered users can see links on this board! Get registered or login!
it says to change all the instances of
Code:
if ($forum_admin == 1) { 

in mainfile.php to
Code:
if (defined('FORUM_ADMIN')) { 

.
should i change the cnb code in mainfile.php according to above instructiuon.
thanks.
 
View user's profile Send private message
sting
Involved
Involved



Joined: Sep 23, 2003
Posts: 456
Location: Somewhere out there...

PostPosted: Sun Jun 05, 2005 3:07 pm Reply with quote

If you have loaded sentinel and the new patches, this should be fine - as it changes everything within the nuke site.

This of course depends on your version of nuke (without patches) - if you have patched then I would suggest backing up your CNB code and making the changes, see if it all works.

OF course not having looked at the CNB YA mod, its a bit of a jump, but I would think that if somewhere due to these changes $forum_admin is never getting set to 1, then your if statements in your CNB code would not find what its looking for.

-sting
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

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 ©