You do not have sufficient permissions to access this page.

On our website http://wisindians.com, after signing up (Facebook login) and attempting to add a listing, this message is displayed.

“You do not have sufficient permissions to access this page.”

By default every newly created user belongs to “Event Contributor” group.

The user in question is belong to “Event Contributor” group and event “Event Contributor” group has the following permissions set under “Directory Settings 2.2.3.9” page.

– View listings.

– Add listings.

– Edit listings.

– Edit published listings.

– Upload files.

Payment type is set as “Free Listing” in the setting.

Under custom press settings, for “directory_listing” post type, following were selected under “Assign Capabilities” for “Event Contributor” group

-Create listings

-Edit listings

-Edit published listings

-Publish listings

  • Arnold
    • El Macho WP

    I’m assuming by “Group” you mean “Role”. If not we may be talking at cross purposes.

    It sounds like you have it set right from the above. Can you verify the users are actually being assigned the “Event Contributor” Role? You can view it in the All Users page in admin in the column Roles.

    I note that I can’t go to the /listings/my-listings/ page. CAn you check and see if it exists in the Pages section?

    Looking at my profile, I don’t see anything under additional capabilities except create_classifieds, create_listings.

  • WISINDIANS
    • Flash Drive

    1. Yes, the new userrs are assigned “Event Contributor” and the user I am using for testing has that role.

    2. We do have Listings (http://wisindians.com/listings-2) and — My Listings (http://wisindians.com/listings-2/my-listings) pages. The base URL of the plugin is listings-2 as I already have another page with slug as “listings” for some other testing purposes

    3. In the profile other than create_classifieds, create_listings additional capabilities what else you expect to be present?

  • Arnold
    • El Macho WP

    OK that explains that problem. Starting from there I was able to go in and post a listing, upload an image etc. Did you disable the text portion of the form?

    I think not using the correct name for the archive page may be part of the problem. “Listing” is like a reserved word for handling the custom post type used.

    But I didn’t get the permission error you reported above.

  • WISINDIANS
    • Flash Drive

    Ok..I removed the old page permanently and renamed the slug of listings-2 as listings. This renamed the My Listings to http://wisindians.com/listings/my-listings

    cool ..this worked fine when I went to http://wisindians.com/listings/my-listings and create the new listing. But from the top menu New->Directory Listing, I get that same access error. May be cache of something is preventing it.

    Since one part is working now (from My Listings) it looks promising. Let me clear the cache later today and test it again.

    Ty.

  • Arnold
    • El Macho WP

    Using the New link at the top would try to go to the Admin Dashbord side of things. You have some custom Dashboard handler (Easy Blogging?) installed which is hiding the Listings and Classifieds menus so they can’t work.

    Try turning off Easy blogging and see what it does?

  • WISINDIANS
    • Flash Drive

    Hi Arnold

    Thank you for the details!

    Yes, after removing “Easy Blogging” I could see more menus on the left side bar. Classifieds and Listings have add new etc which are accessible.

    I still have the shortcuts at the top admin bar which has entry for New->Directory Listing, New->Classified. I didn’t install “Custom Admin Bar”. Then how do I remove those entries? Are they created by by Classified and Listing plugins?

  • Arnold
    • El Macho WP

    No that toolbar is standard WordPress as of version 3.3. They don’t give you a direct way to turn it off for everyone. There is a check box on each user but who wants to keep up with that.

    To disable to toolbar on the front end add the following to your theme function.php file.

    // Remove Admin Bar Front End
    add_filter('show_admin_bar', '__return_false');