Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
View Active Promocodes Plugin 1.1 [MAJOR BUG FIX]
Compatible With: Mysidia Adoptables 1.0 - 1.1.2
This plugin is just a simplified version of my old mod. It can be accessed through the System Settings> Plugins Menu Just upload both admcodes.php and admcodes_install.php to the main directory. Open up admcodes_install.php (YOU MUST BE LOGGED IN TO AN ADMINISTRATOR ACCOUNT FOR THE INSTALLATION TO WORK!) in your web browser. Then delete it off your server and voila Edit 1: Bugfix - The code would only show one promo code over and over again, but this fixes that :D If you already installed this addon All you need to do is replace admcodes.php (Delete if off the server and upload this copy (in the attatchments))
__________________
dasheep.tk Last edited by HIddenPanda; 01-25-2011 at 08:22 PM. Reason: Major bugfix in admcodes |
#2
|
||||
|
||||
Nicely done Panda. =D This is how Plugins should work.
__________________
Have any questions?
Feel Free to PM Me! =D What you could get with a Premium Member account. The Forum has been released! |
#3
|
||||
|
||||
Thank you :D, I was always wondering why no one ever took advantage of the Admin Control Panel Plugin page? Wasted page much?
__________________
dasheep.tk |
#4
|
||||
|
||||
No one ever knew how lol. =P
__________________
Have any questions?
Feel Free to PM Me! =D What you could get with a Premium Member account. The Forum has been released! |
#5
|
|||
|
|||
For some reason, it only loop the first promo code over and over.
Are you aware of this? |
#6
|
||||
|
||||
Quote:
You may want to replace the loop, give this a try: PHP Code:
|
#7
|
||||
|
||||
Honestly I wonder too, it may seem that most coders never really pay much attention to acp. We'd rather directly add/modify script files or mysql tables at this moment, which is another reason why acp needs a serious overhaul. It's quite meaningless if using acp does not give an edge over manipulating phpmyadmin.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#8
|
||||
|
||||
I almost never use the ACP so that's why I never discovered the plugin thing. I have started an ACP overhaul project though... >.> more or less for a commission but I can release it here too.
|
#9
|
|||
|
|||
Quote:
|
#10
|
||||
|
||||
I think I see the error...
Just replace everything on that page between the End Prepwork and Begin Template with this: PHP Code:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Promocodes can be claimed more than 1 time. | LucasA33 | Questions and Supports | 2 | 12-09-2012 01:52 PM |
I can't make my adoptables show up/active! | MintChip | Questions and Supports | 25 | 10-04-2012 09:45 PM |
Multiple Alternate Image Plugin | Kaeliah | Mys v1.2.x Mods | 40 | 03-25-2012 03:47 AM |
EpicStats Plugin [by Kae] | Kaeliah | Mys v1.2.x Mods | 9 | 04-10-2011 07:46 PM |
Admins Can View All Active Promo Codes | HIddenPanda | Mys v1.1.x Mods | 0 | 07-15-2010 06:55 PM |
What's New? |
What's Hot? |
What's Popular? |