• Resolved dlclark

    (@dlclark)


    Audioseastories.com trying to add a new advertisement, trouble: UI is no longer formed properly.

    Also, Moderator is not working correctly I believe: the user pays for his add through woocommerce, then automatically the ad is posted. MOderator does not get a change to approve.

    Daryl

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    1. go to wp-admin / Pages panel edit the “Create Classified AD” page, in the text editor click “Text” tab and make sure your shortcode is not wrapped inside <code> or <pre> tag.

    2. the paid ads are automatically activated when payment is received, right now it is not possible to hold them for moderation.

    Thread Starter dlclark

    (@dlclark)

    Thanks Greg, that resolved the formatting issue. Let me know if you think of a way to allow us to use MODERATE to verify the AD meets standards (that we publish to our subscribers).

    Also, is there a way to change the formatting of the CREATE AD page. Owners would like to change from “Title” to AD “Title”, in the US people may think you are asking if they are Mr. or Mrs. or Ms, etc.

    Thanks,

    Daryl

    Thread Starter dlclark

    (@dlclark)

    One other question: I used the re-order page originally to order by Title. Now all new ADS are displayed last, instead of by date.

    Anyway to fix this?

    Daryl()

    P.S. Thanks for everything, you do an amazing job of supporting your plugin!

    Plugin Author Greg Winiarski

    (@gwin)

    1. in next wpadverts-wc release there will be adext_wc_payments_order_paid action executed when Ad is paid you will be able to use it to change Ad status to pending

    
    add_filter("adext_wc_payments_order_paid", "my_adext_wc_payments_order_paid", 10, 2);
    function adext_wc_payments_order_paid( $order_id, $advert_id ) {
        wp_update_post( array(
            "ID" => $advert_id,
            "post_status" => "pending"
        ) );
    }
    

    but like i wrote this will be available in next release, or you can send me an email using contact form at https://wpadverts.com/contact/ i will send you a file which will enable it on site now.

    2. to change the Title field label you can add the code below to your theme functions.php

    
    add_filter( "adverts_form_load", "customize_adverts_add" );
    function customize_adverts_add( $form ) {
      if( $form['name'] != "advert" ) {
        return $form;
      }
      foreach( $form["field"] as $key => $field ) {
        if( $field["name"] == "post_title" ) {
            $form["field"][$key]["label"] = "Ad Title";
        }
      }
      return $form;
    }
    

    3. most likely the plugin changed wp_posts.menu_order column value for Adverts, the Ads are sorted first by menu_order (to allow featured ads) and then by date, you will need to restore the menu_order to 0 for ads.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WPADVERTS ADD MODERATOR=1’ is closed to new replies.