![]() |
Promo And Banning
When i change the value to all in the user field this is what happens :
It Bans Me. http://i40.tinypic.com/es5jrb.png http://i41.tinypic.com/2ef6e5w.png When the value is blank in the user field this is what happens : http://i40.tinypic.com/2j0fivc.png http://i44.tinypic.com/20urcyx.png Now when i go to manage my adoptables, ie. Articuno. See what it shows : http://i41.tinypic.com/6zafl5.png Also when i visit the item shop this is what it displays : http://i40.tinypic.com/2di4qpz.png Please Help Me Fix This ... |
First of all, the script recognizes 'all' as a user, and of course you'd be banned if the script believes you are entering a promocode that belongs to the user 'all'. This is not a bug.
Indeed, the script currently does not handle public promocodes. You may call this one as a minor glitch if you want to, and a simple fix has been proposed and is working nicely, check out this thread for more details: http://www.mysidiaadoptables.com/for...?t=3580&page=2 And again do not post things like 'Please Help Me Fix This' if you claim to be advanced programmer. Like I said before, advanced programmers fix problems on their own... |
Which php file should i edit?
Is it the adopt.php in the admincp subdirectory? EDIT : Ok i got what to edit classes/class_promo.php |
Well the file is class_promo.php, you can find it inside the folder called /classes.
|
I already fixed it, see the above post.
How can i make the limit to adopt each promo like only 1 promo adoptable per user. |
Well at this point the best thing you can do is to create promocode for each user and specify the quantity to be 1. Another possibility is to add a 'checker' to the promo.php page so that the user cannot use promocode again if he/she has more than one of the specific adoptable/item.
|
All times are GMT -5. The time now is 03:56 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.