journal multimedia

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Recurring events in a custom query? #1050669
    journal multimedia
    Participant

    After digging around a bit, I realized tribe_get_events doesn’t return all of the event information. For anyone else who stumbles across this, the functions archive is here https://theeventscalendar.com/functions/

    For the recurrence pattern, you can just call tribe_get_recurrence_start_dates inside your loop:

    $monthlyevents = tribe_get_events( array(
    		'eventDisplay' => 'custom',
    		'start_date' => '2016-02-01 00:00',
    		'end_date'   => '2016-02-29 23:59'
    	));
    	
    	var_dump($monthlyevents);
    	
    	foreach($monthlyevents as $monthlyevent){
    		var_dump (tribe_get_recurrence_start_dates($monthlyevent->ID));
    }
    in reply to: Login Page Template for Community Events – Followup #1007489
    journal multimedia
    Participant

    Yes this is on the /events/community/add url.

    When I said, “and neither seems to load before the call to wp_login_form()”, I’m referring to that function being called by the plugin to load the default login form. I’d like to execute code before it gets called so that I can display a custom login page (as suggested in the previous thread.

    I tried adding a conditional statement that checks if the user is logged in to the beginning of the templates event-list.php and edit-event.php, but wp_login_form() still appears to be loading before the conditional statements load.

    I guess my real question is, how can I set up something like Brian suggested in the previous thread?

    Also, you said “We don’t offer any support for custom code on the forums”. Is there another support channel that I have access to as a part of purchasing Events Calendar Pro & Community Events?

    Thanks,
    Joe

    in reply to: Login Page Template for Community Events #1007016
    journal multimedia
    Participant

    That makes sense. I’ll give that a try. Thanks for following up.

Viewing 3 posts - 1 through 3 (of 3 total)