ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Membership Preferences General Configuration

July 06, 2011 7:23am

Subscribe [4]
  • #1 / Jul 06, 2011 7:23am

    PipSpratt

    23 posts

    I have a problem with giving an access to ban people for a certain Member Group. When I edit this group settings in Control Panel Administration I check:

    * Can administrate members accounts
    * Can change the group that a member is assigned to (Unlocked groups only)
    * Can administrate member profile templates
    * Can delete members
    * Can ban users

    and click Update, but then when I come back to this group settings the only checked options are:

    * Can administrate members accounts
    * Can administrate member profile templates
    * Can delete members

    In Control Panel Access I have Can access MEMBERS section set as Yes.
    WHy is it changing by itself? How to make it work?

  • #2 / Jul 07, 2011 5:01am

    John Henry Donovan

    12339 posts

    Hi PipSpratt,

    I can’t replicate this on the most current version.

    What version and build of EE are you using?
    Are you using any add-ons?

  • #3 / Jul 07, 2011 11:22am

    PipSpratt

    23 posts

    I use EE v2.2.0 and add-ons:

    File Extension Icon, Human Filesize, ImageSizer, Expresso, SafeCracker, Calendar, Channel Files, Freeform,

  • #4 / Jul 11, 2011 7:56am

    PipSpratt

    23 posts

    any thoughts ?

  • #5 / Jul 12, 2011 6:18pm

    Brandon Jones

    5500 posts

    PipSpratt,

    Was this an upgrade or a fresh install? Can you run through a quick update to 2.2.1 as well?

  • #6 / Jul 13, 2011 6:12am

    PipSpratt

    23 posts

    it was an upgrade from EE 2.x - I don’t remember what version it was before. I can’t make an upgrade now because my colleague is during training now - our client is learning how to use the website

  • #7 / Jul 14, 2011 12:49am

    John Henry Donovan

    12339 posts

    PipSpratt,

    Would there be any time, even out of office hours that the client wasn’t using the site that you could perform an upgrade?

    It would be great if we were troubleshooting from the same version of EE to rule out any already resolved bugs

  • #8 / Jul 21, 2011 7:28am

    PipSpratt

    23 posts

    Hi,

    I managed to do the update and now the banning for other Member Groups works fine. But I have another problem, when I want to open Template Manager in CP I see this error:

    “An Error Was Encountered

    The name you submitted may only contain alpha-numeric characters, underscores, and dashes Copy of addevent”

    I have no idea what happened - I changed two files: form_validation_lang.php and Form_validation.php and added my own validation rules but didn’t change anything else.

    In form_validation_lang.php I added:

    $lang['alpha_dash_plus']    = "The %s field may only contain alpha-numeric characters, spaces and - _ @ ? ! , . : ;";

    In Form_validation.php I added:

    /**
         * Alpha-numeric with underscores,dashes, !, @, % and spaces
         *
         * @access    public
         * @param    string
         * @return    bool
         */
        function alpha_dash_plus($str)
        {
            return ( ! preg_match("/^([-a-z0-9_-\s\100\041\077\041\054\056\072\073])+$/i", $str)) ? FALSE : TRUE;
        }
    
        // --------------------------------------------------------------------

    I don’t think this is the case, is it?

  • #9 / Jul 21, 2011 4:24pm

    Brandon Jones

    5500 posts

    PipSpratt,

    Are you saving templates as files by any chance? If so, is there a file in your templates folder that might have an invalid name (for a template?)

  • #10 / Jul 22, 2011 5:18am

    PipSpratt

    23 posts

    thank you Brandon, that was the case - I had “Copy of addevent.html” in one of the templates folder. I removed it and now it work properly

  • #11 / Jul 22, 2011 1:36pm

    Sue Crocker

    26054 posts

    Glad Brandon was able to help. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases