#1
|
|||
|
|||
Promo And Banning
When i change the value to all in the user field this is what happens :
It Bans Me. When the value is blank in the user field this is what happens : Now when i go to manage my adoptables, ie. Articuno. See what it shows : Also when i visit the item shop this is what it displays : Please Help Me Fix This ... Last edited by Alaric; 04-20-2012 at 06:49 AM. |
#2
|
||||
|
||||
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...
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
|||
|
|||
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 Last edited by Alaric; 04-20-2012 at 08:09 AM. |
#4
|
||||
|
||||
Well the file is class_promo.php, you can find it inside the folder called /classes.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
|||
|
|||
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. Last edited by Alaric; 04-20-2012 at 08:24 AM. |
#6
|
||||
|
||||
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.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Promo Codes | SilverDragonTears | Questions and Supports | 2 | 06-30-2012 01:22 PM |
Pound.php Banning Users!!! | Alaric | Questions and Supports | 5 | 12-23-2011 01:40 AM |
promo codes | maximillion | Questions and Supports | 5 | 07-05-2011 06:28 PM |
1 Promo per person | Xius | Questions and Supports | 4 | 09-21-2009 05:55 PM |
banning and available email address | zhiichiro | Suggestions and Feature Requests | 4 | 04-06-2009 06:02 PM |
What's New? |
What's Hot? |
What's Popular? |