| View previous topic :: View next topic |
| Author |
Message |
djones
Joined: 20 Jun 2008 Posts: 13
|
Posted: Jun 07, 2011 5:21 pm Post subject: Premium Auto-Set |
|
|
| I would like new users to be automatically set-up as premium. Is there a CGI setting to change or perhaps just a way to add a date which activates this premium account when a user signs up. |
|
| Back to top |
|
 |
admin Site Admin

Joined: 22 Mar 2006 Posts: 1287
|
Posted: Jun 08, 2011 1:18 pm Post subject: |
|
|
| You need to edit mysql insert query in function RegisterSave in index.cgi. You need to set usr_adm field to 1 there. |
|
| Back to top |
|
 |
djones
Joined: 20 Jun 2008 Posts: 13
|
Posted: Jun 09, 2011 6:27 am Post subject: Thanx |
|
|
| Thanx for your help |
|
| Back to top |
|
 |
admin Site Admin

Joined: 22 Mar 2006 Posts: 1287
|
Posted: Jun 09, 2011 6:37 am Post subject: |
|
|
I actually gave you wrong info this field is for admin flag.
In order to set user premium - you need to set usr_premium_expire field there. |
|
| Back to top |
|
 |
|