nakturnal

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 45 total)
  • Author
    Posts
  • in reply to: List View showing yesterday's events first? #13674
    nakturnal
    Participant

    Hi there, I just wanted to follow up.

    So our events are no longer showing up from yesterday (as there was an event yesterday that was happening at the same time as I posted this), so I just wanted to see if anyone on your team had fixed anything? I am very curious as to what it could be (server side date issues? another plugin or script that is malicious? etc). I am experiencing some issue with the tribe_is_multiday() loading events that are not multiple days and I’m curious if the issue has the same root as this one posted here.

    Anyhow, I greatly appreciate your help thus far! My skills are not where I’d like them to be with PHP and I am working on an event heavy site that is really trying to push the limits.

    Cheers and thanks!

    in reply to: List View showing yesterday's events first? #13202
    nakturnal
    Participant

    Hi there, still having issues with the Yesterday’s event showing problem I described above (more important of the two issues). Also, haven’t been able to figure out how to separate the posts loop from the widgets loop, either. I’m striking out lol. Any assistance would be greatly appreciated! Thanks!

    in reply to: List View showing yesterday's events first? #12980
    nakturnal
    Participant

    Hello again! I actually may need a little assistance. I was looking for a way to add onto the If Statement ( for instance, being not a widget or only for a certain post type with WP’s API) and still struck out. I believe my lack in PHP skills are to blame.

    From what I can see, the widget and the list.php are both looking for tribe_is_day so they are both rewritten to make 10 posts with Jonah’s script. Unfortunately for me I need 5 in the widget area and 10 or more in the list area. Any help with figuring out a way to separate them properly would be fantastic.

    Maybe this could be a cool feature request for the future? By that I mean having a new loop for the events calendar and being able to choose how many events are listed from the plugin’s admin panel. To me it would seem beneficial to have an option, but then again I work with clients that are usually out of the box.

    Thanks a million for the help so far! I know you are a small team and your assistance is incredible! Cheers to that.

    ~Shane

    in reply to: Calendar Templates / Grid View Header & Footer #12914
    nakturnal
    Participant

    doh! php is not forum friendly

    [?php if(tribe_is_month()) echo 'id="gridview-cal"'; ?]

    in reply to: Calendar Templates / Grid View Header & Footer #12913
    nakturnal
    Participant

    Ah, I got it. I activated the debug mode and it said that there were some other things using the body class so I couldn’t rewrite them. I just took a bit of what Jonah had wrote and added it directly to the header.php file like so:

    <body >

    Works great! Thanks guys!!!

    in reply to: Calendar Templates / Grid View Header & Footer #12910
    nakturnal
    Participant

    Hi guys, thanks for the quick response!

    Jonah, it’s the same site that I had sent you access to (www.nakyouout.com) – the theme is a Twenty Ten Child theme. I’m no wiz at PHP but I found this code on WP’s documentation section and tried adding the If statement. The weird thing is that the filter works without the statement but it adds the class to every page. Then with the If statement nothing happens, even on the gridview page. Any advice would be appreciated! Thanks again!

    in reply to: Calendar Templates / Grid View Header & Footer #12881
    nakturnal
    Participant

    Hi there, I was just trying to add a specific class to the body of the page for the calendar and list views so I can display a sidebar on one and not the other. This is what I added to the functions.php but it doesn’t seem to register that it is on the gridview page at all:

    if(tribe_is_month()) {
    add_filter('body_class','grid_class_change');
    function grid_class_change($classes) {
    $classes[] = 'calendar-grid-page';
    return $classes;
    }}

    Any assistance would be much appreciated! Thanks!

    in reply to: List View showing yesterday's events first? #12860
    nakturnal
    Participant

    Thank you for the quick response! I sent an email with all the info you need for the previous problem.

    The code you posted is 90% on point – the widget was also effected and this function overwrites the widget’s option. I’ll see if I can figure it out, though. Thank you!

    nakturnal
    Participant

    Would this work on the list.php file for line 26-29? I was looking to add more posts to my events page and not have that effect how many posts are on the home page. I’ll give it a shot and see if it works out, thanks!

    in reply to: List View showing yesterday's events first? #12849
    nakturnal
    Participant

    Also, I can open up a new topic but I had another question. I’m trying to get the events page to display 10 events and keep the homepage on 5 events, do I need to rewrite the loop a bit on the list.php file? Do you have an easy solution for that? I am going to look into it this evening. Thanks again!!

    in reply to: List View showing yesterday's events first? #12847
    nakturnal
    Participant

    Sent an email over, let me know if you have any luck. I tried deactivating a few plugins (I don’t believe any other plugins involve using a date) but to no avail. You think it may have something to do with the loop itself?

    Thanks!

    in reply to: List View showing yesterday's events first? #12838
    nakturnal
    Participant

    Hi there, I have a backup site that I have updated with a newer WP and it still does not seem to work properly. Any advice would be great, I’ll keep trying with the plugins. Thanks!

    in reply to: List View showing yesterday's events first? #12646
    nakturnal
    Participant

    And also, the Single Venue’s pages are also showing old events instead of “upcoming” events. One of them shows events from back in April even though there are multiple events Dec – Jan coming up.

    Thanks!

    in reply to: unwanted large image on each event page #12497
    nakturnal
    Participant

    You may be able to just take it out with CSS so you don’t have to edit the PHP.

    #tribe-events-event-meta .attachment-post-thumbnail {
    display:none;}

    It didn’t look like it would conflict with your other event pages but testing is always good. Hope it helps, cheers!

    in reply to: Venue Link #12495
    nakturnal
    Participant

    Is there a patch we could add for the Venue Website link? I think it’s a great idea, as well! Thanks!

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