Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   nadopt.php Access Denied Message for users/guests [ANSWERED] (http://www.mysidiaadoptables.com/forum/showthread.php?t=993)

arlecchina 07-14-2009 04:11 PM

nadopt.php Access Denied Message for users/guests [ANSWERED]
 
When logged in users go to nadopt.php they see the home page without any bbcode formatting.

However when a guest goes to nadopt.php they get a message saying access denied.

Is this normal or have I messed something up.

I would like logged in users (who are not admins) and guests to both see an "access denied" message if they accidentally stumble upon the nadopt.php page.

EDIT: This also happens with newlevelpost.php.

SJC 07-14-2009 06:44 PM

RE: nadopt.php Access Denied Message for logged in users and guests
 
Dont worry, thats normal :). I never noticed that, but I tried it on my website and the same happened for me.
And I will have to look into the access denied message for users.

BMR777 07-18-2009 12:42 PM

RE: nadopt.php Access Denied Message for logged in users and guests
 
Those files shouldn't really be accessed unless the user is an admin. To fix the message logged in users see you can try finding in the file:

PHP Code:

$pagecontent getsitecontent("index");
$article_title $pagecontent[title];
$article_content $pagecontent[content];
$article_content nl2br($article_content); 

Replace With:

PHP Code:

$article_title "Your Title Here";
$article_content "Your content or error message here."

:)

Brandon

arlecchina 07-18-2009 01:48 PM

RE: nadopt.php Access Denied Message for logged in users and guests
 
Thanks SJC and Brandon!


All times are GMT -5. The time now is 06:02 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.