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
  #11  
Old 12-12-2012, 06:30 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 85,440
SilverDragonTears is on a distinguished road
Default

Alright, what are the shop.php edits so I can test it when I'm done?
__________________

Check out SilvaTales
Reply With Quote
  #12  
Old 12-12-2012, 06:42 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 398,885
Hall of Famer is on a distinguished road
Default

Umm it seems to me that you need to overhaul the entire shop.php page. Can you notice the differences between the two versions of shop.php from Mys v1.3.1 and v1.3.2? In Mys v1.3.2, the script checks not only if a shopname is given, but also the shoptype. You need to find a way to set up if...else statement for the shoptype, otherwise you only get itemshop.
__________________


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

Good grief. I can't do all this stuff :(
__________________

Check out SilvaTales
Reply With Quote
  #14  
Old 12-12-2012, 07:44 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 398,885
Hall of Famer is on a distinguished road
Default

I am sure you are good enough to figure these out. Are you getting some specific error messages? o_o
__________________


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

No I just don't know how to edit it.
__________________

Check out SilvaTales
Reply With Quote
  #16  
Old 12-12-2012, 09:05 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 398,885
Hall of Famer is on a distinguished road
Default

Well you just need to replace some variables native to Mys v1.3.2 by their counterparts in Mys v1.3.1. But of course, with adoptshop you need to add some new if..else statement. Can be tricky, but you shouldnt have trouble with that. The logic should be something like this:

PHP Code:
if(user is not logged into the site){
    
// show error message, it's members only.
}
elseif(
user has not requested anything){
    
// show all available shops
}
elseif(
user has requested an itemshop){
    if(
user has requested an item to purchase){
       
// validate and complete transaction
    
}
    else{
       
// shows a list of items in itemshop
    
}
}
elseif(
user has requested an adoptshop){
    if(
user has requested an adoptable to buy){]
        
// validate and complete transaction
    
}
    else{
        
// shows a list of adoptables available
    
}
}
else{
    
// access denied for invalid actions

__________________


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

I think it's just over my head at this point. Maybe I can find someone to help me at some point.
__________________

Check out SilvaTales
Reply With Quote
  #18  
Old 12-12-2012, 10:51 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 398,885
Hall of Famer is on a distinguished road
Default

I will help you with that if I have time, right now I am busy working on the GUI project for Mys v1.3.3, which will take some time.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
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
When Adding Adopt Levels Nieth Questions and Supports 3 11-27-2015 08:36 AM
Adding a Theme PokeFerno Questions and Supports 3 05-13-2014 03:47 PM
Not show shop adopts on adopt page SilverDragonTears Questions and Supports 0 08-16-2011 06:57 PM
Adopt pages, and general adopt/index page :L blondbananamix Questions and Supports 26 07-22-2011 12:12 PM
Adding adoptable >.< blondbananamix Questions and Supports 12 03-20-2011 05:29 PM


All times are GMT -5. The time now is 11:22 AM.

Currently Active Users: 1054 (0 members and 1054 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