Forum Replies Created
-
AuthorPosts
-
July 17, 2013 at 12:49 am in reply to: Change the event-meta > organizer > website link label #55644
Todd
ParticipantI figured this out for myself. I found tribe_get_organizer_website_link() in the plugin files: /public/advanced-functions/organizer.php, and saw that the label has a FILTER on it, so we can change it with our functions.php.
http://pastebin.com/nYTGg2DFTodd
ParticipantThanks Leah, i got the zip. One question — is it necessary to update from (ECP) 1.3.3 to 2.0.4 before 2.0.11 ? The 1x>2x instructions (https://theeventscalendar.com/migrate-from-1x/) specify 2.0.4 but i figured 2.0.4 was the latest at the time, and your initial reply mentioned sending me 2.0.11. But the zip you sent included both 2.0.4 and 2.0.11, so it seems like i need to 2.0.4 first. Is that right? Thanks!
Todd
ParticipantI sent an email yesterday, requesting a zip of ECP 2.0.11. Hoping to get it soon, so i can continue the upgrade process here. Thanks!
Todd
ParticipantThanks Leah. i will get started. But you mentioned providing “.. a link for Events Calendar PRO 2.0.11 below” but i don’t see that. I just see another reply that says “This reply has been marked as private.” Do i need to do something to see that private reply?
November 30, 2012 at 9:23 am in reply to: Community Events submission form replicates itself in secondary sidebar #28768Todd
ParticipantYes the page_id is hardcoded. But so were the original custom queries i had been doing with WP_Query. The purpose of my custom queries (in header.php and footer.php) that conflict with wp_router, and thus Community Events, is to allow the site owner to edit content that appears in the header and footer of the site. So I suppose i could do it based on a slug or post-title instead of an ID, but whichever i use, it will always be hardcoded, since it’s not content based on the requested url / permalink.
November 29, 2012 at 1:12 pm in reply to: Community Events submission form replicates itself in secondary sidebar #28714Todd
ParticipantI just found a super-simple solution! I’m now using get_page() instead of WP_Query().
$page_content = “”;
$page_id = 464;
$page_data = get_page( $page_id );
$page_content = apply_filters(‘the_content’, $page_data->post_content);
echo $page_content;Todd
ParticipantI actually just resolved this problem for myself. Here’s what I did, in case others have this issue.
In Admin > Events > Settings > Community > Access Control, I UNchecked the “Block access to WordPress Admin” (and have all “Roles to block” UNchecked. So I disabled this feature from TEC/CE. And instead, I used the plugin “WP Block Admin” to handle this. It allows me to block my front-end users from the WP backend, based on a Capability (that you can specify), without actually blocking the ajax links (in my bbPress) that call to wp-admin/admin-ajax.php.
@TEC/CE DEVS — Please consider this approach in a future update.
November 27, 2012 at 1:56 pm in reply to: Community Events submission form replicates itself in secondary sidebar #28580Todd
ParticipantI was not using the ShortCode, since the docs say “Keep in mind that shortcodes are only available for users who have permalinks turned off; this method will NOT work if you’re running with a pretty permalinks structure”.
But just for kicks, i just now created a new page (though i do have pretty permalinks on), and placed the shortcode “[tribe_community_events]” in the page. When it hit that page (site.com/my-events-2/) the url redirects to http://site.com/events/community/add, and I see the bug we’ve been discussing.
I then tried the other ShortCode “[tribe_community_events_title]”, and this way, the page does not redirect away from site.com/my-events-2/, and the bug is not present. However the only thing that IS on the page that comes from Community Events plugin is the text “Submit an event”. No form or list, etc.November 25, 2012 at 2:19 pm in reply to: Community Events submission form replicates itself in secondary sidebar #28429Todd
ParticipantGreat, thanks Jonah. By the way, when i said that hopefully wp-router can be limited to the “main” query… you probably can’t just use is_main_query() to determine that, since (at least in my site), those custom WP_Query calls (in my header and footer) also seem to be TRUE for is_main_query(). That doesn’t actually seem right or good.. but that’s what i’m seeing. Again, i’m happy to help troubleshoot.
November 23, 2012 at 1:54 pm in reply to: Community Events submission form replicates itself in secondary sidebar #28406Todd
ParticipantI think the issue comes from WP-ROUTER, used in the-events-calendar-community-events/lib/tribe-community-events.class.php (line 536, and others). The readme file (the-events-calendar-community-events/vendor/wp-router/readme.txt) says that:
… “page_callback” is a callback to use for dynamically generating the contents of the page. The callback should either echo or return the contents of the page (if both, the returned value will be appended to the echoed value). If `FALSE` is returned, nothing will be output, and control of the page contents will be handed back to WordPress …
Perhaps this can somehow be limited to JUST the MAIN QUERY for the page, not any secondary queries done using WP_Query?
November 21, 2012 at 12:49 pm in reply to: Community Events submission form replicates itself in secondary sidebar #28354Todd
ParticipantHi again. One more thought about this. I also had exactly the same issue with another plugin for this same site — bbPress. But I solved that one. It turned out to be a conflict with the SLUG i had entered in WP-Admin > Settings > Forums > Archive Slugs > Forums Base (the bbPress settings page). I had the slug as “forums”, which i guess was the same name that bbPress used for the CPT (Custom Post Type) for the Forum post-type. So when i changed my slug to “theforum”, the problem was solved.
Perhaps Community Events has a similar issue. But it does not seem to have an admin-field to set the slug for the CPT base.
November 21, 2012 at 12:43 pm in reply to: Community Events submission form replicates itself in secondary sidebar #28353Todd
ParticipantHi. I am having EXACTLY the same problem with Community Events. From my troubleshooting, I think it’s related to a conflict with WP_Query. I am not using Genesis. I am building a custom theme, based on Underscore_s (from automattic).
In my site, I have a custom WP_Query in my header.php, and another in my footer.php, which show content from other pages in the header and footer of my site.
But on my Community Events pages(*), and ONLY on those pages, the content in my site’s header and footer that SHOULD display the result of my custom WP_Query, is MISSING, and instead, i see a DUPLICATE of the content displayed by Community Events.
*Community Events pages:
1) http://site.com/events/community/add/
2) http://site.com/events/community/list/ (which for some reason, automatically redirects to)
http://site.com/events/community/list/page/1/Hopefully this sheds light on Victoria’s problem, and I hope for a solution myself! I’d be more than happy to help troubleshoot, to facilitate a solution.
Todd
ParticipantDid you try to Access Control settings? Check the “Block access to WordPress Admin”
Todd
ParticipantAssuming you have the Community Events plugin….
WP-Admin > Events > Settings > Community > Members
Allow logged in users to
– edit their submissions
– remove their submissions -
AuthorPosts
