Forum Replies Created
-
AuthorPosts
-
Thomas Claffy
ParticipantNot really a serious issue but should be fixed. Cheers from ice bound St.Louis!
Thomas Claffy
ParticipantMy first question is really can I enable Yoast in the community event page?
Thomas Claffy
ParticipantGot it working with this code:
/* add navigation bar at the top of the calendar */
#tribe-events-content #tribe-events-header .tribe-events-sub-nav li, #tribe-events-content #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next a {
display: block;
}Thanks for the pointers.
Thomas Claffy
ParticipantCancel that I think. Must have been my 2nd weird caching error. 1st the site would not load at all after the update and then you see my original screen cap and that same screen now looks as I expect. Same rules with a trash can next to them.
Thomas Claffy
ParticipantHunter, after looking around a bit more, I certainly appreciate your direction in this matter to help me understand how things work but I am going to end up in that camp that is waiting on Stripe. I have no desire to go thru what some of the support threads document as weeks of trial and error with no solution. So I can’t mark this resolved but I can you can mark it as closed for now. I have weighed in on the stripe enhancement request. Pretty disappointing as I am making a public presentation next week on the community calendar and I really wanted to announce ticketing coming soon.
Thomas Claffy
ParticipantOK thanks for the link. Looks like Event Tickets Plus is the middle of the road solution offering a competitive rate vs Eventbrite and gives me a little wiggle room. Everything on the configuration page of Community Events mentions Paypal for split payments but your plugin talks about multiple payment gateways. I would prefer to use Stripe with WooCommerce I think. Does that all work with split payments? It looks like a good product but I also see some issues in the support forums about this combination of providers and would hate to disappoint what few substantial customers I would have here with a product that does not work as advertised. So is this a reasonable plan that works? Event Tickets Plus with WooCommerce and Stripe?
Thomas Claffy
Participantok, thanks. So paypal or stripe the cost is about the same at 2.9% + 30 cents per transaction. How does the money flow work? Do the payments go in my account and then I transfer to my customer or straight to the customer and if so how do I monetize that and make it worth my while to offer ticketing?
Thomas Claffy
ParticipantThanks for the direction Geoff. And for the record, I have valid keys set in the community settings already but no recaptcha and the register button redirected to my custom login page so it’s probably a tangled web I weave. Anyway, Nico’s code gave me the url’s I could not deduce from the login forms and the direction for a function that is now added to my child themes functions.php and does exactly what I need. My custom login form with the persistent recaptcha always shows now. I think this was sorted out a few builds ago and then something changed. Hopefully this is not a moving target.
/**
* Remove community login page
*
*/
function tribe_ce_redirect_login ( ) {
$new_login_page_url = home_url( ‘/login/’ ); // new login page
wp_redirect($new_login_page_url);
exit;
}add_action ( ‘tribe_ce_event_submission_login_form’, ‘tribe_ce_redirect_login’ );
add_action ( ‘tribe_ce_event_list_login_form’, ‘tribe_ce_redirect_login’ );Thomas Claffy
ParticipantThe PHP error has stopped. I guess my copying directly from this thread solved that. Anyway to bump the list after a new post is added or at least not show that rather ugly message?
Thomas Claffy
ParticipantThanks Geoff. Although I would have been satisfied to see the text changed from None to Remove, your solution is very clear.
Thomas Claffy
ParticipantNow that you have explained it that fully, I understand, I would really suggest this text be “Remove Rule” or “Delete Rule” as opposed to “None” to explain what that setting really does. At any rate, understanding the functionality satisfies the requirement.My apologies for my my misunderstanding. customers.
Thomas Claffy
ParticipantI just want to be able to delete a rule. Simple. An x by a recurrence rule. Once it is saved, it cannot be deleted.
My request was deleted by an admin staff member within days with an off the wall comment “Is this simply being able to exclude a single date from a recurrence series, as described here: https://theeventscalendar.com/knowledgebase/pro-recurring-events/#exclusions ? This was within days of my adding the enhancement request which was “Please allow removing a recurrence rule. Now we have to set it to none. Why can’t we just get rid of an extraneous row? Some of my more complex rule sets can use all of the simplification they can get and having a rule set to none that I can’t get rid of after I realized I did not need another rule is useless.” , nothing to do with this support issue which was solved and closed as you state.
Now how does removing a rule translate to excluding a single date?
If this is reflecting on your support that was not intended. I merely meant to criticize the complete failure to actually understand a simple request.
Thanks for the response.
Thomas Claffy
ParticipantNico,
Both of the new functions are throwing a PHP exception. Should it have a is_user_logged_in()wrapped around it somewhere?
Thanks tom (vb.net guy…sorry)
****************************************************************************************
PHP Error:
[20-Dec-2016 00:02:11 UTC] PHP Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home/myfergus/public_html/wp-content/themes/total-child-theme-master/functions.php on line 61Code:
/**
* Tribe, set community event status according to current user capabilities
* User roles > https://codex.wordpress.org/Roles_and_Capabilities
* Post Satus > https://codex.wordpress.org/Post_Status
*/
function tribe_set_ce_status ( $event_id ) {// check for the desired capability
if ( current_user_can(‘publish_posts’, $event_id) ) {
wp_update_post(array( ‘ID’ => $event_id, ‘post_status’ => ‘publish’)); <- line 61 in my code
} else {
wp_update_post(array( ‘ID’ => $event_id, ‘post_status’ => ‘draft’));
}}
add_action( ‘tribe_community_event_updated’, ‘tribe_set_ce_status’ );
add_action( ‘tribe_community_event_created’, ‘tribe_set_ce_status’ );***************************************************************************************
PHP Error:
[20-Dec-2016 00:33:40 UTC] PHP Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home/myfergus/public_html/wp-content/themes/total-child-theme-master/functions.php on line 78Code:
/**
* Tribe, filter community events my events query
* User roles > https://codex.wordpress.org/Roles_and_Capabilities
*/
function tribe_filter_my_events_query ( $args ) {// check for the desired capability
if ( current_user_can(‘edit_others_posts’) ) { <— line 78 in my code
unset( $args[‘author’] );
}return $args;
}add_filter( ‘tribe_ce_my_events_query’, ‘tribe_filter_my_events_query’ );
Thomas Claffy
ParticipantNico,
Thanks for the code! Nice enhancement. It was very close although I tried 1st to copy and paste from the email and there must have been some of Microsoft’s formatting characters buried in there even after pasting into notepad so I came here and got the code and all is well. I did change the right to publish_post as that is really the permission I want to check when I want a user to be able to publish directly. The edit others function is great also as I can now have a mini admin without access to my back end. So I now have subscribers (can’t submit), contributors (new adds moderated and updates send me an email), author(can publish with no moderation/updates send me an email) and Editor ( can edit, delete all published posts/updates send me an email). Pretty robust change in what permissions I can give my users so for such a small change. If only the events list were sortable.
The little bit of bad is attached. A nasty screen after a user adds an event with the publish right in the front end. User has to refresh the list to get the pretty view. Any solution? These folks will be power users so not the end of the world kind of thing.
Thomas Claffy
Participantfixed in latest update. I had only updated the pro not the base.
-
AuthorPosts
