Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1003495

    Hi,

    we’ve created a custom role that’s basically an exact copy of role “subscriber”. The role itself is created correctly and “can read”.
    When we visit the page with standard subscriber and use the live-search, all works fine.
    When we visit the page with the custom role the live search totally messes up, rendering a whole page in its container.

    May you please check this? I’ve added credentials for both usertypes in the private content.

    Do this with both users:

    • Visit the startpage
    • Use the live-search and enter “D-S”
    • See what happens

    Things we’ve tried:

    • Deactivate all plugins – no success
    • Finding differences in user role – none found

    Regards, rup

    #1003503

    Hey rup!

    We do not limit the ajax search to certain user roles or capabilities. We also use the wp_ajax_nopriv_(action) hook to fire the ajax call for users which are not logged in (and have no capabilities at all – see https://codex.wordpress.org/Plugin_API/Action_Reference/wp_ajax_nopriv_(action) ). I’m not aware of any limitations regarding the capabilities or user role; you can check the code in enfold\functions-enfold.php starting with line 211.

    I’d recommend to deactivate all plugins – maybe a plugin blocks the access to the ajax api. If this doesn’t help I’d recommend to stick with the default wordpress user roles or to hire someone to debug the code for you.

    Best regards,
    Peter

    #1003558

    Thank you for your reply. We found the issue, it was a redirect code in custom functions.
    *close*

    #1003566

    Hi,

    Great, glad it works now :)

    Best regards,
    Dude

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold live search not compatible with custom roles?’ is closed to new replies.