![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
I've had a number of users find it very annoying when they refresh the adoption page and accidentally adopt a duplicate. Is there a way to add a confirmation pop up before the page runs any php? That way if the user refreshes they will realize it's about to create another adoptable and opt out.
This would be particularly useful for anyone running a store script on their site. :) |
#2
|
||||
|
||||
![]()
Usually any stored data in a form, will make it so that your browser (If it is up to date, within a couple months or so) will automatically pop up with a warning box with a message. (I dont know the exact wording) but it will say something like, "would you like to enter this data again?" It will then give you a "Resend" button and a "Cancel" button.
So.. yeah.. Or they could always use the simplistic way around that, and click the link given to them after they adopt a pet, that leads them back to the main page of the adoption page. |
#3
|
|||
|
|||
![]()
^
Mine has that. I don't know if this would work, but you could always add a redirect to a page that says "Adopted Successfully" or something which has no dangerous code. I'm pretty sure (with a basis on rosepose's site [When you click an adoptable, it levels up on solaria.com then auto-redirects to solaria.net]) that it runs the php code (meaning the adoptable would be bought/adopted) then auto-redirects to the page which has no dangerous code. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pounding/adopting... maybe bug? not sure... | Mortain | Questions and Supports | 2 | 12-02-2015 05:22 AM |
Limit at adopting | kristhasirah | Questions and Supports | 1 | 11-30-2012 02:55 AM |
Adopting not working | StarGirl | Questions and Supports | 7 | 03-07-2012 12:52 AM |
Trying to fix up adopting layout | Kyris | Questions and Supports | 4 | 01-28-2011 10:23 AM |
Window PC to Virtual Machine Conversation | mojarlets | Other Chat | 0 | 12-22-2009 03:05 AM |
What's New? |
What's Hot? |
What's Popular? |