Forum Replies Created
-
AuthorPosts
-
Timothy Wood
ParticipantHello freshmint,
Any chance you could post a few of the event ids you are using to import manually? Also if you’re auto importing from a page can you tell us what page(s) those are as well?It looks like there might be an error happening during your event import of the photo and I would like to debug this further and by having some of your Facebook event ids would help testing on this end.
Timothy Wood
ParticipantHello hc2ca & Tony,
Is there anyway I can get you to install the Members plugin by Justin Tadlock (http://wordpress.org/plugins/members/)? Once activated please go to Users > Roles > (Administrator or whatever role you are specifically wanting to see drafts). Once on the capabilities list screen for the role please ensure that all “*tribe*” capabilities are checked. I would be curious to know if any tribe capabilities are unchecked on your installs.Timothy Wood
ParticipantMarc et al, I believe I answered some of your questions in the thread at https://theeventscalendar.com/support/forums/topic/where-to-edit-meta-output-and-labels/. In case you were interested in more info about the meta registration and customization you can see the new tags we’ve added for managing meta at: http://docs.tri.be/Events-Calendar/source-function-tribe_register_meta.html. Functions to pay attention too are ‘tribe_set_meta_label’ and ‘tribe_set_meta_value’ since they are the easiest way to modify the display of meta on a template. If you check out https://gist.github.com/codearachnid/6015326 or https://gist.github.com/codearachnid/6015666 you can see ways to modify the display of event items from simple to advanced.
July 16, 2013 at 3:20 pm in reply to: How to Remove End Date If Same as Start Date on single.php #55560Timothy Wood
ParticipantHello Robin,
I apologize that we have not been able to put together a response to your specific question sooner. I have taken your requirements and put together a sample gist that should get you close to what you’re looking for display wise of the start/end date time format on single event. You can view the gist at https://gist.github.com/codearachnid/6015666. Please let us know if this helps solve your issue with the display.Timothy Wood
ParticipantMarc, I created a sample gist https://gist.github.com/codearachnid/6015326 with several ways to modify the meta per your inquiry. The new meta management class in TEC allows for customization of the meta ranging from labels, values, order and even setting the visibility based on views etc. I tried to hit all the items you were looking for in customizations so just let us know if this doesn’t work. Keep in mind you just have to put these changes in your functions.php file.
Timothy Wood
ParticipantRyan, thank you for the follow up. If it\’s not too much trouble please contact our support group privately at [email protected] with your server access credentials and I can take a look personally at the server and run some debugging to see what may be causing the block by FB on importing.
Erik, it sounds like there may be a php error that you are experiencing if you are getting a \”page not available\” error – I am assuming that is the whole page not just the status message during manual import? It would be helpful in your case to enable WP_DEBUG in order to see if there are any php errors preventing the import.
Timothy Wood
ParticipantHey Ryan,
I’m one of the devs on the team. So digging in, I am wondering if you are receiving any sort of notification to the import either failing or success? Specifically for the manual imports. I have stepped through a manual import of the provided event and see nothing on FB or our end that would prevent the import properly.If you have access to your PHP logs it would be great if you run the import again, look in the logs for any activity during that time and if anything pops up send that along to us so I can review this in further detail.
Cheers,
TimTimothy Wood
ParticipantHey Anne! Glad you were able to get it setup, if possible it would be great to look at your setup specifically. Any chance you could email access creds to [email protected] so I can login and test the configs?
Timothy Wood
ParticipantHey guys I have updated our plugin with a change to retrieve cover images instead of the normal picture api. In the next release it will have this built in; however, in the meantime if you feel like replace the method get_facebook_photo in the-events-calendar-facebook-importer.php (line 273 in version 1.5) to add additional parsing to the Facebook Open Graph picture import. You can use the code in https://gist.github.com/codearachnid/5371606 to get the largest version of the cover image that Facebook will supply.
Timothy Wood
ParticipantAntonio, if you just use the code from https://gist.github.com/codearachnid/4705028 only and put that into your theme’s functions.php file it will modify all events being imported to your blog’s timezone settings from the PAC offset. There is no need to modify anything other than inserting this code.
I am not sure what theme you are using that does not have a functions.php file (that is default functionality for WordPress themes). So I would recommend referring to your theme’s documentation for where customizations should be placed.
Timothy Wood
ParticipantA bit of an update if you just dump this bit of code into your functions.php file. https://gist.github.com/4705028 until our update comes out this will fix any imported events.
Timothy Wood
ParticipantHello all, just wanted to let you know we have made progress to the timezone issue and will be releasing a patch soon for this issue. If you want to patch your importer in the meantime use this function (https://gist.github.com/4704496) to update the create_local_event method in the the-events-calendar-facebook-importer.php file. Add this method to your functions.php file in your theme and then this block of code within `if( isset( $facebook_event->id ) ) {` statement:
`// fix facebook date offsets -8
$timezone = ‘America/Los_Angeles’;
wp_convert_to_timezone( $facebook_event->start_time, $timezone );
wp_convert_to_timezone( $facebook_event->end_time, $timezone );
`
Once the update to the Facebook Events comes out – you will want to cleanup your functions file and remove this code since it will be unused with our new code.Timothy Wood
ParticipantAfter digging into more specifics relating to the reason the events were not importing it was found that Windows Azure disabled cURL functionality within the PHP modules and with this being disabled we are not able to interact with the Facebook API. It wasn’t any specifics related to the event or type of creation but rather the fact the server prevents the code from reaching out via cURL.
January 29, 2013 at 2:39 pm in reply to: Events Not Importing in The Events Calendar: Facebook Events Version 1.0.3. #31771Timothy Wood
ParticipantGreat, just report back with what you find!
Cheers,
TimJanuary 29, 2013 at 2:13 pm in reply to: Events Not Importing in The Events Calendar: Facebook Events Version 1.0.3. #31762Timothy Wood
ParticipantOne thing to also check is to see if cURL is disabled. Create a file in your site root `info.php` and put ` < ?php phpinfo();` in it and then open that file in your browser. Search the display for 'curl' and see what the settings are for that. If it is disabled look at your php.ini config file for the server and see if you can find where it's been commented out.
-
AuthorPosts
