#1
|
||||
|
||||
1.3.4 - group sort
Hi together,
is there anyone with a great idea, how to sort the pets in groups ? once it gave this for 1.3.1, maybe it could be re-constructed ? http://www.mysidiaadoptables.com/for...ead.php?t=3672 |
#2
|
||||
|
||||
Well I can give you this, to simplify the database stuff at the start, but read the entire post first:
DatabaseHOWEVER, after this point there's not much I can say on the matter without understanding what the code did better. I CAN say that doadopt.php does not exist anymore, but, similar lines in similar locations do exist -- however, even though they do, it is not a line that actually needs modifying. When a pet is created, the database is automatically going to already give it a group column, and, it is going to be set the default value of zero. So no worries here, moving on-- As for myadopts.php, obviously things have changed a lot, so you cannot simply replace your entire file. I don't know what in there belonged to the original myadopts.php for v1.3.1 and what was newly added by the mod, and I'd have to compare the two to find out. Further, as of v1.3.4, pages are now controlled in a model-view-controller fashion, meaning, there are "two" files for every one page. This is mostly useful in being able to bounce form data back and forth on the "same" page. Since a form is definitely being used in this mod to create new pet groups and to manage what group you want to belong to, I'd have to study what's going and catch the data, then update the database for these form submissions. I don't have time right now, but perhaps others can take a crack at it. For the best (simple) example of how form data is being sent and collected, I'd observe how donate.php and view/donateview.php are working together to submit forms. And for further general reading on working with the framework in v1.3.4, I recommend reading this vague guide I made while helping someone once. Good luck!
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 04-19-2015 at 11:34 PM. |
#3
|
||||
|
||||
Its possible to port that mod into Mys v1.3.4 compatible version, with a little bit of coding of course.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
Oookay, I try it and if I fixed it, I will show you the success
I've modified my Mys 1.3.2, so I'm hopeful, I will solve this too. |
#5
|
||||
|
||||
HoF can you find time to work on this? My users are requesting this. I should have just downloaded an older Mys script because I am so lost with all the new coding :(
|
#7
|
||||
|
||||
Yeah I'm just totally lost with this type of coding :(
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.1 Group sort | StarGirl | Mys v1.3.x Mods | 60 | 09-17-2018 04:46 AM |
What age group do you belong to? | Hall of Famer | Other Chat | 19 | 09-28-2017 08:37 AM |
sort adoptables | Blackmagic | Questions and Supports | 3 | 12-01-2009 03:05 PM |
group | zhiichiro | Questions and Supports | 7 | 05-30-2009 07:21 PM |
Adding new user group | mugwumpr | Questions and Supports | 2 | 04-19-2009 07:02 PM |
What's New? |
What's Hot? |
What's Popular? |