Home › Forums › Calendar Products › Community Events › 404 Error
- This topic has 11 replies, 3 voices, and was last updated 10 years, 8 months ago by
Support Droid.
-
AuthorPosts
-
August 14, 2015 at 10:02 am #996094
Houman
ParticipantI just installed community events but the link won’t work: http://www.storytrading.com/events/community/add
I get a 404 error. Also I want to know can an “add event” button be added to the main calendar page? it’s here: http://www.storytrading.com/events/
August 14, 2015 at 4:37 pm #996208Nico
MemberHi Houman,
Thanks for reaching out to us and sorry to hear about this issue 🙁
We received a couple of reports of this 404 issue, and our dev team is looking into this.
Can you please check on the suggestions on this article: Fixing HTTP 404 errors?
Please let me know if that fixes the issue,
Best,
NicoAugust 16, 2015 at 8:50 am #996428Houman
ParticipantHi Nico,
I tried the first suggestion in that article and it made no difference. I’m not a developer so don’t think I can try the other suggestions on my own…
Ben
August 16, 2015 at 9:07 am #996433Houman
ParticipantNico,
I added the below code to the bottom of my theme’s functions.php file and it took down the site:
<?php
/*
* Possible solution for Single Event page 404 errors where the WP_Query has an attachment set
* IMPORTANT: Flush permalinks after pasting this code: http://tri.be/support/documentation/troubleshooting-404-errors/
*/
function tribe_attachment_404_fix () {
if (class_exists(‘TribeEvents’)) {
remove_action( ‘init’, array( TribeEvents::instance(), ‘init’ ), 10 );
add_action( ‘init’, array( TribeEvents::instance(), ‘init’ ), 1 );
}
}
add_action( ‘after_setup_theme’, ‘tribe_attachment_404_fix’ );-
This reply was modified 10 years, 8 months ago by
Houman.
August 16, 2015 at 9:10 am #996437Houman
Participantupdate: okay tried the functions suggestion again. had to remove <?php as it was already at the top of the file. Site works now but the community links still does not work…
August 17, 2015 at 9:14 am #996627Nico
MemberHey Ben,
Thanks a lot for trying that out, and sorry this still an issue in your site.
We are still trying to find a common pattern on sites experiencing this issue, but with no luck yet 🙁
Can you share your system information with me in a private reply? That might helps us to debug this.
Thanks a lot for your patience on this,
Best,
NicoAugust 17, 2015 at 1:10 pm #996725Nico
MemberHey Ben,
Just reviewed your case with the team, and a possible solution came up. Can you try adding this code at the end to your functions.php file?
add_action( 'init', 'ce_rehook_community_parse_request' );function ce_rehook_community_parse_request() {
if ( ! class_exists( 'WP_Router' ) ) return;
$callback = array( WP_Router::get_instance(), 'parse_request' );remove_action( 'parse_request', $callback, 5 );
add_action( 'parse_request', $callback );
}
You can delete the code you previously added.
Sorry for the extra work this is requiring,
Hope we can get this right soon,
Best,
NicoAugust 17, 2015 at 2:57 pm #996755Houman
ParticipantHi Nico!
This is working now: http://www.storytrading.com/events/community/add
I have a few questions now that the page is appearing:
1. events submitted here go directly into the main event calendar here? http://www.storytrading.com/events/ if yes – what is the purpose of http://www.storytrading.com/events/community/list ? When would I want to use the /list/ link instead of /events/ ?
2. how can I edit the layout of the page to remove the widget sidebar and the ratings widget that appears on the top? This page isn’t appearing in pages tab of wpadmin so not sure how to edit those things.
3. how can I hide venue details, organizer details, and event cost? they aren’t necessary for our submissions. I deal with those extra fields on the backend – but for front-end users, it’s alot of extra mess.Thanks so much Nico!
August 17, 2015 at 3:25 pm #996764Houman
ParticipantHi Nicos,
I’m testing this out and i see that community events get added to the main events calendar. That’s good.
However – the submission form has no “tag” field which makes the plugin pretty much completely useless for me as all use-generated content on our site needs to be organized by tag. Is there anyway to add this field to the front-end submission form?
If not – I may need to request a refund as it’s pretty much unuseable for me without tags.
Also let me know about 2 and 3 above. Thanks!
Ben
August 17, 2015 at 3:27 pm #996765Houman
Participantalso I’d like to hide the “not you? logout” text. Not sure why that’s there.
Thanks!
August 18, 2015 at 3:26 pm #997102Nico
MemberHi Ben,
Thanks for following up! Glad the original problem is solved 🙂
Typically I would require you to create a new threads for each new question, I’m not doing so this time so you can have a faster reply. But please note that if you have many follow-up questions on this it might be healthier to create separate topics for each one.
1. events submitted here go directly into the main event calendar here? http://www.storytrading.com/events/ if yes – what is the purpose of http://www.storytrading.com/events/community/list ? When would I want to use the /list/ link instead of /events/ ?
Community events will show up in your calendar with the status set in ‘WP-Admin > Events > Settings > Default status for submitted events’. If status is set to Published they will be visible right away after the form is submitted, other statuses require admin approval. The difference between /events/ and /community/list/ is that the later only shows your submitted events, while the first shows the calendar with all events.
2. how can I edit the layout of the page to remove the widget sidebar and the ratings widget that appears on the top? This page isn’t appearing in pages tab of wpadmin so not sure how to edit those things.
You can change the page-template the calendar loads in, at ‘WP-Admin > Events > Settings > Events template’. If none of the two options fulfill your needs you can always create a new page-template inside your theme.
3. how can I hide venue details, organizer details, and event cost? they aren’t necessary for our submissions. I deal with those extra fields on the backend – but for front-end users, it’s alot of extra mess.
You can perform a template override of the submit-and-edit template as described in William’s post.
Is there anyway to add this field to the front-end submission form?
Please try the solution provided by Gustavo in this thread.
also I’d like to hide the “not you? logout” text. Not sure why that’s there.
You can override the template located at ‘/wp-content/plugins/the-events-calendar-community-events/src/views/community/modules/header-links.php’, please note that only logged in users see this.
Hope that clear out your doubts,
Best,
NicoSeptember 2, 2015 at 7:05 am #1001233Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
This reply was modified 10 years, 8 months ago by
-
AuthorPosts
- The topic ‘404 Error’ is closed to new replies.
