|
|
#57841
07/30/2004 2:08 AM
|
Joined: Jul 2001
Posts: 12
Junior Member
|
|
Junior Member
Joined: Jul 2001
Posts: 12 |
Is it possible to have an expiration date for new members? I'd like to give a free one week trial when a member registers. If they don't pay after one week, they can't post, only view.
|
|
|
#57842
09/01/2004 5:45 PM
|
Joined: Jul 2001
Posts: 12
Junior Member
|
|
Junior Member
Joined: Jul 2001
Posts: 12 |
|
|
|
#57843
09/01/2004 6:15 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1. Disable custom title changing for Members, Junior Members and COPPA Members. 2. All your subscribed users - make them a special custom title. Then Try (untested) in ultimatebb.cgi: Find: my @temp_profile = &OpenProfile($profile_number); Add below: if (($GotTime{LastLoginJulianDATE} - &jday(split(/-/, $temp_profile[10])) > 7) && !$temp_profile[31] && $temp_profile[8] ne 'Administrator' && $temp_profile[8] ne 'Moderator') { &StandardHTML("Your trial period is over........."); }Find: Add below: if (($GotTime{LastLoginJulianDATE} - &jday(split(/-/, $profile[10])) > 7) && !$profile[31] && $profile[8] ne 'Administrator' && $profile[8] ne 'Moderator') { &StandardHTML("Your trial period is over........."); }
|
|
|
#57844
09/01/2004 6:18 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Note that the unsubscribed users, even after their trial period is over, will be shown in the Recent Visitors list (it's easy to fix it - copy the first "add below" part to right under the line which begins with "my @up", and replace "$temp_profile" with "$up"), but they shouldn't have access to do anything. Since it's untested, I recommend you to do some testings. All your administrators and moderators have permanent access (as long as they're admins or mods,) so you can't try on your own user.
|
|
|
#57845
09/05/2004 3:01 PM
|
Joined: Jul 2001
Posts: 12
Junior Member
|
|
Junior Member
Joined: Jul 2001
Posts: 12 |
Thanks. I'll have to give this a try. They can view topics but they just can't post after the trial. I will be upgrading soon to threads. I wonder if they have expiration date in that. I'll have to check. Thanks again.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 449
Joined: February 2008
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2440
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 23
|
|
|
|
|
|