Forum Replies Created
-
AuthorPosts
-
Mad Dog
ParticipantGeoff–
That doesn’t make any difference. And I may see what’s going on but have no idea why…..is it possible that all Events are being deleted from the db after they occur?!??
Looking at the db and filtering, I don’t see any events with a Starting Time “on or before” today!
W…T…F..?
I don’t see any settings that would affect this. Is this possible?
January 13, 2016 at 2:20 pm in reply to: Only Display a User's Organizers and Venues (Redux) #1055586Mad Dog
ParticipantCan you tell me what file creates this dropdown? I know it’s not good form to change a core file that I can’t put in a new theme directory (updates and all that) but if I could just attach a class to “My Venues” and another class to “Available Venues” I could use display:none for the second class or at least change the appearance so My Venues stands out.
MD
Mad Dog
ParticipantThanks. There already is a Feature Request for this (https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/3874714-duplicate-events) so others have already asked. I voted and commented. I might look into whether there’s a way to integrate a post duplication plugin so it worked with the Community Events front-end but I have a feeling it’s a big undertaking.
MD
Mad Dog
ParticipantThanks for checking into this. It is quite a bug!
Manually cleaning it shouldn’t be TOO bad since there aren’t too many dupes yet. Though I’m loathe to do it while people can still enter dupes so I’ll have to do it again. Any ETA on when this might be fixed?
Thanks!
Mad Dog
ParticipantHi Geoff–
Thanks for looking into this for me.
‘Default status for submitted events’ is PUBLISHED.
I use a customized event-list.php page. When the “Show Past Events” came out in 4.0 (which I’d pushed for!) I added the below code from the new event-list.php page and it worked fine. It appears that it stopped after one of the maintenance updates. When I get a sec I’ll compare the code to the latest version of that file to see if it changed, but I wondered if you knew….or knew of something else that changed. Here’s the code I added, taken directly from event-list.php from release 4.0. (Comments are mine)
<!-- Add View old events section from update --> <div class="my-events-display-options"> <?php add_filter( 'get_pagenum_link', array( Tribe__Events__Community__Main::instance(), 'fix_pagenum_link' ) ); $link = get_pagenum_link( 1 ); $link = remove_query_arg( 'eventDisplay', $link ); if ( empty( $_GET['eventDisplay'] ) || 'past' !== $_GET['eventDisplay'] ) { ?> <a href="<?php echo esc_url( $link . '?eventDisplay=past' ); ?>"><?php echo esc_html__( 'View past events', 'tribe-events-community' ); ?></a> <?php } else { ?> <a href="<?php echo esc_url( $link . '?eventDisplay=list' ); ?>"><?php echo esc_html__( 'View upcoming events', 'tribe-events-community' ); ?></a> <?php } ?> </div> <!-- End Display old events -->Mad Dog
ParticipantThanks, but I don’t think that would help. I use a page/post duplicator plugin on some sites but for this it would have to work within the Community Events “My Events” page without going to the WP admin. If it was just the site admin doing it, it would be fine, but I need the users to be able to do it.
Unless you have a plan to incorporate it that I’m not seeing….
Thanks,
Mad DogMad Dog
ParticipantYou’re right! So the check for the main query is what was throwing it off?
Seems to work just fine, both for the regular page view and the search.
THANKS!
Mad Dog
ParticipantTried those right off. This has been replicated and logged as a bug (https://theeventscalendar.com/support/forums/topic/week-and-photo-views-produce-404-page-after-pro-4-0-update/) but probably wasn’t as critical a problem as those that made the first update.
December 11, 2015 at 10:30 am in reply to: Week and Photo Views produce 404 page after Pro 4.0 update #1039724Mad Dog
ParticipantToo bad this didn’t make the first update to 4.0.1.
-
This reply was modified 10 years, 4 months ago by
Mad Dog.
Mad Dog
ParticipantOh crud….the Photos page bug fix didn’t make it into 4.0.1….
Mad Dog
ParticipantThanks. It’s copied with no known ill effects. (:})
Mad Dog
ParticipantKeep me posted about the Photo Bug.
There’s already code in the old template that does the same thing. I noticed these lines have been rewritten in the new version and didn’t know if it had anything to do with deprecated functions or more secure code….or is it just another way of doing what’s already there.
Thanks,
MDMad Dog
ParticipantHi Josh–
I know you’ve had your hands full with the new version release. I’ve updated everything and only had two small problems….one I got straight, the other George is looking into.
But this issue still exists. Any progress or thoughts about it?
Thanks!
MDMad Dog
ParticipantHi George–
Let me know what you find about the Photo View problem. Since I’m not the only one having this problem hopefully you can recreate it and figure out what’s going on.
As to the second part, which was funny because it was a feature I helped get included….I got it fixed. Yes, there’s a new section of code in event-list.php that handles this. Comparing my file with the new one in Notepad++ found the section right off the bat, I added it, and VOILA! Beautiful!
I did find a code rewrite near the bottom of the new page that’s handling a function differently than it was and wondered if I should copy that over too or just leave well enough alone. This is the new section:
<td> <?php echo esc_html( tribe_get_start_date( $post->ID, Tribe__Events__Community__Main::instance()->eventListDateFormat ) ) ?> </td> <td> <?php echo esc_html( tribe_get_end_date( $post->ID, Tribe__Events__Community__Main::instance()->eventListDateFormat ) ) ?> </td>What do you think? Copy it or leave things alone?
I guess I should be better about commenting my changes so updates don’t do this, but it’s the cost of customization.
THANKS for the help.
MD
-
This reply was modified 10 years, 4 months ago by
Mad Dog.
December 9, 2015 at 9:38 pm in reply to: Week and Photo Views produce 404 page after Pro 4.0 update #1038568Mad Dog
ParticipantSame here. All was good until I upgraded all three plugins (TEC, Pro, Community Events) and now Photo (the only view I use other than List) goes to a 404 page. It’s going to …/category/uncategorized/photo/. I tried adding the Week view and it does that too. Month is fine. Haven’t tried others. Permalinks are refreshed. No joy.
If this needs to be split to it’s own thread, that’s cool.
Mad Dog
-
This reply was modified 10 years, 4 months ago by
-
AuthorPosts
