Brook

Forum Replies Created

Viewing 15 posts - 4,681 through 4,695 (of 4,796 total)
  • Author
    Posts
  • in reply to: 404 Error on daily view without events #88694
    Brook
    Participant

    Howdy seifenigel,

    I am 99% certain your theme is using a very nonstandard way of detecting 404 pages. There are two ways WordPress allows you to detect a 404 and serve the appropriate template. By far the most common is to define a 404.php, which your theme does not (This would be a blank white page if it did). Or by using is_404().

    Instead of doing either of these I bet your theme is doing something akin to if ($wp_query->post_count == 0)

    On pages like the an empty day one the post count is indeed 0. However, as you can see we serve a page anyways which states no events found. Your theme thinks this is a 404, when it actually is not, and thus serves our content in addition to a 404 header.

    The only fix is going to be correcting your theme’s 404 implementation. You might have to contact the theme author.

    Does that help at all? I hope so. Thanks for posting.

    – Brook

    in reply to: NRelate #88645
    Brook
    Participant

    Howdy southwarkcyclists,

    I am so sorry for this late response. We launched an update to our forum a couple of days ago and your post was accidentally caught up in limbo due to the update.

    I would be very glad to help you with this if you still need assistance. However, it looks to me like you already got it corrected. In Chrome, Firefox, and IE I am seeing the related content box appear beneath the venue details. Did you get it working to your satisfaction?

    – Brook

    in reply to: Hiding specific event category when user is not logged in #88612
    Brook
    Participant

    Howdy cmoser13,

    First of all I am very sorry for the belated response. We launched an update to our forum recently and in the shuffle your post was lost.

    Some users have been able to accomplish what you want through a quick CSS hack. Simply adding a style like the following if a user is not logged in:

    .tribe-events-category-schedule{display:none;}

    There are a few functions WP provides for detecting if a user is logged in, or what permissions they have. If you simple want to see if they are logged in, is_user_logged_in() works great. If you want to instead only show the schedule to say admins, this would be a better fit: current_user_can(‘administrator’). Simply display that CSS when one of these functions returns true, and you are set!

    Of course a CSS hack does not truly hide your schedule from search engines or saavy users. If you want to fully hide these events you will need to modify the queries. This will definitely require a good knowledge of WP queries and hooks. You would want to hook into our queries and then filter out that category. Tribe Query documentation is a good place to get started if you wish to go this route. Especially when viewing the class file itself will you see some available hooks and examples for limiting queries. Obviously you would want to put all this logic inside of one of the WP user capability conditionals I linked to in the last paragraph.

    Will that work for you? Thanks for posting. Again, truly sorry about the delay.

    – Brook

     

    Brook
    Participant

    That seems hyopothetical, but not likely to me. The line you linked should set it to Unnamed only if the key ‘Organizer’ is blank or not set. Are you 100% positive that you are setting this case-sensitive key? In order to even reach that point, you would have to be setting at least one of the other keys correctly. They are all found on line 16. So you probably are setting it right, but I figure it is worth double checking.

    I would recommend against tweaking the function if you go that route. If Gravity forms lets you submit to an arbitrary location, why not roll your own simple submission script? You could copy and paste the relevant bits of logic from that function and remove anything you do not need. Then point Gravity forms to it via _GET or _POST (whichever you prefer). Would that work for ya?

    – Brook

    Brook
    Participant

    I follow you now. Thanks for clarifying. Please pardon the confusion.

    We do have some public functions to assist with this:

    http://docs.tri.be/Events-Calendar/function-tribe_create_organizer.html

    http://docs.tri.be/Events-Calendar/function-tribe_create_venue.html

    I am not sure how much that will help you though. While it has been a while since I have worked with Gravity forms, I do not recall any method for allowing a function to process your data.

    As far as the actual logic behind it, it is all quite basic. You can find the relevant bits of PHP here:

    http://docs.tri.be/Events-Calendar/source-class-TribeEventsAPI.html#293-320

    http://docs.tri.be/Events-Calendar/source-class-TribeEventsAPI.html#215-241

    Essentially it is just parsing your data into a simple array and passing that to wp_insert_post().

    Does that help? Did I understand you correct this time?

    – Brook

    in reply to: Bug: Paging in a category does not work? #88399
    Brook
    Participant

    Howdy Matthias,

    I have exciting news. We wanted to get this fixed for you as soon as we could. Jessica has created a lovely patch for paging in Category Photo views. Paste the following gist into your theme’s functions.php:
    https://gist.github.com/jazbek/8312881

    Please let me know if that fixes it for you as it has in our tests. Thanks!

    – Brook

    in reply to: Wrong events displayed under category #88396
    Brook
    Participant

    Howdy joinfof,

    I have exciting news. Jessica has created a patch for the photo category view issue. In our tests this fixes your original issue of paging not working in Category Photo view. Paste the following gist into your functions.php:
    https://gist.github.com/jazbek/8312881

    We are still working on sorting issue for past events. Both this fix and the sorting one will be included in a forthcoming release.

    Please let me know if that fixed it for you as well.

    – Brook

    in reply to: Wrong events displayed under category #88394
    Brook
    Participant

    Howdy joinfof,

    I have exciting news. Jessica has created a patch for the photo category view issue. In our tests this fixes your original issue of paging not working in Category Photo view. Paste the following gist into your functions.php:
    https://gist.github.com/jazbek/8312881

    We are still working on sorting issue for past events. Both this fix and the sorting one will be included in a forthcoming release.

    Please let me know if that fixed it for you as well.

    – Brook

    in reply to: Wrong events displayed under category #88392
    Brook
    Participant

    Howdy joinfof,

    I have exciting news. Jessica has created a patch for the photo category view issue. In our tests this fixes your original issue of paging not working in Category Photo view. Paste the following gist into your functions.php:
    https://gist.github.com/jazbek/8312881

    We are still working on sorting issue for past events. Both this fix and the sorting one will be included in a forthcoming release.

    Please let me know if that fixed it for you as well.

    – Brook

    in reply to: Map view of events fails to load completely. #88244
    Brook
    Participant

    Howdy jdxuereb,

    I am noticing a variety of errors in the Console. Three of them are simple 404s related to your theme, and probably not causing too much of an issue. However, the other two definitely appear related.

    Have you tried disabling theme and plugins to see if this fixes it? If so, please reenable them one at a time and check the Map View in between. Eventually enabling one of them will likely cause this issue again. These basic steps go a long way towards helping you and I to isolate the problem.

    It is also worth noting that all of those 404s have to do with incorrect use of WordPress directory functions. It is possible that something is messing with those functions, or they are being used incorrectly.

    Please let us know what you find out. Thanks!

    – Brook

    in reply to: Genesis Layout Issues #88198
    Brook
    Participant

    Howdy irishrunner16,

    Some of the themes like Genesis do not use standard WP page templates in their designs. While this allows them greater flexibility than WP is designed for, it means they readily conflict with plugins at times. You have encountered one such conflict.

    Fortunately the good folks at Genesis recognize this and have provided a work around for a child theme like yours. This guide will show you how to add a page template. Of course, for any support relating to adding a child theme you will have to look to Genesis.

    Once you have succesfully added a child theme and are happy with it’s layout, come back to the Tribe Settings > Display page. Alongside “Default Events Template”& “Default Page Template” you will now see your custom page template. Select it, hit apply, and presto!

    Please let me know if that answers your question. Thanks!

    – Brook

    in reply to: Default Calendar WEEK VIEW #88187
    Brook
    Participant

    That is an interesting usecase, Phil. I really like what you have done with the plugin to get it to fill those needs. I have not seen anything quite like that.

    I get what you are saying. And the more useful we can make our plugin the better. If you would ever like to make a feature recommendation like this feel free to throw it up on our User voice page. That is the best place for feature requests, as it allows other in the community to easily vote it up and voice their support as well.

    Glad to hear you got it sorted. I am going to mark this thread as answered. If you need help with something else please open a topic about it, we’d be glad to assist.

    – Brook

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

    Howdy ktrusak,

    I see you have done your research. Sadly the Dynamic Widgets plugin still does not jive well with ours.

    You can still assign special sidebars to each view, but to do that does require some customizations to the Default Tribe theme, and thus a familiarity with our Themer’s Guide. Furthermore, you would also need to understand how to add WP sidebars to a theme. I wish it required as little knowledge as Dynamic Sidebars does, but that is not the case. Of course if you are familiar with all that already, then it is very easy. Perhaps even easier than Dynamic Sidebars.

    We are always doing our best to make our plugin as compatible as possible with our plugins. But, unfortunately on occasion there are still plugins like this one.

    Does that answer your question?

    – Brook

    Brook
    Participant

    If you are having trouble finding the class I generally just use Ctrl + F to search through an opened file. If you are not sure which file contains the a line of code like .delimter, any decent editor or IDE will let you search all files in a directory, commonly using Ctrl + Shift + F. But, if this is giving you trouble then snorton suggested an even easier method.

    Step 1) Click on this link: http://dev.internaltransformation.com/wp-admin/edit.php?post_type=tribe_events&page=tribe-events-calendar&tab=display#tribe-field-tribeEventsBeforeHTML

    Step 2) Paste the following code into the ‘Add HTML before event content’ box:

    <style type="text/css">
    .tribe-events-address .delimiter {
    width: auto;
    float: none;
    background: none;
    display: inline;
    margin-right: .25em;
    }
    </style>

    Step 3) Click Save Changes at the bottom.

    That should fix your issue!

    – Brook

    Brook
    Participant

    Howdy Matthias,

    I appreciate the detailed steps. That is great to have.

    I am not able to reproduce this error on my test site, nor our example one. Are you seeing the same thing when you go to our unmodified example site? Here it is: http://wpshindig.com/events/

    If not, it is likely that one of your customizations is causing an issue. I am glad you found a way to fix it.

    Please let me know what you find out. Thanks!

    – Brook

Viewing 15 posts - 4,681 through 4,695 (of 4,796 total)