[SOLVED] FEU - disable expiration of users
[SOLVED] FEU - disable expiration of users
Is there a way to disable the expiration of users in the Frontend Users module?
The users must be able to login unless they have been deleted by the admin.
I'm using an somewhat older version of the FEU (1.4.4) and CMSMS (1.4.1) because i've changed a lot of core files, so upgrading is not an option for now.
But please do tell me if newer versions have this option.
The users must be able to login unless they have been deleted by the admin.
I'm using an somewhat older version of the FEU (1.4.4) and CMSMS (1.4.1) because i've changed a lot of core files, so upgrading is not an option for now.
But please do tell me if newer versions have this option.
Last edited by sn3p on Tue Sep 01, 2009 12:22 am, edited 1 time in total.
Re: FEU - disable expiration of users
Do you have a section called "Session and Cookie Settings:" in the "Preferences" tab of your FEU ? If so, it should allow you to do this. Options available are:
>
...it is true for 1.6.9 version of FEU, I don't know for the former versions.
>
...it is true for 1.6.9 version of FEU, I don't know for the former versions.
The universe of information technology is constantly growing and contains only emerging products built on successive patches
Re: FEU - disable expiration of users
Yes i've got these options and tried disabling them both, but no luck.
These options don't seem to control or affect the expiration in any way.
I did a quick search in the php files but couldn't find the expiration checks.
Any suggestions or solutions would be welcome!
These options don't seem to control or affect the expiration in any way.
I did a quick search in the php files but couldn't find the expiration checks.
Any suggestions or solutions would be welcome!
Re: FEU - disable expiration of users
And enabling them both ?
Enabled should keep your users loged in, disabled should kick them out, right ?
Enabled should keep your users loged in, disabled should kick them out, right ?
The universe of information technology is constantly growing and contains only emerging products built on successive patches
Re: FEU - disable expiration of users
Well, the expiration isn't controlled by cookies but serverside if i'm not mistaken. So these settings won't solve my problem. The cookies used for the settings you mentioned are keeping logins alive and remembering the login details.
Any other ideas?
Any other ideas?
Re: FEU - disable expiration of users
Did you read this post ? Maybe... http://forum.cmsmadesimple.org/index.ph ... _next=prev
The universe of information technology is constantly growing and contains only emerging products built on successive patches
Re: FEU - disable expiration of users
I think the OP is talking about users becoming inactive, not user sessions expiring.
I'm sure there is a way to make users permanently enabled, but why not just set the default expiration date to some date in the far distant future? (520mo is the current max)
I'm sure there is a way to make users permanently enabled, but why not just set the default expiration date to some date in the far distant future? (520mo is the current max)
Re: FEU - disable expiration of users
Thanks for the input guys!
Does anyone know in which php file the expiration check is done?
I prefer disabling the expiration instead of setting it to a date in the far future. Sometimes when a date is set, it saves as 0000-00-00 00:00:00 for some reason. If i (or my client) won't notice it the user's login will be disabled.
I could set the date in the far future, and hiding the expiration date drop-downs in admin, but that's my last option.
Still hoping there is some way to just permanently enable user logins.
Does anyone know in which php file the expiration check is done?
I prefer disabling the expiration instead of setting it to a date in the far future. Sometimes when a date is set, it saves as 0000-00-00 00:00:00 for some reason. If i (or my client) won't notice it the user's login will be disabled.
I could set the date in the far future, and hiding the expiration date drop-downs in admin, but that's my last option.
Still hoping there is some way to just permanently enable user logins.
Re: FEU - disable expiration of users
to get started, try FrontEndUsers.module.php, around line 1034
remember that edits to the source code render your site unsupportable.
remember that edits to the source code render your site unsupportable.
Re: FEU - disable expiration of users [SOLVED]
While short on time I've decided to automaticly set a date in the far future, and just hide the field in the admin.
Thanks for the suggestions!
Thanks for the suggestions!
Last edited by sn3p on Tue Sep 01, 2009 12:23 am, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: FEU - disable expiration of users
In the future please keep your 'request for help for hacked code' out of here.
a) it's hacked code, we don't know what you've done or how youve done it.
b) you were running old stuff anyways... should somebody re-install/re-configure an older version of CMS and old-version of XXXXX module just to answer your questions.
c) threads like this just serve to dilute the results that other people with more ... straight forward (for lack of a better term)... needs are searching for
d) if you're proficient enough to hack the code, your proficient enough to find answers to questions like this yourself.
a) it's hacked code, we don't know what you've done or how youve done it.
b) you were running old stuff anyways... should somebody re-install/re-configure an older version of CMS and old-version of XXXXX module just to answer your questions.
c) threads like this just serve to dilute the results that other people with more ... straight forward (for lack of a better term)... needs are searching for
d) if you're proficient enough to hack the code, your proficient enough to find answers to questions like this yourself.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.

