Brook

Forum Replies Created

Viewing 15 posts - 4,636 through 4,650 (of 4,796 total)
  • Author
    Posts
  • in reply to: Modify Output for Related Events #92318
    Brook
    Participant

    Howdy inhouse,

    I am really glad the last post was helpful.

    The blank screen is usually an indication that you are generating a fatal PHP error and that your sever is set to not display it. You would have to consult your server logs for details on errors in circumstances like that.

    When diving into template overrides there is an unfortunate but necessary expectation that the developer (in this case you) is versed in PHP, comfortable with debugging, and knows the WordPress API. Because of that expectation, when it comes to things like fatal errors it is up to the developer’s knowhow to resolve it.

    I hope you understand. I would be glad to assist with our API though if you do have more questions. Does that get you pointed in the right direction? Thanks!

    – Brook

    in reply to: Visual Editor #92283
    Brook
    Participant

    This reply is private.

    in reply to: Core CSS Still Loads With Custom CSS Filter Functions #92273
    Brook
    Participant

    You are welcome!

    in reply to: Rename the ICS download file #92262
    Brook
    Participant

    Howdy Ken!

    The following code would remove the default iCal feed generator from running:

    remove_action( 'tribe_tec_template_chooser', array('TribeiCal', 'do_ical_template' ) );

    From there you could add your own action that duplicates the functionality of  do_ical_template() and more importantly generate_ical_feed(). Of course some modifications to those functions would be necessary if your duplicate them, as they are currently within the TribeiCal Class. Once you have the function duplicated and working, then I would change the header() call within your custom generate_ical_feed() which specifies the default filename.

    I wish it was easier. I think this could be a good area for a feature recommendation. For instance, instead of saying iCal-Tribe it could use your blogname instead. If you do have any feature recommendations like this please put them up on our uservoice page: https://tribe.uservoice.com/forums/195723-feature-ideas

    Does that help? Thanks for posting!

    – Brook

    in reply to: Upgrade to 3.3 gets alphabetized events list archive #92249
    Brook
    Participant

    Howdy onelittlemoose,

    Kelly and I have been discussing your code snippet. To be honest I am surprised that it worked before. But, if it is working for you then all you should need is an extra conditional.

    We have a bunch of available functions for detecting what type of event page this is. In our documentation we display a list of available functions in the left hand pane. The function tribe_is_event_category() can be used to detect if you are on a event category page or not. If you do not want code to run on those pages, then wrap that code in a conditional that checks with the tribe_is_event_category function.

    I hope that makes sense. Please let us know if you have any questions about our tribe_ functions. We would be very happy to assist you with anything related to our API. Thanks!

    – Brook

    in reply to: Core CSS Still Loads With Custom CSS Filter Functions #92177
    Brook
    Participant

    Howdy  walkingfish,

    It looks like in our guide we did not explicitly mention setting your view to Skeleton Styles. This will remove much of the CSS on its own, and then those final two functions you added will take out the last vestiges and leave you with an empty slate. To do so, go to Events > Settings > Display, then under Basic Template Settings set it to Skeleton Styles.

    I will make sure to get the guide updated. I can see where the confusion stems from. Does that fix it for you? Thansk for posting!

    – Brook

    Brook
    Participant

    Thank you for sending the file. After further investigation I am able to reproduce this as well with hand crafted CSV files. This is a bug.

    The only work around at the moment would be to manually adjust these events after import. I am notifying our devs of the bug and I am sure this will then get fixed in an upcoming release.

    Thanks for reporting this. I am sorry it is causing you an inconvenience.

    – Brook

    in reply to: Event Calendar Breaks Pagination in My Theme #91694
    Brook
    Participant

    Milcms,

    I was not able to reproduce this problem with your theme and the Event Calendar enabled. Since I am unable to do so this does not appear to be an issue with our plugins, nor an issue with our plugin and your theme. Thus, there is very little support we can provide. Basically we have narrowed it down to something that is likely very unique to your install. Possibly a combination of plugins, and the theme, your host environment, or, some other snowflake.

    If I were you, from here I would turn to Google. Unfortunately this is probably not going to be an easy problem to track down. I wish you the best!

    – Brook

    in reply to: single-event template overide #91666
    Brook
    Participant

    Howdy Ken,

    You have been getting some good advice thus far from Snorton. You might be able to add a comma where needed using css, something like dd:after{content:”,”}.

    Sadly, there is a limit to the amount of support I can provide, especially when it gets down to small styling details. Basically it falls outside of Tribe’s scope of support. I hope you did get everything worked out though. Please let me know once this topic is resolved so we can mark it as such, or just click the Resolved/Answered button. Thanks!

    in reply to: Dynamic Widgets with 3.0+ #91659
    Brook
    Participant

    Thanks for the update! I wish I was able to do more. I hope the rest of your site goes smooth.

    in reply to: Visual Editor #91657
    Brook
    Participant

    Jonny,

    I was unable to login with those credentials. I tried a few variants of the username before giving up.

    Have you tried reverting to a default theme like the WP 2012 one? Sometimes themes override editors. Please advise me in regard to these questions. Thanks!

    – Brook

    in reply to: Remove Start Time and End Time from all events #91604
    Brook
    Participant

    Howdy oneyellowtree,

    The date and time are definitely attached, really they are unix timestamps so the “date” is actually stored as the amount of seconds that have transpired since 1970. However, what you want should still be possible by simply checking the “All day event” box for every event, this hides the start time, and even the end date if the end date is the same.

    The following snippet will enforce all day events site-wide though, if you would like to do this on a less selective basis. http://pastebin.com/5TEs27LP

    Will that work for you? Please let me know. Thanks!

    – Brook

    in reply to: Dynamic Widgets with 3.0+ #91512
    Brook
    Participant

    Howdy Kyle,

    I am sorry for not responding quicker. Definitely not ignoring you, I accidentally missed your response.

    The function tribe_is_month() would probably work better in that situation. Likewise, we have many other public functions for the other views. If you scroll down in the left-hand list you will see a gob of tribe_is_ functions for future reference. They are great for detecting things like the current view.

    Hopefully you go this working. Again I apologize for not getting back to you. Were you able to get it fixed?

    – Brook

    in reply to: Hide/show events to relevant roles #91197
    Brook
    Participant

    Howdy elliottrichmond,

    That make complete sense. I believe this snippet should really help you. It excludes events from the Events Category that has the slug “exclude-slug” for everyone except administrators. You can modify this using your custom roles, and add in more roles/cats to exclude within that one function.

    I threw this together pretty quick and am not able to test it much. I just wanted to get you started in the right direction. You should definitely thoroughly test your site to make sure this does all you need it to, and then add or modify logic where appropriate.

    Please let me know if that helps, or it the code needs any extra explaining. Thank you!

    – Brook

    in reply to: Events Continue to Disappear #91005
    Brook
    Participant

    Howdy Johnathan!

    That code would get called anytime a user pressed delete. It even checks for a nonce to prevent CSRF attacks, so it is doubtful someone is bypassing WP security and harassing you. To do that they really should need an admin login or some other form of access.

    If you suspect that line of code though you could comment it out. I foresee no harm in that, provided you want to remove the built-in delete capability for now.

    We also modify wp_trash_post here to allow deletion of single events in a recurrence series: http://docs.tri.be/Events-Calendar-PRO/source-class-TribeEventsRecurrenceMeta.html#38-39 You could probably safely comment out those lines as well if you want to check and see if any of our code is somehow affecting this. Though, to be doubly safe you might backup your site and DB first.

    Thanks for the additional info. I really do not see how our plugin could be doing this though after a thorough examination of code surrounding event deletions. Make sure to check some of the other plugins as well. Are any of them calling wp_trash_post or attaching actions to it?

    – Brook

Viewing 15 posts - 4,636 through 4,650 (of 4,796 total)