PDA

View Full Version : Show Expiration Date in Subscription Manager List


Amzadi
07 Mar 2004, 05:58
This will show you the expiration date right beside the start date on the Paid Subscription Manager list. See what it will look like in the attached jpg. Tested and working on VB3 RC4. I created this because I got sick and tired of clicking edit on each subscription to see the darn dates. You can also make a print out of the list now and see who has what and for how long. Feel free to PM me if you have any questions.

Time to Install: 1 minute
Changes to 1 PHP file only! No template or database modifications.

Step 1: FIND in AdminCP/Subscriptions.php


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


- Replace with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


This extends the cells 1 column and adds the additional field.

Step 2: FIND in AdminCP/Subscriptions.php (same file a couple lines down)


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


- Add the following below it


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



YOU'RE DONE!!!

Andreas
07 Mar 2004, 06:11
Nice one!

But you forgot one instruction:

Step 1a: FIND in admincp/subscriptions.php


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



- Replace with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



/me clicks install

Amzadi
07 Mar 2004, 06:32
Duh! I was in such a hurry to get the format right, I forgot to add that line. Nice catch, I edited the original install script they way it should have read. :)

Boofo
07 Mar 2004, 06:39
Excellent little idea! Thank you, sir. ;)

gmarik
07 Mar 2004, 11:33
good one

Koutaru
07 Mar 2004, 17:59
Thanks for this ;) Installing..

UDPride
07 Mar 2006, 07:04
This doesnt seem to work in 3.5.x

I got a date of 1/1/1970 for an expiration date for my one subscription. Hmm.

I wish subscriptions had much better accounting tools than it does. Anyone?