Transfer bonus points [jQuery]
4 Attachment(s)
A simple mod that allows you to send bonus points to a user with just one click.
http://s29.postimg.org/cx8slyrmf/screenshot_22.png So to use this mode, you must have registered library jQuery. Open userdetails.php and add this code in any place you want to show: PHP Code:
PHP Code:
Enjoy! |
Thank you very much for the mod, but i missing the icons.
|
Quote:
|
2 Attachment(s)
Here for all.
regards Str1k3r |
PHP Code:
Where is the jQuery.js |
It says clearly ... YOU MUST HAVE (this means that you should already have that jquery.js)
|
Quote:
|
1 Attachment(s)
This is the jQuery.js I have.
Might work for you. Would not accept it as a js file, so had to rar it. |
1 Attachment(s)
Download the attached archive and also try to insert this code in your stdhead.php file between your tags.
PHP Code:
|
Quote:
|
security bug:" $from = (int) $_POST["from"];
sql_query("UPDATE users SET seedbonus = seedbonus - '$amount' WHERE id = '$from' LIMIT 1");" lack of controll: if($from!=$CURUSER["id"]) die("Bla bla bla...Transfer from another user like You, is denied!"); Another bug was: $ammount.... $ammountarray=array("10","25","50","100"); if(!in_array($ammount,$ammountaray))die("Bla bla bla...This ammount is not allowed"); |
All times are GMT +2. The time now is 05:51. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.