Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
pdoobepd
Worker
Worker



Joined: May 07, 2005
Posts: 129

PostPosted: Sat May 07, 2005 12:11 am Reply with quote

I am a bit miffed at the explanation of this...I need to know what and where this code is suppose to be changed and what it should look like in the end and example would do.

# $admin_file: Administration panel filename. "admin" by default for
# "admin.php". To improve security please rename the file
# "admin.php" and change the $admin_file value to the
# new filename (without the extension .php)

$admin_file = "admin";


Please give me an example of how and where this should be changed ??? I know it's in the config.php DU...lol But which end of code needs to be changed and where...and how to execute file once changed ???

Thanks A PHPNUKE wanna be website owner.
Ging...
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat May 07, 2005 9:41 am Reply with quote

$admin_file = "admin"; means that the admin script file is named admin.php. So, anywhere where nuke is calling $admin_file, it will actually look for admin.php. Now if you change the setting to $admin_file = "Ging"; , then you must rename the admin.php file to Ging.php (Note that if this is on a *nix server the name IS case sensitive). Now when nuke is calling $admin_file, it will actually look for Ging.php.

Frankly, this is really another useless "feature". It's a very weak attempt to "secure" the code. Just install NukeSentinel(TM) and/or Chat's most recent patches and your admin.php file is safe anyway.
 
View user's profile Send private message
pdoobepd







PostPosted: Sat May 07, 2005 7:57 pm Reply with quote

Thanks ... Now I have another Question LOL

I made the mistake of selecting a theme in the forum administration...bad idea...them doesn't have "admin" set up...so now I can't see anything in ADMIN...lmao...

How and where can I fix the "name" of theme used if I can't See to do it ?

:eyeroll: Sorry Newbie on the block here lol

HELP ? !

This is the error I get instead of Seeing actual admin page for forum area

Could not get theme data for themes_id [3]
 
Raven







PostPosted: Sat May 07, 2005 10:33 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]
 
pdoobepd







PostPosted: Sat May 07, 2005 10:36 pm Reply with quote

Thanks I got it already LOL took some hunting pecking and playing around but got it.

Thanks again for your help Raven. I'm sure you'll be hearing back from me the next time I screw up LMAO

Thanks
Ging...
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

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 ©