View Full Version : Donating members date
Bat21
10-28-2003, 01:30 PM
How easy would it be to have a date field showing when members donated.
On my site I have a forum sponsor user group so when someone donates they get a few extra privilages. I need to somehow show the month they donated... this would then help to 'jog' their memory as it is an anual subscription.
Has this already been done?
Sephiroth 9999
10-28-2003, 03:20 PM
Don't ask me how to do this exactly, but off the top of my head it wouldn't be too hard. You'll just need to make use of the PHP date() function and blend it in with the donation script. Then you'd add a new DB table, and store the date there.
From there you can simply use a query to access and display the date in any script you want. =) Maybe in global.php so it's accessable forum-wide. If you're an intermidiate PHP/MySQL coder this shouldn't be too hard, unless there's something else I don't know about. (I haven't looked at the donation script code you see. :o)
Bat21
10-28-2003, 06:21 PM
Cheers Dude, my problem is I know Jack Schit about coding with PHP, I'm ok when it comes to applying a pre made hack but, thats about it :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.