![]() |
Donations Bug
(Sorry if this is posted in the wrong place! ^^;)
I've noticed a small bug when editing my site. On the donate.php page, if you enter your own username and a cash amount (for instance, 1,000 of the site currency), it will give you that cash amount without first subtracting it from your total amount. So, for example, if the user has 1,000 cash, they could enter their own username and 'donate' 500 cash to themselves. Instead of still having 1,000 cash, they now have 1,500 cash. |
umm interesting, I never checked this but it could be true. Are you sure this is affecting Mys v1.3.3 and the earlier versions?
|
I just tested it, running 1.3.3 and tried donating 200 currencies to myself. I had 435 currencies before 'donating' and ended up with 635 afterwards, so it is affecting 1.3.3!
|
That is a big problem! I guess I should wait until the new update after all so this will be fixed :)
|
I see, so this has been confirmed to be a glitch. I am terribly sorry about it, will post a fix for the problem in 1-2 days. Shouldnt be difficult though.
|
Here is a simple fix, try it if you are interested. Just copy/paste whatever is inside the code block to your donate.php file, make sure to overwrite the old contents:
PHP Code:
|
Tested it HoF, and it's working as it ought to be now, thank you!
Hope you're doing well, by the way. |
You are very welcome, glad it worked. I am a bit sick lately, but will get better soon. ^^
|
Um, is that fix for the newest coding? Because its not working on mine at all lol... And the coding looks different. Is there any chance of a fix for Mysidia Adoptables v1.3.2? ^_^' Or shall I just disable it?
|
I replaced my donate.php with that and it worked perfectly. Thanks a bunch! :D
|
Glad it works for you Pachoofoosh. And Ruinily, this simple fix above was for Mys v1.3.3. Are you saying that this glitch is also present for Mys v1.3.2? Or are you talking about another issue irrelevant to this topic?
|
Yeh I thought it was for Mys v1.3.3 And yes I just tested it and I got an extra 100 added to my own account. Is there any chance theres a simple fix for 1.3.2 too? ^_^'
|
I think so yes, I will take a look into how to fix it for Mys v1.3.2 later.
|
Thanks, sorry for being a pest. ^_^'
And I hope you're feeling better! |
All times are GMT -5. The time now is 06:20 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.