[SOLVED] FEU - disable expiration of users

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

[SOLVED] FEU - disable expiration of users

Post by sn3p »

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.
Last edited by sn3p on Tue Sep 01, 2009 12:22 am, edited 1 time in total.
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

Re: FEU - disable expiration of users

Post by seensite »

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.
The universe of information technology is constantly growing and contains only emerging products built on successive patches
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

Re: FEU - disable expiration of users

Post by sn3p »

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!
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

Re: FEU - disable expiration of users

Post by seensite »

And enabling them both ?
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
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

Re: FEU - disable expiration of users

Post by sn3p »

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?
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

Re: FEU - disable expiration of users

Post by seensite »

The universe of information technology is constantly growing and contains only emerging products built on successive patches
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: FEU - disable expiration of users

Post by jmcgin51 »

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)
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

Re: FEU - disable expiration of users

Post by sn3p »

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.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: FEU - disable expiration of users

Post by jmcgin51 »

to get started, try FrontEndUsers.module.php, around line 1034

remember that edits to the source code render your site unsupportable.
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

Re: FEU - disable expiration of users [SOLVED]

Post by sn3p »

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!
Last edited by sn3p on Tue Sep 01, 2009 12:23 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: FEU - disable expiration of users

Post by calguy1000 »

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.
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.
Post Reply

Return to “Modules/Add-Ons”