X
23864

Ticket #23864 Public

Reviewer

  • Hello,

    in order to review each event, you are offering the add-on reviewer.

    Before ordering it, i want to know if its possible to activate reviewing events by puting yes in CSV file (importer CSV file) or to do it only one tine into eventon settings.

    We want to avoid activationg this function by editing every event. We have already 500 events.

    Please let me know how to do it.?

    Regards

    BY: zghrairi@gmail.com - Jan 18,2017 AT 1:30AM - 3 years ago
    • By: infotainerdave Jan 18,2017 AT 1:54AM - Posted 3 years ago - #23865

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patient and thank you for being a eventon customer!

    • By: Ashan Perera Jan 18,2017 AT 1:53PM - Posted 3 years ago - #23973

      Hello there,

      so if you are adding a new field to CSV addon you would need to follow this guide to do is the proper way

      http://www.myeventon.com/documentation/import-additional-fields-using-hooks/

      Are these 500 events already reside in eventon or they are from another system?

    • By: Ashan Perera Jan 19,2017 AT 3:40PM - Posted 3 years ago - #24300

      Oh man your suggestion seems like it could beĀ end up losing all your events. What I would suggest if you have a good PHP developer that you have access to,

      run WP_Query() to get all events (ajde_events) like this

      $events = new WP_Query(array(

      ‘posts_per_page’=>-1, ‘post_type’=>’ajde_events’

      ));

      while($events->have_posts()): $events->the_post();

      update_post_meta($events->post->ID, ‘event_review’,’yes’);

      endwhile;

      wp_reset_postdata();

      There you ahve it i just gave you the whole code you can put this in your functions.php and load wp-admin it might take few minutes as it will do this for 500 events. after that remove the code from functions.php or else it will tun this everytime you load wp-admin

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON