![]() |
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. |
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.
|
Quote:
|
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.
|
Adopt Center
Can Someone Helpfully Help Me With This Script Then? Or Should I Remove It!
|
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.
|
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).
|
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? |
Try:
$query = "SELECT * FROM {$prefix}adoptables WHERE id={$id} AND whenisavail='promo'"; |
Try:
$query = "SELECT * FROM {$prefix}adoptables WHERE id={$id} AND whenisavail='promo'"; |
All times are GMT -5. The time now is 07:46 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.