View Full Version : Hiding the adoption ID?
Aasixx
10-26-2012, 10:41 PM
I'm trying to prevent users from cheating and I'd like to hide the adoptable IDs in the URL. How is this possible? I'd also like a sessions expiration thing, I think maybe in the doadopt.php(?) so they can't press the back button to re-adopt a certain adoptable.
Any help would be awesome. c:
Aasixx
10-29-2012, 09:33 PM
Still needing this.. :/ Any ideas on where to go about doing something like this?
Hall of Famer
10-30-2012, 02:45 AM
umm how exactly do your users manage to cheat? Are you referring to adoption or leveling-up?
To hide the adoptables ID you may be able to manipulate the url rewrite engine, although users with inspect elements can still see the adoptables ID by viewing the source html.
fadillzzz
10-30-2012, 09:05 AM
Do you mean something like my secure random adoption mod?
Also, I don't think it's possible to adopt a certain adoptable multiple times. At least not anymore.
Aasixx
10-30-2012, 03:19 PM
Do you mean something like my secure random adoption mod?
Also, I don't think it's possible to adopt a certain adoptable multiple times. At least not anymore.
Yes, that's exactly what I mean. I'm trying to have one adoptable and have it where when they adopt it, they get a random variation of that adoptable. I'm needing a secure random adoption mod, like yours.
fadillzzz
10-30-2012, 09:46 PM
Are you using the latest version of Mys? I have yet to make one that works with the latest version.
Hall of Famer
10-31-2012, 08:35 AM
Well the only thing you should change from Mys v1.2.x's random adoptables Mod is the database queries, since we are using PDO class instead of Mysql functions now.
Aasixx
10-31-2012, 09:52 PM
So, all I really need to change are the queries and it will work? And, yes, I'm using the newest version.
Hall of Famer
11-01-2012, 10:26 AM
I think so yes, although it may not be easy to find all queries to be modified in this case.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.