megacookie
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hi Craig,
I tried the solution provided in https://roundupwp.com/codex/action-rtec_before_display_form/ . However it seems that it places the notice at the bottom of the page. That’s not wat I want of course :). I just want to do the check in
public function get_beginning_html()ininc/form/class-rtec-form.php. Of course that will work, but it is not that elegant.Edit I got a better hack :P:
function ru_show_log_in_message( $args ) { // if registrations are not disabled and user is not logged in, display message if ( ! is_user_logged_in() ) { echo '<script type="text/javascript">jQuery(\'<p class="rtec-success-message tribe-events-notices"><strong>This event is for members only</strong></p>\').insertBefore(".tribe-events-single-event-description");</script>'; } } add_action( 'rtec_before_display_form', 'ru_show_log_in_message' );- This reply was modified 6 years, 12 months ago by megacookie.
- This reply was modified 6 years, 12 months ago by megacookie.
Forum: Plugins
In reply to: [Memphis Documents Library] Adding featuresThat would be awesome!!
Forum: Plugins
In reply to: [Memphis Documents Library] Adding featuresAlso I want to add an upload button on a normal WordPress page. When I edit this in
mdocs-functions.phpand try to upload a file. It just fails without any error messages.
Viewing 3 replies - 1 through 3 (of 3 total)