• chauthong

    (@chauthong)


    I encountered some errors while using the plugin, please take a look at the following problems

    – Don’t show ad title when in ad preview page
    – When the Admin bulk edits (e.g. approves) the ads, the (unregistered) users cannot edit their ads and get the message “You do not own this Ad.”

    Thank you!`

    • This topic was modified 3 years ago by chauthong.
    • This topic was modified 3 years ago by chauthong.
    • This topic was modified 3 years ago by chauthong.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. the Preview page does not show the title by default, if you would like to have it shown then you would need to edit the wpadverts/templates/add-preview.php template file

    The below code will show the title

    
    <h1><?php echo esc_html( get_post( $post_id )->post_title ) ?></h1>
    

    also if you customize the template file consider creating a child template file for it as explained here https://wpadverts.com/doc/child-themes-and-templates/

    2. we do not have a feature that would allow the unregistered users to edit the ads they posted, only users whose are logged-in or registered while posting the Ads can later edit them from the page with the [adverts_manage] shortcode.

    Thread Starter chauthong

    (@chauthong)

    Hi Greg Winiarski,

    2. I’m using your code: “https://github.com/simpliko/wpadverts-snippets/blob/master/anon-edit/anon-edit.php&#8221; to allow anonymous users to post and edit edit their post via a link sent to email. It worked fine and had only the problem I mentioned above. Can you please fix it in the next update?

    Thank you!

    Plugin Author Greg Winiarski

    (@gwin)

    Ok, sure, i will look into the snippet next week.

    Thread Starter chauthong

    (@chauthong)

    Thanks for your update!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors’ is closed to new replies.