Dean Spencer

Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • in reply to: Community Events – How to set Category Defaults #1002885
    Dean Spencer
    Participant

    That’s it, it was the reCAPTCHA codes. I regenerated them and it began to work!

    Thank you for your help!

    in reply to: Community Events – How to set Category Defaults #999810
    Dean Spencer
    Participant

    Hi apologies for the delay, I just wanted to make sure the site was fully backed-up before changing things around.

    I have reset the default theme to 2013 and disabled all the plug-in with exception to the ones the site needs to run.

    The issue still occurs.

    Do you think this is a permissions issue?

    in reply to: Community Events – How to set Category Defaults #997632
    Dean Spencer
    Participant

    I have tried disabling the add-ins and the problem still occurs?

    Interestingly the problem goes away when logged in, i.e. as admin?

    in reply to: Community Events – How to set Category Defaults #997611
    Dean Spencer
    Participant

    I have put the original file back and the error still occurs.

    I will leave the file in place while I check through the link you have sent me.

    in reply to: Community Events – How to set Category Defaults #997520
    Dean Spencer
    Participant

    Hi, I have copied and pasted the code into the thread:

    <?php
    /**
    * Event Submission Form
    * The wrapper template for the event submission form.
    *
    * Override this template in your own theme by creating a file at
    * [your-theme]/tribe-events/community/edit-event.php
    *
    * @package Tribe__Events__Community__Main
    * @since 3.1
    * @author Modern Tribe Inc.
    *
    * @var object $event
    * @var array $required
    *
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    die( ‘-1’ );
    }

    $events_label_singular = tribe_get_event_label_singular();

    ?>

    <?php tribe_get_template_part( ‘community/modules/header-links’ ); ?>

    <?php do_action( ‘tribe_events_community_form_before_template’ ); ?>

    <form method=”post” enctype=”multipart/form-data” data-datepicker_format=”<?php echo esc_attr( tribe_get_option( ‘datepickerFormat’, 0 ) ); ?>”>

    <?php wp_nonce_field( ‘ecp_event_submission’ ); ?>

    <!– Event Title –>
    <?php do_action( ‘tribe_events_community_before_the_event_title’ ) ?>

    <div class=”events-community-post-title”>
    <?php tribe_community_events_field_label( ‘post_title’, sprintf( __( ‘%s Title:’, ‘tribe-events-community’ ), $events_label_singular ) ); ?>
    <?php tribe_community_events_form_title(); ?>
    </div><!– .events-community-post-title –>

    <?php do_action( ‘tribe_events_community_after_the_event_title’ ) ?>

    <!– Event Description –>
    <?php do_action( ‘tribe_events_community_before_the_content’ ); ?>

    <div class=”events-community-post-content”>
    <?php tribe_community_events_field_label( ‘post_content’, sprintf( __( ‘%s Description:’, ‘tribe-events-community’ ), $events_label_singular ) ); ?>
    <?php tribe_community_events_form_content(); ?>
    </div><!– .tribe-events-community-post-content –>

    <?php do_action( ‘tribe_events_community_after_the_content’ ); ?>

    <?php tribe_get_template_part( ‘community/modules/image’ ); ?>

    <?php tribe_get_template_part( ‘community/modules/datepickers’ ); ?>

    <?php tribe_get_template_part( ‘community/modules/venue’ ); ?>

    <?php tribe_get_template_part( ‘community/modules/website’ ); ?>

    <?php tribe_get_template_part( ‘community/modules/custom’ ); ?>

    <?php tribe_get_template_part( ‘community/modules/cost’ ); ?>

    <!– Spam Control –>
    <?php Tribe__Events__Community__Main::instance()->formSpamControl(); ?>

    <!– Form Submit –>
    <?php do_action( ‘tribe_events_community_before_form_submit’ ); ?>
    <div class=”tribe-events-community-footer”>
    <input type=”submit” id=”post” class=”button submit events-community-submit” value=”<?php

    if ( isset( $post_id ) && $post_id ) {
    echo apply_filters( ‘tribe_ce_event_update_button_text’, sprintf( __( ‘Update %s’, ‘tribe-events-community’ ), $events_label_singular ) );
    } else {
    echo apply_filters( ‘tribe_ce_event_submit_button_text’, sprintf( __( ‘Submit %s’, ‘tribe-events-community’ ), $events_label_singular ) );
    }

    ?>” name=”community-event” />
    </div><!– .tribe-events-community-footer –>
    <?php do_action( ‘tribe_events_community_after_form_submit’ ); ?>

    </form>
    <?php
    do_action( ‘tribe_events_community_form_after_template’ );

    in reply to: Community Events – How to set Category Defaults #996984
    Dean Spencer
    Participant

    Hi, the only change I have made is to remove the fields I don’t want from the file edit-event.php

    It works when logged on to the site, just not when submitting events as an anonymous user.

    Thank you

    in reply to: Community Events – How to set Category Defaults #996871
    Dean Spencer
    Participant

    Great, we can now see how to remove fields etc and make it look the way we want.

    The issue we now have though is that anonymous submissions cannot be added as the website says:

    An internal error occurred: 51D94C8AB7B40.A140C94.2D05BACD

    This is under SPAM-Check?

    Can you please let us know how to resolve?

Viewing 7 posts - 16 through 22 (of 22 total)