![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
This mod is intended for people who already or wanted to have a random adoption process on their adoptables site.
This mod will use Session Value instead of the GET method to transfer the id of an adoptables from adopt.php to doadopt.php That way people won't be able to manipulate the id of an adoptables to another id to get the adoptables they want. You can use POST method but they can change it using the text editor. So with this mod, they have no idea how to do that. NOTE:Please make a backup of your files before installing this mod! Now, let's move on! 1. Open your adopt.php file, on line 2 just below the PHP Code:
PHP Code:
Go to line 86, replace this code PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
1. Open your doadopt.php, on line 2 just below the PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
4. And then before this PHP Code:
PHP Code:
NOTE:Don't forget to edit the "Enter error message here" text That's it you're done! Now people will completely get unchangeable random adoptables! If there's any error you encounter after installing this mod, please let me know! (This is my first mod) Last edited by fadillzzz; 01-28-2011 at 12:10 PM. |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adoption Problems | Kamalya | Questions and Supports | 8 | 01-27-2013 01:15 PM |
Secure Random Adoption V2 | fadillzzz | Mys v1.2.x Mods | 7 | 02-28-2012 01:57 PM |
Random Adoption | nitrogen | Questions and Supports | 4 | 05-10-2009 09:10 AM |
Random 5 is not realy random! | RipJawWolfFang | Questions and Supports | 9 | 04-30-2009 06:03 AM |
What's New? |
What's Hot? |
What's Popular? |