Oliver

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 296 total)
  • Author
    Posts
  • in reply to: Scheduled Imports are not running #1343029
    Oliver
    Participant

    PS: a more detailed or understandable error message is needed to make it useful. I recommend to change them to a more userfriendly explanation.

    in reply to: Scheduled Imports are not running #1342953
    Oliver
    Participant

    Hi Courtney,

    thank you for the explanation and the link.

    I had a look at the mouse over error messages, but unfortunately they don’t help me to solve the problem. :-/

    There are three types of errors:

    – Import failed. (“Import fehlgeschlagen.”)
    – Import failed. The import fetched is not queued up for importing. Please try the import again.
    – Import failed. Import data records have to be finalized, before posts (events) can be inserted. (“Import fehlgeschlagen. Import-Datensätze müssen finalisiert werden, bevor Beiträge eingefügt werden können.”)

    Do you have any idea how to resolve them?

    Best regards,
    Oliver

    in reply to: Scheduled Imports are not running #1342078
    Oliver
    Participant

    Hi Nico,

    I did some more tests today.
    I changed two things:

    a) I used another License Key
    b) I changed the cycle to 30 minutes

    Result: The imports are running, but lot of them have an exclamation mark or a watch icon (see attached screenshot). What does this mean?

    Btw: is there anywhere an user manual for the Event Aggregator available? I guess I really need one to understand it better 😉

    Best regards,
    Oliver

    in reply to: Scheduled Imports are not running #1341414
    Oliver
    Participant

    Hi Courtney,

    in the changelog of the new release I found this info:

    Fix – Fixed an issues where Event Aggregator scheduled imports could not run other than manually

    Unfortunately the automatic import doesn’t work for us.

    Any news or ideas?

    Best,
    Oliver

    • This reply was modified 8 years, 7 months ago by Oliver.
    in reply to: Translation being ignored in Event submission form #1337560
    Oliver
    Participant

    This reply is private.

    Oliver
    Participant

    Oh, that was too simple 😉

    Thanks for finding it!!! Best man!!

    Best regards,
    Oliver

    Oliver
    Participant

    Was this bug fixed with the new version released today? 😉

    Oliver
    Participant

    Wow, now it works! 🙂

    But where is the difference in the code? I can’t see any!

    Best regards,
    Oliver

    Oliver
    Participant

    This reply is private.

    Oliver
    Participant

    Ok, thanks for keeping me updated!

    Best,
    Oliver

    Oliver
    Participant

    Hi Victor,

    here is the code I’m using. I’m using it untouched for a long time – maybe >1 year.
    Would be great I you have an idea 🙂

    
    //-----------------------------------------------------------------------------------
    // Make additional fields required in Community events submission page
    // https://theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form/
    //-----------------------------------------------------------------------------------
    
    function my_community_required_fields( $fields ) 
    {
    
        if ( ! empty($_FILES['event_image']['name']) )
    	{
        	$fields = array(
            'post_title',
            'post_content',
            'EventStartDate',
            'venue',
            '_ecp_custom_1',
            '_ecp_custom_3'
        	);
        }
        else if ( ! empty( $_POST['_ecp_custom_1']) )
        {
        	$fields = array(
            'post_title',
            'post_content',
            'EventStartDate',
            'venue',
            'event_image',
            '_ecp_custom_3'
        	);    
        }
        else {
        	$fields = array(
            'post_title',
            'post_content',
            'EventStartDate',
            'venue',
            '_ecp_custom_3'
        	);    
        }
    
        
        return $fields;
    }
    add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields', 10, 1 );
    
    //-----------------------------------------------------------------------------------
    // Check, it not allowed characters have been entered in the cost. Allowed are: A-z, 0-9
    // https://theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form/?source=tri.be&q=/change-required-fields-on-community-event-submission-page/#errors
    //-----------------------------------------------------------------------------------
    
    function ce_custom_error_msg( $errors ) 
    {
        $cost = trim( $_POST['EventCost'] );
        
        if ( empty( $cost ) ) {
            return false;
        }
        
        if ( preg_match( "/^[a-zA-Z0-9,. \s]+$/", $cost ) ) {
            return $errors;
        }
        $existing_errors = '';
        $type = 'error';
        if ( is_array( $errors ) ) {
            $existing_errors = $errors[0]['message'];
            $type = $errors[0]['type'];
        }
        $errors[0] = array(
            'type' => $type,
            'message' => 'Unerlaubte Zeichen im Eintrittsfeld! Bitte geben Sie den Eintrittspreis z.B. wie folgt ein:<li>26</li><li>26-30</li><li>Spende</li>Ergänzen Sie weitere Infos bitte bei der Beschreibung der Veranstaltung!' . $existing_errors
        );
    	
        return $errors;
    }
    
    add_filter( 'tribe_community_events_form_errors', 'ce_custom_error_msg' );
    

    Best regards,
    Oliver

    Oliver
    Participant

    Hi Patricia,

    my fault, sorry! I installed, but not activated it :-()
    Instead I thought it was the other entry (screenshot above), which has nearly the same title!

    Now it works like a charm!

    Best regards,
    Oliver

    PS: Please ignore the attached screenshot.

    • This reply was modified 8 years, 8 months ago by Oliver.
    • This reply was modified 8 years, 8 months ago by Oliver.
    in reply to: Using HTML-code in explaining text for Additional Fields #1330328
    Oliver
    Participant

    in reply to: Using HTML-code in explaining text for Additional Fields #1330327
    Oliver
    Participant

    Thanks Barry, that looks good! 🙂

    Best regards,
    Oliver

    Oliver
    Participant

    Thanks Cliff! With the new version the bug was not fixed.

    Cheers,
    Oliver

Viewing 15 posts - 31 through 45 (of 296 total)