@ Kalle : Forget my last post. I can reproduce your issue now and I'll fix it as soon as possible ;-)
Offline
Hi Kalle,
I've fixed the issue with the use of regex meta-characters in characters exclusion : [Bugtracker] ticket 2749
If you don't want to wait the next release to checkout this fix, you can modify the files yourself by following these steps :
1/ Use FTP to download the file ../plugins/UserAdvManager/include/functions.inc.php from your online host to your local drive
2/ Edit the downloaded file - Don't use Windows notepad or other rich text editor like Word ! - Use Notepad++
3/ Go to line 2369, containing :
$pattern = '/'.$conf_CharExclusion[$i].'/i';
4/ Replace this line content by :
//Detect meta-characters (# ! ^ $ ( ) [ ] { } ? + * . \ -) for special pattern
if ($conf_CharExclusion[$i] == "#"
or $conf_CharExclusion[$i] == "$"
or $conf_CharExclusion[$i] == "!"
or $conf_CharExclusion[$i] == "^"
or $conf_CharExclusion[$i] == "*"
or $conf_CharExclusion[$i] == "?"
or $conf_CharExclusion[$i] == "+"
or $conf_CharExclusion[$i] == "."
or $conf_CharExclusion[$i] == "\\"
or $conf_CharExclusion[$i] == "|"
or $conf_CharExclusion[$i] == "["
or $conf_CharExclusion[$i] == "]"
or $conf_CharExclusion[$i] == "("
or $conf_CharExclusion[$i] == ")"
or $conf_CharExclusion[$i] == "{"
or $conf_CharExclusion[$i] == "}"
or $conf_CharExclusion[$i] == "-")
{
$pattern = '/[][^$.\*+?(){}#|-]/i';
}
else
{
$pattern = '/'.$conf_CharExclusion[$i].'/i';
}5/ Save the file and send it back on your online host - Replace the existing ../plugins/UserAdvManager/include/functions.inc.php file
And that will rock ! ;-)
Last edited by Eric (2012-09-22 16:54:34)
Offline
New 2.41.0 version of UserAdvManager is available!
This release was made with the help of flop25 who I want to thank for his great job and his excellent advice :-)
- [Bugtracker] ticket 2741
- [Bugtracker] ticket 2744
- [Bugtracker] ticket 2745
- [Bugtracker] ticket 2749
- New unvalidated user controls are more efficient
- rejected.php, ConfirmMail.php, GT_del_account.php and USR_del_account.php (and associated templates)are no more used. All messages are displayed on Piwigo's main page
- New simplifed administration panel (thx to flop25 who made a great work!)
- Update es_ES, thanks to : jpr928
- Update el_GR, thanks to : bas_alba
- Update lv_LV, thanks to : agrisans
- Update de_DE, thanks to : Yogie
- Update it_IT, thanks to : salvatore
Last edited by Eric (2012-10-05 22:17:18)
Offline
Hi. Thanks for update. Like the new panels very much.
One question: where do I make user e-mail address mandatory? Since I manually approve all registrations, I can only delete registration requests where user does not give an e-mail address.
Offline
Hi JJF,
Email mandatory is a Piwigo option, not an UAM one ;-)
Have a look in admin panel > Configuration > Options
Offline
thanks, Eric. I'm chagrinned by my stupid question.
Offline
JJF wrote:
thanks, Eric. I'm chagrinned by my stupid question.
Don't worry about that. There are no stupid questions but only stupid answers ;-)
Offline
The UserAdvManager Plugin Configuration allow to change the Text of the eMail for "Customize lost password email content", but how to do it for different Languages? Because of not understanding the german translation, I changed my language to English UK, but the text in the configuration is always german.
Last edited by Kalle (2012-10-14 19:52:59)
Offline
Hi Kalle,
The "multiple language" contents are set by [extension by Piwigo Team] Extended Description. You have to install and activate this extension in addition of UAM to be able to use [lang] tags.
Please check the online help of [extension by Piwigo Team] Extended Description to know more about the use of [lang] tags.
Offline
Hi Eric,
I just installed your plugin in my piwigo website ... no all accounts are blocked and I have no access to my website anymore ... any hints? I'm quite sure it was your plugin that caused this ... I didn't do anything else ...
regards,
Martin
Offline
Eric wrote:
- Go in your #_config table
- Edit the "UserAdvManager" parameter value
- Find the stringCode:
i:39;s:4:"true"- Replace this string - and only this string ! - with
Code:
i:39;s:5:"false"- Save and try to acces your gallery
sorry for posting so fast ... but I could resolve it (I tried this before but I forgot to save the file (shame oon me) ... it works now.
I don't really know what happened here but I uninstalled the extension ... maybe you have a fix sometimes? To be locked out as an administrator is not that funny :)
Offline
did you enabled the "Confirmation of registration for admins"?
Offline
Hi,
I tried to reproduce the issue with "Confirmation of registration for admins" but no success.
@ Huch : Are you using the latest version of UAM ?
Offline
Hi Eric,
I have had the same problem. I am using version 2.41.2 of UAM and Piwigo 2.4.6.
Each time I have set the following:
UAM Plugin config>Confirmations of registration>Confirmation of registration: >Enable - Confirmation by admin.
All current/existing accounts including the original "admin" account get locked out and I must edit the config table>edit UserAdvManager>i:39;s:4:"true" to "false", then i can login as admin although the page title/header is all stuffed until I restore defaults for the UAM plugin.
Eric wrote:
Hi,
I tried to reproduce the issue with "Confirmation of registration for admins" but no success.
@ Huch : Are you using the latest version of UAM ?
FYI "Confirmation of registration for admins" has nothing to do with it.
Workaround:
After setting the UAM "Enable - Confirmation by email" open a new browser window visit your site and register a new user, validate the user via the email to the admin, then go back to the original browser windows that is still logged in as admin and make the new user an admin. BINGO your new user is allowed to login and is an admin.