1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Smilies icon missing from ACP for non-Super Administrators

Discussion in 'Resolved Bug Reports' started by Brogan, Mar 9, 2013.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    As title.

    Even with all permissions available, the Smilies icon is not present, despite the Smilies link being available in the sidebar and the ability to manage smilies.

    Super Administrator view:

    Administrator view:
    Shelley, Alien, Chris D and 1 other person like this.
  2. MattW

    MattW Well-Known Member

  3. Chris D

    Chris D XenForo Developer Staff Member

    Nicely spotted.

    There is a mistake in XenForo_ControllerAdmin_Home:

    'canManageBbCode' => $visitor->hasAdminPermission('bbcode'),
    The correct Admin Permission has an ID of "bbCodeSmilie". The above line needs to be changed to:

    'canManageBbCode' => $visitor->hasAdminPermission('bbCodeSmilie'),
    Fuhrmann, Mike, Alien and 4 others like this.
  4. Mike

    Mike XenForo Developer Staff Member

    Fixed, and good catch from Chris in tracking it down.
    Chris D and Shelley like this.

Share This Page