Promo And Banning

Forum
Last Post
Threads / Messages

Alaric

Member
Member
Joined
Nov 17, 2011
Messages
111
Points
16
Age
30
Mysidian Dollar
9,668
When i change the value to all in the user field this is what happens :
It Bans Me.

es5jrb.png


2ef6e5w.png




When the value is blank in the user field this is what happens :
2j0fivc.png


20urcyx.png




Now when i go to manage my adoptables, ie. Articuno. See what it shows :
6zafl5.png




Also when i visit the item shop this is what it displays :
2di4qpz.png



Please Help Me Fix This ...
 
Last edited:
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/forum/showthread.php?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
 
Last edited:
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:
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.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top