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 12-25-2011, 02:06 AM
Alaric Alaric is offline
Mod
 
Join Date: Nov 2011
Posts: 112
Gender: Male
Credits: 312,329
Alaric is on a distinguished road
Thumbs down Adopt Center

My Adopt Center Doesn't Seem To Be Working Just After I Updated This Script http://www.mysidiaadoptables.com/for...ead.php?t=1987
What Should I Do ? No Adoptables Shows Up Nor It Let's Us Set A New Adoptable!

Regards,
Alaric
Mysidiaadoptables Member.
Reply With Quote
  #2  
Old 12-25-2011, 06:13 AM
Xhanthuine Xhanthuine is offline
Yay!
 
Join Date: Oct 2011
Posts: 32
Gender: Unknown/Other
Credits: 4,364
Xhanthuine is on a distinguished road
Default

Well, it's because that mod is only compatible with the Mys V1.2.x script. And since your site is using the Mys V1.3.x script, the mod won't work on your site.
__________________
]
Reply With Quote
  #3  
Old 12-25-2011, 05:34 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: 327,582
Hall of Famer is on a distinguished road
Default

Quote:
Originally Posted by Xhanthuine View Post
Well, it's because that mod is only compatible with the Mys V1.2.x script. And since your site is using the Mys V1.3.x script, the mod won't work on your site.
Well Mys v1.3.0 has yet to be released, you cant possibly using Mys v1.3.x script.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #4  
Old 12-25-2011, 08:06 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 31,875
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

The difference may have been from 1.2.2 to 1.2.3 though. =/ Code changes are tricky when updates change the codes as well. It would seem this modification is out of date.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #5  
Old 12-26-2011, 02:05 AM
Alaric Alaric is offline
Mod
 
Join Date: Nov 2011
Posts: 112
Gender: Male
Credits: 312,329
Alaric is on a distinguished road
Default Adopt Center

Can Someone Helpfully Help Me With This Script Then? Or Should I Remove It!
Reply With Quote
  #6  
Old 12-26-2011, 02:07 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 31,875
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Unless you have significant PHP knowledge, I would suggest removing it and contacting the person who made it to see if they'll update it. You could also try re-installing it incase you just didn't install it properly the first time.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #7  
Old 12-26-2011, 02:35 AM
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: 327,582
Hall of Famer is on a distinguished road
Default

Well I believe Fadillzzz was the one who designed this script? Send him a message and he will reply to you when he visits again(could be soon, or a few days later if hes on Christmas Vacation).
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #8  
Old 12-26-2011, 03:03 AM
Alaric Alaric is offline
Mod
 
Join Date: Nov 2011
Posts: 112
Gender: Male
Credits: 312,329
Alaric is on a distinguished road
Default

As You See Here http://www.mysidiaadoptables.com/for...ead.php?t=1987 see step 6 below:

6. Now, to prevent some users from cheating. Open your doadopt.php, we'll just do a slight query modification.

Find this query

PHP Code:
$query = "SELECT * FROM ".$prefix."adoptables WHERE id='$id'";

replace that query with this one

PHP Code:
$query = "SELECT * FROM ".$prefix."adoptables WHERE id='$id' AND whenisavail = 'promo'";

We just restricted the doadopt.php file to only work with adoptables with promo code.



The code is different in MYS V.1.2.4 which i use see below:
PHP Code:
$query = "SELECT * FROM {$prefix}adoptables WHERE id={$id}";
So Now What Should I Do Here To This Script?

Last edited by Alaric; 12-26-2011 at 04:50 AM.
Reply With Quote
  #9  
Old 12-26-2011, 02:49 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 31,875
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Try:

$query = "SELECT * FROM {$prefix}adoptables WHERE id={$id} AND whenisavail='promo'";
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #10  
Old 12-26-2011, 02:49 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 31,875
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Try:

$query = "SELECT * FROM {$prefix}adoptables WHERE id={$id} AND whenisavail='promo'";
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
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
Adoptables not in Adopt Center? AlexC Questions and Supports 6 04-09-2012 10:05 AM
Adopt pages, and general adopt/index page :L blondbananamix Questions and Supports 26 07-22-2011 12:12 PM
Newcomer Center Rules alonaria Newcomer Center 0 04-02-2011 03:58 PM
Is it possible not to display the species name of the adoptable in adopt center? Hall of Famer Questions and Supports 3 03-07-2010 06:54 PM
2 - column on Adopt page and my Adopt page? SieghartZeke Questions and Supports 2 10-12-2009 02:58 PM


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

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