Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2009, 04:11 PM
arlecchina arlecchina is offline
Member
 
Join Date: Feb 2009
Posts: 65
Credits: 3,606
arlecchina
Default 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.
Reply With Quote
  #2  
Old 07-14-2009, 06:44 PM
SJC SJC is offline
Member
 
Join Date: Apr 2009
Posts: 118
Credits: 8,857
SJC
Default 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.
Reply With Quote
  #3  
Old 07-18-2009, 12:42 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,732
BMR777 is on a distinguished road
Default 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
Reply With Quote
  #4  
Old 07-18-2009, 01:48 PM
arlecchina arlecchina is offline
Member
 
Join Date: Feb 2009
Posts: 65
Credits: 3,606
arlecchina
Default RE: nadopt.php Access Denied Message for logged in users and guests

Thanks SJC and Brandon!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reward Message Character Count - answered, thank you! we are halloween Questions and Supports 3 09-26-2010 07:43 AM
Adopting: Access Denied? Sora Questions and Supports 3 04-02-2010 01:28 PM
Help: Change all users at once? [Answered] Magnie Questions and Supports 4 03-09-2010 10:16 AM
Access Denied :S rosepose Questions and Supports 9 05-31-2009 08:09 AM
Access Denied. Help me <3 kunaluh Questions and Supports 5 05-10-2009 08:10 PM


All times are GMT -5. The time now is 05:02 PM.

Currently Active Users: 9800 (0 members and 9800 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636