![]() |
Pet Sorting
Pet Sorting mod (Mys 1.3.4)
Description: A non-invasive and minimal mod that allows users to sort their pets according to total clicks, gender, level, and name; without the use of javascript or ajax. This can easily be extended on to allow more sorting options as well (like species). ![]() -Step 1- Go into phpMyAdmin and add a new column in users_options: http://www.clipular.com/c/5606370570...lPiHD09hlImMV0 -Step 2- Open up myadopts.php and replace the entire public function index with this: PHP Code:
Finally, open myadoptsview.php and place this wherever you want the dropdown to be (I placed it above the table for adopts) PHP Code:
![]() (Also if anyone knows how to safely place the button next to the dropdown box that would be great!) |
Yay mod XD I also added a new option to mine at the top that says 'Select an option...' and instead of making it throw an error I made it set the users sort to the default (clicks). That way it's like a reset button and is basically a blank option XD Purely for aesthetic reasons lol If it resets what they had before then they were probably trying to change it anyway, so.. XD
|
This is splendid, easy to edit, and simple to set up!!
Thank you very much for sharing, it is definitely a feature users appreciate! |
Ah.. this is GREAT !! thank you Dinocanid ! :smile::smile::smile:
|
Late to the game but very nice Mod, have it installed and working, thank you!!
|
All times are GMT -5. The time now is 10:39 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.