Support » Plugin: Events Manager » Display login & signup form when user visit the site

  • Resolved Bhushan

    (@bhushansbobade20)


    Display login & signup form when user visit the site.

    I want user to login/register first, after signin user can see list of events and enable booking.

    How i can do it please suggest ASAP.

    Willing to buy pro version if it has any feature.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Bhushan

    (@bhushansbobade20)

    Hi @duisterdenhaag,

    Please help me in above case.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can modify template file at events-manager/templates/templates/events-list.php

    eg.

    
    if( !is_user_logged_in()){
      em_locate_template('forms/bookingform/login.php',true, array('EM_Event'=>$EM_Event));
    }else{
      $args = apply_filters('em_content_events_args', $args);
      if( get_option('dbem_css_evlist') ) echo "<div class='css-events-list'>";
      echo EM_Events::output( $args );
      if( get_option('dbem_css_evlist') ) echo "</div>";
    }
    

    to use templates: http://wp-events-plugin.com/documentation/using-template-files/

    eg. wp-content/themes/Your Theme/plugins/events-manager/templates/events-list.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display login & signup form when user visit the site’ is closed to new replies.