Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
brentnhunter
Client



Joined: Sep 10, 2004
Posts: 166

PostPosted: Sat Jun 18, 2005 10:39 pm Reply with quote

When someone attempts to access a module on my site without logging in as a registered member, they get the following error message:

You are trying to access a restricted area.

We are sorry, but this section of our site is for Registered Users Only.

You can register for free by clicking here, then you can
access this section without restrictions. Thanks!

[ Go Back ]


If a newbie user is already registered and is simply not logged in to my site, this is a very confusing message. I would like to modify this error message. I've searched through my php-nuke files for the search string "this section" and didn't find any file that contained it. Does anyone know what I need to do to modify this error message?

Thank you,

Brent Hunter
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Jun 18, 2005 11:25 pm Reply with quote

language/lang-english.php
Code:
define("_MODULEUSERS", "We are Sorry, but this section of our site is for <i>Registered Users Only.</i><br><br>You can register for free by clicking <a href=\"account-new_user.html\">here</a>, then you can<br>access this section without restrictions. Thanks.<br><br>");


If you are using MS Search facility, it will not search php files correctly (and many other types). There is a fix but I dont remember where. Sorry.
 
View user's profile Send private message
brentnhunter







PostPosted: Sun Jun 19, 2005 12:01 am Reply with quote

Awesome, thank you!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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 ©