![]() |
Adding in Adopt Shop
Help HoF :D
|
Well first of all have you reverted all the way back to your old Mys v1.3.1 code? If so, import the files class_adoptshop.php from Mys v1.3.2, and make a few edits. I will show you how to do that. In your shop.php, you will need to add some new code too to enable adoptables shop.
|
Yes I'm ready to make the edits to class_adoptshop. Do I use the new shop.php or the old one?
|
You can use the old one, just need to add about one or two more elseif statement, since the adoptshop will show up on the same page as itemshop. I rename it as market place in Mys v1.3.2, since its not basically only itemshop now.
|
Ok ready then.
|
Alright, good luck on that. Like I pointed out in the Official release thread, you need to replace certain variables in Mys v1.3.2 by their equivalent forms in Mys v1.3.1. It shouldnt be hard to accomplish, just a bit tricky if you ask me. Lemme know if you encounter any issues or still dont know what you are supposed to do.
|
I still don't know, lol. I was thinking you were going to tell me what to replace with what. Hahahaha
|
I thought I showed you how to replace variables to be Mys v1.3.1 compatible here:
http://www.mysidiaadoptables.com/for...2&postcount=65 Please give a try and see how far you can go. If you are still struggling to get this right, just post the adoptshop class file and I will show it to you. |
What is this??
Code:
$mysidia = Registry::find("mysidia"); |
Well this is a mysidia object stored in Registry, which means it can be retrieved and used anywhere so long as you have access to Registry. You dont need that line, just get rid of it and you will be fine.
|
All times are GMT -5. The time now is 05:41 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.