roundupwp
Forum Replies Created
-
Hey joeldude,
It sounds like you’re using the “Pro” version. The moderators of the forum prefer that we handle support for the Pro version on our website. Can you contact me there with your “System Info” from the “Support” tab?
Here is the link:
https://roundupwp.com/support/
Thanks!
Craig
Hey Joel,
Sure I can help you with this!
Support for templates of just the individual pieces of the start and end date will likely make it into a future update but until then, try adding the following to your theme’s functions.php file:
function ru_add_individual_date_template( $search_replace, $sanitized_data ) { $event_id = isset( $sanitized_data['event_id'] ) ? $sanitized_data['event_id'] : false; if ( false !== $event_id ) { if ( is_callable( 'tribe_get_start_date' ) && is_callable( 'tribe_get_end_date' ) ) { $time_format = rtec_get_time_format(); $start_date = tribe_get_start_date( $event_id, false ); $start_time = tribe_get_start_date( $event_id, false, $time_format ); $end_date = tribe_get_end_date( $event_id, false ); $end_time = tribe_get_end_date( $event_id, false, $time_format ); $search_replace['{start-date}'] = $start_date; $search_replace['{start-time}'] = $start_time; $search_replace['{end-date}'] = $end_date; $search_replace['{end-time}'] = $end_time; } } return $search_replace; } add_filter( 'rtec_email_templating', 'ru_add_individual_date_template', 10, 2 );You can then use the template {start-date} to display just the date the event starts.
– Craig
Sounds good! Were you able to get something working?
Happy New Year!
– Craig
Hey again,
I just wanted to update you that I added a 2nd example that creates a link for users. The example uses the WordPress function “get_author_posts_url” but if you substitute this part of the code with whatever function retrieves a member’s profile page, it should work great for you. Here is the link again (it looks like last time I made it into a code example by mistake).
Hey bkaczmarek,
This would be possible with either version of the plugin actually. It would require some PHP knowledge though to modify the existing attendee list. Here is a link explaining the PHP hook:
https://roundupwp.com/codex/action-rtec_the_attendee_list/I’ll see if I can add an example that uses the user ID that is stored with each registration. Is that what you need to get the user profile link?
Thanks,
Craig
Hey waleedsadiq,
Are you asking if you can have the form displayed automatically rather than needing to click on the “Register” button to see it?
If so, try adding this to your “Custom JavaScript” area found on the “Form” tab:
setTimeout(function() { $('.rtec-form-wrapper').show(); $('.rtec-form-toggle-button').hide(); },500);Let me know if this isn’t what you meant! If it seems to be an error with the form, could you provide a link to your website?
– Craig
Hey StandOutSites,
It looks like you also submitted a ticket on our website regarding this. I will follow up with you there. For anyone else who might be interested. Here was my response:
The plugin doesn’t use custom post types for registrations actually. Instead, a table specifically for registrations is used. It’s possible to export this table with a bit of MySql knowledge, or at least PHPMyAdmin or something similiar. Does your web host support some kind of database manager?
The name of the table is rtec_registrations. It will also use the prefix you set up for your WordPress installation (wp_rtec_registrations potentially). You would “export” the table and then “import” this with your new database.
– Craig
Hey rainmanne,
Ahh I suppose I could have mentioned this as well. I noticed this awhile back and asked the Modern Tribe team about the hooks. They seem to have plans on adding support for the hooks back into the template in some capacity for the final version. Here is my question on github.com:
Hey rainmanne,
I’m wondering if you are using a custom single-event.php file for your theme. If so, can you make sure that the hooks listed in this FAQ are somewhere in the source code?
Let me know if you need more help!
– Craig
Hey thekendog,
Just thought I would mention that some version of this feature may end up in the “free” version at some point.
Have a great rest of your week!
– Craig
No problem! Glad we could get this working with your theme.
Have a great rest of your weekend.
It looks like the quotes are causing an issue. Try this instead:
body[data-form-style=minimal] #rtec .minimal-form-input label span { color: #333 !important; top: auto; } body[data-form-style=minimal] #rtec .minimal-form-input label span.text { top:auto; } body[data-form-style=minimal] #rtec .minimal-form-input label .text-inner, body[data-form-style=minimal] #rtec .minimal-form-input.has-text label .text-inner{ animation: none !important; -webkit-animation: none !important; }Try adding this as well:
body[data-form-style="minimal"] #rtec .minimal-form-input label span { color: #333 !important; top: auto; } body[data-form-style="minimal"] #rtec .minimal-form-input label span.text { top:auto; } body[data-form-style="minimal"] #rtec .minimal-form-input label .text-inner, body[data-form-style="minimal"] #rtec .minimal-form-input.has-text label .text-inner{ animation: none !important; -webkit-animation: none !important; }Seems to work for me
– Craig
This might be possible. It looks like you may have made the page private again. Do you want to let me know when it’s public again so I can take another look?
No problem! Glad we could find something that works.
If you add CSS to the setting I mentioned, it will be permanent with every update. So no worries about losing the changes.
Have a great weekend!
– Craig