FEU enhanced passwords

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm
Location: Nederland

FEU enhanced passwords

Post by rooon »

Hi all,

In a fresh cmsms 2.2.16 I did add the FEU 3.2.2 module.
All works fine with 1 group, 1 user prop and 1 user.

I'm using CgBetterForms templates for the Login and Logout.

The core:page starts with

Code: Select all

{strip}{process_pagedata}

{root_url assign="root_url"}
{get_current_url assign="page_url"}
{$home = (($page_alias === "home") || ($page_url|stripos:"/index.php" !== false))}
{title assign="main_title"}
{get_parent_alias alias=$page_alias assign=parent_alias}

{cms_module_hint module=FrontEndUsers logintemplate='App Login Form'}
{cms_module_hint module=FrontEndUsers logouttemplate='App Logout Href'}

{$feugroup = "Buurt"}
{$username = feu_smarty::get_current_username()}
{$uid = feu_smarty::get_userid($username)}

{* other stuff *}

{share_data scope=global
vars="root_url,page_url,home,main_title,parent_alias,feugroup,username,uid, ... "}

{/strip}<!doctype html>
Next, I added these settings in config.php

Code: Select all

$feu_disable_forgotpw = true;
$feu_disable_lostusername = true;
$feu_disable_rememberme = false;
$feu_min_passwordlength = 6;
$feu_enhanced_passwords = false;
Next, I closed all browser tabs, and cleared the cache folders.
I can't figure out why these config.php settings not having effect.

Somebody can help me out with this?

Thanks, Ronald
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1786
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: FEU enhanced passwords

Post by DIGI3 »

FEU was abandoned by its author, and FEU 3 especially is very buggy. I'd recommend switching to MAMS, which is a fork of FEU 2, before you get too far in. Someone could probably help you with this issue but you'd just end up with more later.
Not getting the answer you need? CMSMS support options
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: FEU enhanced passwords

Post by velden »

Everything what DIGI3 says plus:

Config entries have another form. E.g.:

Code: Select all

$config['feu_disable_forgotpw'] = true;
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm
Location: Nederland

Re: FEU enhanced passwords

Post by rooon »

Thanks for your replies.

During installation of CMSMSExt (required for the MAMS module) there were errors.
For now I will try to write a plugin using sessions to implement a simple Front Users login form.

For the form I use BertterForms. Question: Is this module also end-of-live?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: FEU enhanced passwords

Post by Jo Morg »

rooon wrote: Wed Oct 12, 2022 9:32 am During installation of CMSMSExt (required for the MAMS module) there were errors.
Can you please elaborate? thx
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm
Location: Nederland

Re: FEU enhanced passwords

Post by rooon »

Dev on pc with Xampp for Windows, PHP 7.3.27
max_execution_time = 120 sec

I always use this in System32\drivers\etc\hosts:

Code: Select all

127.0.0.1   local.test
127.0.0.1   www.local.test
To reproduce the error I did install a new cmsms

1. Installed a fresh cmsms 2.2.16 in www.local.test/cms2test02/
2. Changed user languate from Dutch to English
3. Installed module CMSMSExt version 1.1.0.1

Result is a white page with error:

Code: Select all

Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in D:\xampp\htdocs\cms2test02\modules\CMSMSExt\lib\class.XTModule.php on line 52
Browsing back, then a white page with error:

Code: Select all

Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in D:\xampp\htdocs\cms2test02\modules\CMSMSExt\lib\class.XTModule.php on line 52
Again browsing back, then a white page with text:

Code: Select all

Notice
The versions displayed here represent the latest XML files uploaded to the CMSMS module repository. They may or may not represent the latest available versions. Additionally, the module repository may only contain modules released within the last few months

Use at Your Own Risk
The modules displayed here are contributed by both the CMSMS Developers and independent third parties. We make no guarantees that the modules available here are functional, tested, or compatible with your system. You are encouraged to read the information found in the help and about links for each module before attempting the installation.

Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in D:\xampp\htdocs\cms2test02\modules\CMSMSExt\lib\class.XTModule.php on line 52
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: FEU enhanced passwords

Post by Jo Morg »

Ah yes, you need PHP 7.4 to run the most recent versions of CMSMSExt, MAMS, etc. Even CMSMS will require PHP 7.4 as a minimum in next release. We are trying to have everything ready for at least PHP 8.0 as fast as we can, if not PHP 8.1 right away. However at that point we'll have to motivate 3rd party module developers to upgrade their modules to run in PHP 8.x too.
In any case I would go for PHP 7.4 for now on your development environment.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm
Location: Nederland

Re: FEU enhanced passwords

Post by rooon »

I did an upgrade to Xampp PHP 8.1
CmsMS seems to work fine but BetterForms doesn't work anymore.

Do you have any suggestions how to create forms? By using a certain module, or in another way?
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm
Location: Nederland

Re: FEU enhanced passwords

Post by rooon »

On a Win Xampp platform with PHP 8.1
- BetterForms does not work anymore :(
- FormBuilder not having the features I would like.
- SmartForms seems to be the "new" BetterForms but after installing it gives this error

Code: Select all

Fatal error: Uncaught TypeError: CMSMSExt\XTModule::find_module_file(): Return value must be of type string, none returned in D:\xampp\htdocs\bvcms\modules\CMSMSExt\lib\class.XTModule.php:1964 Stack trace: #0 D:\xampp\htdocs\bvcms\modules\CMSMSExt\CMSMSExt.module.php(472): CMSMSExt\XTModule->find_module_file('js/common.js') #1 D:\xampp\htdocs\bvcms\admin\moduleinterface.php(79): CMSMSExt->GetHeaderHTML('defaultadmin') #2 {main} thrown in D:\xampp\htdocs\bvcms\modules\CMSMSExt\lib\class.XTModule.php on line 1964
Post Reply

Return to “Modules/Add-Ons”