•  » Extensions
  •  » [Plugin] UserAdvManager (UAM)

#166 2012-09-21 21:31:34

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [Plugin] UserAdvManager (UAM)

@ Kalle : Forget my last post. I can reproduce your issue now and I'll fix it as soon as possible ;-)

Offline

 

#167 2012-09-22 16:53:54

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [Plugin] UserAdvManager (UAM)

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 :

Code:

$pattern = '/'.$conf_CharExclusion[$i].'/i';

4/ Replace this line content by :

Code:

        //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

 

#168 2012-09-22 19:42:02

Kalle
Member
2012-08-17
89

Re: [Plugin] UserAdvManager (UAM)

Thank you, it rocks.

Offline

 

#169 2012-10-05 22:16:48

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [Plugin] UserAdvManager (UAM)

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

 

#170 2012-10-06 03:12:02

JJF
Member
2011-10-06
124

Re: [Plugin] UserAdvManager (UAM)

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

 

#171 2012-10-06 11:13:25

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [Plugin] UserAdvManager (UAM)

Hi JJF,

Email mandatory is a Piwigo option, not an UAM one ;-)
Have a look in admin panel > Configuration > Options

Offline

 

#172 2012-10-07 04:42:31

JJF
Member
2011-10-06
124

Re: [Plugin] UserAdvManager (UAM)

thanks, Eric. I'm chagrinned by my stupid question.

Offline

 

#173 2012-10-07 12:36:17

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [Plugin] UserAdvManager (UAM)

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

 

#174 2012-10-14 19:32:35

Kalle
Member
2012-08-17
89

Re: [Plugin] UserAdvManager (UAM)

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

 

#175 2012-10-14 21:00:37

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [Plugin] UserAdvManager (UAM)

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

 

#176 2013-01-01 22:50:32

huch
Member
2012-07-20
4

Re: [Plugin] UserAdvManager (UAM)

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

 

#177 2013-01-01 23:17:40

huch
Member
2012-07-20
4

Re: [Plugin] UserAdvManager (UAM)

Eric wrote:

- Go in your #_config table
- Edit the "UserAdvManager" parameter value
- Find the string

Code:

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

 

#178 2013-01-02 12:07:11

flop25
Piwigo Team
2006-07-06
7038

Re: [Plugin] UserAdvManager (UAM)

did you enabled the "Confirmation of registration for admins"?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#179 2013-01-04 21:30:48

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [Plugin] UserAdvManager (UAM)

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

 

#180 2013-01-07 09:45:36

Protege
Guest

Re: [Plugin] UserAdvManager (UAM)

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.

 
  •  » Extensions
  •  » [Plugin] UserAdvManager (UAM)

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact