View Full Version : Free one month subscription
rinkrat
09-07-2005, 04:03 PM
My site has been down for a week (thanks to Dell's fine "new" server) and I'd like to welcome my subscribers back with a free month of service. My site is still offline so I can't check now, but is there an easy way to just add a month to all subscriptions?
Marco van Herwaarden
09-07-2005, 04:12 PM
Not tested (so try on testboard first) but the following might add 31 days:
UPDATE subscriptionlog SET expirydate = expirydate + 2678400;
Andreas
09-07-2005, 04:15 PM
I'd add active=1 :)
rinkrat
09-07-2005, 04:21 PM
I'd add active=1 :)
What does this mean and how do I do it?
Marco van Herwaarden
09-07-2005, 04:28 PM
It will prevent not active sub's from having the expiry date changed.
rinkrat
09-07-2005, 04:54 PM
Oh that sounds good, so how do I package it all up with the active=1 part added? I can run queries, just need to know what to type in there :)
Thanks for the help :)
saxonian
12-26-2005, 10:40 AM
Oh that sounds good, so how do I package it all up with the active=1 part added? I can run queries, just need to know what to type in there :)
Thanks for the help :)
UPDATE subscriptionlog
SET expirydate = expirydate + 2678400
WHERE active='1';
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.