• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Vip management page for PHPRetro Housekeeping

Status
Not open for further replies.
Newbie Spellweaver
Joined
Feb 8, 2009
Messages
22
Reaction score
4
The title basically says it all.. This release is a add-on page for phpretro, actually, it's housekeeping.. Using it you can add, edit or remove VIP subscriptions. This pack includes the page, new header for housekeeping, auto removing script that is included in me.php, the database table and badges that you'll need..

Placebo - Vip management page for PHPRetro Housekeeping - RaGEZONE Forums


INSTRUCTIONS ::
1. Download and extract the files contained ;
2. Place vip_manage.php into htdocs/housekeeping/ ;
3. Replace housekeeping_header.php in htdocs/templates/ with the one included in this pack ;
4. Place vip_remove.php into htdocs/ ;
5. Place the badges in your c_images/badges folder ;
6. Import vip_manage.sql into your mysql database (Note: if updating from an older version, first go to housekeeping, VIP Management, delete all subscriptions and then drop the existing table and import the new one!) ;
7. Open up me.php and place this line->
PHP:
require_once('vip_remove.php');
right under these two->
PHP:
require_once('./includes/core.php');
require_once('./includes/session.php');
;
8. Enjoy this (I hope you find awesome) add-on .

I hope I made it clear enough as this thread was written in like five minutes ;P
NOTE: Moar updates coming soon!! ;)

Cheers,
George
 
Last edited:

LMC

Experienced Elementalist
Joined
Apr 13, 2009
Messages
247
Reaction score
95
Nice, This would go well with my Daopay IPN. Ive released it, include it with your next release if you wish, if you do just make sure to give credits :)
 
Junior Spellweaver
Joined
Aug 6, 2008
Messages
148
Reaction score
48
Placebo can you code an instant VIP system for me, I'm willing to pay.

Pm me, thanks.
Tomas
 

LMC

Experienced Elementalist
Joined
Apr 13, 2009
Messages
247
Reaction score
95
Placebo can you code an instant VIP system for me, I'm willing to pay.

Pm me, thanks.
Tomas


PAypal or Daopay? Ive allready made a daopay one, its in the release section. Paypal is on the way...
 

LMC

Experienced Elementalist
Joined
Apr 13, 2009
Messages
247
Reaction score
95
Both?

Just so it's instant and not manual -.-

Well if you want daopay one you can get it now, look in to Paypal IPN. That will help with wwhat your looking for! :)
 
Skilled Illusionist
Joined
Oct 7, 2009
Messages
369
Reaction score
46
Continue that conversation using private messages and stop spamming the thread.
 
Banned
Banned
Joined
Aug 8, 2008
Messages
214
Reaction score
64
Mind uploading more mirrors such as on megaupload or rapidshare. Been having some troubles downloading from ifile. Thanks :)
 
Experienced Elementalist
Joined
Mar 26, 2008
Messages
235
Reaction score
1
yup very nice. handy and easy to use for people who cant code :)
 
Developer
Loyal Member
Joined
Jul 28, 2009
Messages
983
Reaction score
133
I'm getting 3 the same errors, if i use this.

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/diaxagam/public_html/includes/classes.php on line 546

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/diaxagam/public_html/includes/classes.php on line 546

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/diaxagam/public_html/includes/classes.php on line 546

And in classes.php on line 546 is:

}else{
$key = $keys;
require('./includes/languages/'.$GLOBALS['settings']->find("site_language").'.php');
$this->loc = array_merge($this->loc,$loc);
}
return true;
 

LMC

Experienced Elementalist
Joined
Apr 13, 2009
Messages
247
Reaction score
95
You could put something like this on the me.php page to remove there VIP if there subscription runs out:

if(date(D.M.Y) == $date_subscription) {
// Remove there VIP...
}

I know that was bland, but its easyer then using a cron for it...
 
Newbie Spellweaver
Joined
Feb 8, 2009
Messages
22
Reaction score
4
You could put something like this on the me.php page to remove there VIP if there subscription runs out:

if(date(D.M.Y) == $date_subscription) {
// Remove there VIP...
}

I know that was bland, but its easyer then using a cron for it...

Not a bad idea, but I think that it would be better to write a script that will be executed every day @ 12:00 AM.. :p Though your idea would be easier to implement.. ;) Anyways.. I'll start working on Update #1 now, and I'll post moar mirrors..

Cheers!

[EDIT]
Actually.. I'm going to use your idea.. I'm recoding the whole date part of the system now, and I have already finished recoding some key parts that will make the whole thing work a hell of a lot better.. but if someone changes poop like a users rank manually the system wont work ok with that user.. but all that will be fixed in Update #2 when I write a cron for this. And btw you can't use
PHP:
if(date(D.M.Y) == $date_subscription) {
// Remove there VIP...
}
Cause then if my subscription would expire on 08.09. and I login on 08.10. (the next day) it wouldn't remove the sub.. It's gonna be like ::
PHP:
if(date(m.y) >= $date_expires) {
// Remove there VIP...
}
;)
 
Last edited:
Status
Not open for further replies.
Back
Top