Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi there Jane,
The RSS functionality really belongs to WordPress: we just piggy back on top of it.
By default the complete content should be included. Is it possible that (perhaps due to the actions of another plugin/your theme) the rss_use_excerpt option is set to true? If so, WordPress will omit the complete description.
The following could be of interest:
- Learn more about options in WordPress
- Check out the update_option() docs
- Feeds in WordPress
Does that help?
Barry
MemberHi David,
Apologies for the mix up! The correct URLs for those resources, first of all, are:
- theeventscalendar.com/knowledgebase/testing-for-conflicts
- theeventscalendar.com/knowledgebase/fixing-http-404-errors
To the problem at hand, thanks first of all for sharing your system information which was particularly helpful here.
It looks as though you have enabled Agenda view but unless you have custom code in place to implement this I see no trace of the agenda view plugin. That could trigger a situation, like this one, where the main events page is unable to display anything.
Could you visit Events → Settings → Display and ensure you have enabled all the view types you wish to use and that your default view is set to one of them?
Does that help at all?
Barry
MemberHi!
Except that you wish to display a price range (rather than a single ticket price) you shouldn’t need the snippet referenced in the KB article you linked to – which I think may be in need of some revision.
Would something like this work for you instead?
add_filter( 'tribe_get_cost', 'show_ranged_ticket_costs', 20, 3 ); function show_ranged_ticket_costs( $cost, $event_id, $formatted ) { if ( ! tribe_events_has_tickets( $event_id ) ) return $cost; $min = $max = null; foreach ( TribeEventsTickets::get_all_event_tickets( $event_id ) as $ticket ) { $min = ( $ticket->price < $min || null === $min ) ? $ticket->price : $min; $max = ( $ticket->price > $max ) ? $ticket->price : $max; } if ( null === $min ) return $cost; $formatted_min = ( '0' === $min ) ? 'Free' : tribe_format_currency( $min ); if ( $min === $max ) return $formatted ? $formatted_min : $min; return $formatted ? $formatted_min . ' – ' . tribe_format_currency( $max ) : "$min – $max"; }Remember also that we’re always on the look out for new feature requests!
If you’d like to propose support for this sort of feature “out of the box” please do feel free to post a request – or add your support to any suitable existing request – over on our UserVoice page š
I hope that helps.
Barry
MemberHi there Chris,
Looks like you’ve made a great start š
Unfortunately, right now, trying to create custom taxonomy filters in this way is going to be prone to causing conflicts (with other taxonomy-based filters), hence why you find you cannot use both simultaneously and achieve the results you expect.
What I’d recommend here is removing your existing setup_query_args() methods. Instead, set up a tribe_events_pre_get_posts filter – essentially no different to the generic WordPress pre_get_posts filter hook, except that it is only fired for event-related queries – and apply your custom taxonomy queries there.
Otherwise, regrettably, your custom filters and the existing category filter will simply override one another’s taxonomy queries.
Out of interest, did you base your work on an existing knowledgebase article (can you link me to it if so)?
Thanks!
Barry
Member…This knowledgebase article might of interest:
theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form
Barry
MemberHi Marcia,
So there are several ways to tackle this – you could choose to follow just one approach or combine them all for more complete coverage.
The first idea that comes to mind is you could use Javascript to count the number of words/characters and, as soon as the customer gets close, flag up a warning and prevent them from submitting the form. This is a nice strategy because the customer gets realtime feedback.
Such a Javascript-based approach might be all you need, in reality, however it’s arguably not a complete answer because JS may not be enabled in a client browser (not so likely these days, but you never know) or may not run due to problems in other scripts outwith your control. Additionally, a knowledgeable person could subvert any JS-driven checks quite easily – though in practice you may find such attempts are infrequent.
With that in mind, you may also wish to implement server-side checks. Thankfully, Community Events has everything you need to do this gracefully and feedback any problems to the user.
- The tribe_community_events_validate_submission filter lets you assess the submitted information and you could use this to reject submissions with overly long descriptions
- The best way to understand this hook is to check out the source: take a peek at tribe-community-events/Submission_Handler.php and the validate() method in particular
- You can use a further filter hook – tribe_events_community_submission_message – to report back any error messages to the customer
Regrettably we don’t have too much documentation in this area so – at least for the time being – working through the code is the best way to get to grips with things.
I hope that helps š
Barry
MemberHi Autumn,
Using The Events Calendar, EDD Tickets and Easy Digital Downloads itself “out of the box” no such report is available.
You could certainly build a custom solution for this, but I’m afraid that would be beyond the scope of what we can assist with here on the forums.
I can see the attraction in such an idea, though, so perhaps it would be worth posting this as a feature request on our UserVoice page: that way others can up-vote and show their support for the idea š
Thanks!
Barry
MemberHi fiberartnow,
Some great questions!
Please note that to ensure fair service to all of our customers – and also to make topics like this useful and easily digestable to other users searching for similar things in the future – we ask that you stick to one issue per topic.
With that in mind, let’s focus on your first query and if you can create new topics for your other questions that would be appreciated š
Iād like to limit the descriptions to 100 words (600 characters?)
Can you confirm where you want to apply this?
Also, if you haven’t already done so, I would strongly recommend reading through our Themer’s Guide to learn some of the basics of customizing The Events Calendar š
Thanks!
Barry
MemberHi Tony,
That’s definitely possible, see this example (not very practical in itself, but it outlines the process):
add_filter( 'tribe-events-bar-views', 'alter_view_names', 100 ); function alter_view_names( array $views ) { foreach ( $views as &$view ) $view['anchor'] = 'Custom name for ' . $view['anchor']; return $views; }Does that help?
January 26, 2015 at 6:57 am in reply to: Excluding Some Recurring Events From Auto Clean-Up Feature #937552Barry
MemberCertainly, it makes sense to me and I’ve logged it as a proposal (besides making a note that we need to fix the cleanup facilitiy generally).
At this point I don’t think there’s too much more we can offer, in the short term at least, and will close the topic.
Of course, if you have any other issues that you need help with please don’t hesitate to open new topics as needed and one of the team will be only too happy to assist š
Barry
MemberHi Sonya,
So I think Casey (in the topic you referenced) had noted the ability to delete entries from the attendee list was on the horizon back then … and that was indeed added.
Just check the relevant boxes on the attendee list and use the Delete bulk action, if you want to remove entries from that list entirely.
I hope that helps š
Barry
MemberMy pleasure š
Barry
MemberThat does help: I’m surprised you’re experiencing slow downs given what you’ve noted and if you can glean anything further once you have additional access that would be great – I’m keen to see if we can determine which view/user action in particular is triggering the slowdown.
Thanks again and have a great weekend, too š
Barry
MemberThis reply is private.
Barry
MemberNo problem!
-
AuthorPosts
