![]() |
Well there is definitely no 'prefix.adoptables' in your database unless your table prefix is 'prefix'. Replace 'prefix' by whatever the table prefix is for your site, and it should work for you. For my demo site the prefix is 'adopts' or sometimes 'mys', yours may be completely different.
|
Does this code work for v1.3.4, too? o 3o
Edit: Or is there a code in the works for this to work in v1.3.4? |
It does not work with Mys v1.3.4, but I can post a solution if anyone is interested. The reason why I havent updated my mods was that the users who used to follow my plugins are no longer requesting old mods update or new mods being made. After all, whether or not will I make a mod/plugin is mostly a matter of demand. When there is no demand, I see no need to make new mods but rather work on the core script instead.
Send me a PM if you want an updated version, I may post a new thread dedicated to Mys v1.3.4's gender ratio mod if there is more than one user who asks. |
i was going to ask ^^ but i found the solution, and so far is working. At least i don't have any problems. I always try to find a solution myself before asking for help.
So this is what i did to make the mod work with the new script: instead of editing 2 files, I had to edit 3 files: /admincp/view/adoptview.php (You find the $adoptform code.) /admincp/adopt.php (where you find the: sql insertion.) And the: /classes/class_adoptable.php (which you just follow the instructions posted by HoF ^^ that's all you need to do.) That's what i did. not sure if is the correct solution, but is working. |
Yeah thats the correct steps to take Kristhasirah. If you get it to work, maybe you want to share it with other users? I wont urge you to do this though since mods/plugins are all voluntary work so its up for the users to decide whether to share or not(although there's one restriction, which I havent seen anyone reaching it yet).
|
Oh I see. The codes I tried using and editing kept giving me blank pages when I tried so thanks for posting your fix! I'll try it out that way.
|
Does it work with Mysidia 1.3.4?
|
it works you just make sure you have inserted the correct info to your table prefix.adoptables.: http://www.mysidiaadoptables.com/for...57&postcount=1
and how it shoud look: http://www.mysidiaadoptables.com/for...40&postcount=5 if you have a new install here is the page of the mod for the Mys v1.3.4: http://www.mysidiaadoptables.com/for...15&postcount=1 that have all the files needed for a fresh install. the rest of the code you need to separate it in parts: in /admincp/view/adoptview.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
after PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
All times are GMT -5. The time now is 02:39 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.