Mysidia Adoptables Support Forum  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-08-2012, 08:03 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,090
Gender: Female
Credits: 25,539
SilverDragonTears is on a distinguished road
Default Allow guests to view

What changes do I need to make to allow guests to view pages but not adopt?
__________________
Reply With Quote
  #2  
Old 12-08-2012, 08:08 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: Somerville
Posts: 4,388
Gender: Male
Credits: 124,124
Hall of Famer is on a distinguished road
Default

Which version of the script are you talking about? Mys v1.3.1?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 12-08-2012, 08:11 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,090
Gender: Female
Credits: 25,539
SilverDragonTears is on a distinguished road
Default

Yes it is :)
__________________
Reply With Quote
  #4  
Old 12-08-2012, 08:16 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: Somerville
Posts: 4,388
Gender: Male
Credits: 124,124
Hall of Famer is on a distinguished road
Default

Well for whatever pages you wish to be members only, enclose the code in this format:

PHP Code:
if($isloggedin == "yes"){
    
// Code for members
}
else{
    
$article_title $accden;
    
$article_content $reqlogin;

Otherwise, you will have to remove the if-condition ($isloggedin = "yes") so that guests can view the page. One good example is levelup.php, which does not have restriction for members. Just go to whatever php files/pages you want your guests to view, remove the if/else statement to check user login. This may take a while though, considering the script disallows guests to view most content.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 12-08-2012, 08:26 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,090
Gender: Female
Credits: 25,539
SilverDragonTears is on a distinguished road
Default

So if I allow them to view the adopt and pound page they won't be able to adopt still right?
__________________
Reply With Quote
  #6  
Old 12-08-2012, 08:30 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: Somerville
Posts: 4,388
Gender: Male
Credits: 124,124
Hall of Famer is on a distinguished road
Default

This I am not quite sure, you have to give a try and see if this happens. The script was designed to block guests from viewing pages, not certain what occurs if you remove the restriction.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 12-08-2012, 08:34 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,090
Gender: Female
Credits: 25,539
SilverDragonTears is on a distinguished road
Default

works perfect. They can see them but when they click one it says they must be registered.
__________________
Reply With Quote
  #8  
Old 12-08-2012, 08:41 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: Somerville
Posts: 4,388
Gender: Male
Credits: 124,124
Hall of Famer is on a distinguished road
Default

Alright, thats good to know. Glad it works out just fine for ya.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply

Thread Tools
Display Modes

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
Simply View Pet Abronsyth Questions and Supports 2 02-06-2013 11:16 AM
Making Guests Have to Register before using Shoutbox LucasA33 Feedback and Suggestions 11 09-15-2011 04:57 PM
guests did not post in shoutbox darkenix Questions and Supports 0 06-29-2011 03:30 PM
Let Guests Change Theme AlexC Questions and Supports 5 06-23-2011 06:44 PM
let guests change theme? AlexC Questions and Supports 6 05-04-2011 08:04 AM


All times are GMT -5. The time now is 10:46 AM.

Currently Active Users: 206 (1 members and 205 guests)
Threads: 3,932, Posts: 31,331, Members: 15,516
Welcome to our newest members, Nicholas Adam.
BER





What's New?

What's Hot?

What's Popular?


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