Neverending membership
« on: October 22, 2013, 05:43:22 PM »
How do membership to never expire? Now i have set for 999 days but i would like to always open to all members.
My website http://thelove.pl/

*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: Neverending membership
« Reply #1 on: October 23, 2013, 01:33:39 AM »
Hi Antares,

Nice website template.
Now that you have set it to 999 days all new members will have the 999 days membership.

To extend this to 20 years you have to edit the lang_main.php of you language being used and change the code as below.
Find this line:
Code: [Select]
$lang['activedays_array'] = array('1'=>'1','7'=>'7','30'=>'30','90'=>'90','180'=>'180','365'=>'365','999'=>'999' );
Change to:
Code: [Select]
$lang['activedays_array'] = array('1'=>'1','7'=>'7','30'=>'30','90'=>'90','180'=>'180','365'=>'365','7300'=>'7300' );
Go back into admin, go to manage language and reload the language file that you use to reflect the changes.
Then go to Manage Membership and check the 7300 days is showing in the free membership.

After this check the dates on you members profiles, if they have only a few years, tick them and then click activate again to make the changes. If membership has expired, tick and change the membership.

For the ones that have already signed up, you need to go into the admin then Member profiles, select all of them and click activate this will change the date to the 999 days or 7300 days time.

All free members will now have a 20 Year Membership.  ;)

PS: The 999 days already adds about 20 years, the changes I did just make it look correct.

How do membership to never expire? Now i have set for 999 days but i would like to always open to all members.


My website http://thelove.pl/
« Last Edit: October 23, 2013, 02:05:46 AM by Pharg »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: Neverending membership
« Reply #2 on: November 27, 2013, 09:59:24 AM »
Hi Antares,

Nice website template.
Now that you have set it to 999 days all new members will have the 999 days membership.

To extend this to 20 years you have to edit the lang_main.php of you language being used and change the code as below.
Find this line:
Code: [Select]
$lang['activedays_array'] = array('1'=>'1','7'=>'7','30'=>'30','90'=>'90','180'=>'180','365'=>'365','999'=>'999' );
Change to:
Code: [Select]
$lang['activedays_array'] = array('1'=>'1','7'=>'7','30'=>'30','90'=>'90','180'=>'180','365'=>'365','7300'=>'7300' );
Go back into admin, go to manage language and reload the language file that you use to reflect the changes.
Then go to Manage Membership and check the 7300 days is showing in the free membership.

After this check the dates on you members profiles, if they have only a few years, tick them and then click activate again to make the changes. If membership has expired, tick and change the membership.

For the ones that have already signed up, you need to go into the admin then Member profiles, select all of them and click activate this will change the date to the 999 days or 7300 days time.

All free members will now have a 20 Year Membership.  ;)

PS: The 999 days already adds about 20 years, the changes I did just make it look correct.

How do membership to never expire? Now i have set for 999 days but i would like to always open to all members.


My website http://thelove.pl/

It didn't work! It only increased it to the next day

*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: Neverending membership
« Reply #3 on: January 31, 2014, 03:40:57 AM »
Hi Decryptor,

Did you setup your free membership in admin area and save the changes?

Hi Antares,

Nice website template.
Now that you have set it to 999 days all new members will have the 999 days membership.

To extend this to 20 years you have to edit the lang_main.php of you language being used and change the code as below.
Find this line:
Code: [Select]
$lang['activedays_array'] = array('1'=>'1','7'=>'7','30'=>'30','90'=>'90','180'=>'180','365'=>'365','999'=>'999' );
Change to:
Code: [Select]
$lang['activedays_array'] = array('1'=>'1','7'=>'7','30'=>'30','90'=>'90','180'=>'180','365'=>'365','7300'=>'7300' );
Go back into admin, go to manage language and reload the language file that you use to reflect the changes.
Then go to Manage Membership and check the 7300 days is showing in the free membership.

After this check the dates on you members profiles, if they have only a few years, tick them and then click activate again to make the changes. If membership has expired, tick and change the membership.

For the ones that have already signed up, you need to go into the admin then Member profiles, select all of them and click activate this will change the date to the 999 days or 7300 days time.

All free members will now have a 20 Year Membership.  ;)

PS: The 999 days already adds about 20 years, the changes I did just make it look correct.

How do membership to never expire? Now i have set for 999 days but i would like to always open to all members.


My website http://thelove.pl/

It didn't work! It only increased it to the next day
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35