Organiser Details not visible (disappearing)

Home Forums Calendar Products Community Events Organiser Details not visible (disappearing)

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1106224
    Phillip
    Participant

    I have a strange problem with community events.

    I have it set to not allow anonymous submissions.

    If I am logged in as an administrator when I view the community submissions page I see all the fields correctly.

    But, when I am logged in as a subscriber the Organiser detail fields appear briefly and then are removed. Checking the html and comparing it with the same page when opened as administrator the <tbody> section, present in the administrator page but not in the subscriber page.

    Also although the Event Categories options are displayed on the page for both users, they are not active i.e. cannot be selected, on the subscriber logged in page.

    #1106715
    Josh
    Participant

    Hey Phillip,

    Thanks for reaching out to us!

    Try adding the following snippet to your theme’s functions.php file to see if it helps with some of these permission type of issues:

    
    function ce_capabilities_resolution() {
    $anon_users = Tribe__Events__Community__Main::instance()->anonymous_users;
    add_action( 'tribe_events_community_form', array( $anon_users, 'add_venue_org_caps' ) );
    add_action( 'tribe_ce_before_event_submission_page', array( $anon_users, 'add_venue_org_caps' ) );
    add_filter( 'user_has_cap', array( $anon_users, 'filter_venue_org_caps' ), 10, 3 );
    }
    
    add_action( 'init', 'ce_capabilities_resolution' );
    

    Let me know if this helps.

    Thanks!

    #1106981
    Phillip
    Participant

    Josh,

    Thank you for your help.

    That has fixed the Organiser part of the problem but the Event Categories still cannot be selected as they are disabled (see attached screenshot).

    Thanks

    Phill

    #1107663
    Josh
    Participant

    Hey Phillip,

    For that one, have you tried following our Testing for Conflicts procedures to ensure there isn’t a conflict happening here with another plugin or theme? This may help us to narrow in on potentially what’s happening with that part of the form.

    Thanks!

    #1108069
    Phillip
    Participant

    Hello,

    I’m a bit loathe to go switching other things on an off as they rarely seems to come back on just as they were!

    Is it really possible for another plugin or the theme to be inserting a disabled attribute into the input html.

    This is the html for the first option –

    <input type=”checkbox” disabled=”disabled” id=”in-tribe_events_cat-11″ name=”tax_input[tribe_events_cat][]” value=”11″>

    The rest are the same.

    Thanks

    #1108668
    Josh
    Participant

    Hey Phillip,

    To clarify on your original post, the issue with the category checkboxes is happening for all users visiting that page and not just anonymous users?

    I’m testing on my local install and I’m not able to currently replicate the issue with the latest versions of the plugins.

    Thanks!

    #1108680
    Phillip
    Participant

    Josh,

    Thank you for getting back to me.

    This problem doesn’t relate to anonymous users it is admin vs subscriber.

    If I am logged in as an administrator then the category checkboxes are enabled, if I am logged in as a subscriber then they are disabled.

    I would be happy to provide log in details if there is a private message option.

    Thanks you again for your patience and help.

    Regards

    Phill

    #1109616
    Josh
    Participant

    Hey Phillip,

    Thanks for following up with us as well as your offer to allow us to log into your site. Unfortunately though, we have a strict policy against accepting login credentials.

    I also understand the hesitation with going through the process of eliminating conflicts by deactivating plugins. To help here, my suspicion would be that there is either a plugin that impacts categories or taxonomies that could be at conflict here or there could be a plugin for managing capabilities (or modifies capabilities) that could also be an issue here.

    Looking through your active plugins, do you see anything there that could be an issue or a source for a conflict along those lines?

    Thanks!

    #1115415
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Organiser Details not visible (disappearing)’ is closed to new replies.