• Resolved julien_e

    (@julien_e)


    Hi,
    Can I associate an ad to a user? Either as author, in any other way?
    This is so I can display it in users’ frontend dashboard dynamically, along with his/her posts.
    Thanks,
    Julien

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support schmidt25

    (@schmidt25)

    Hi Julien,

    Thanks for reaching out.

    There is the “author” display condition for this use. You can add it, for example, if you run a multi-author website and want to display certain ads associated with a specific author only in posts by that author. We describe such a setup in this tutorial.

    However, I am confused by the term “frontend dashboard”. If you intend to insert an overview of the ads created by each logged-in user in the general WordPress dashboard (backend) somehow, then it gets more complicated.

    Best regards,
    Joachim

    Thread Starter julien_e

    (@julien_e)

    Hi Joachim and thanks for your answer.
    Yes indeed I create front end dashboard for my clients.

    In the case of multi user sites indeed a little complex but achievable, I have done it a couple times.

    So each user has their own dashboard where they can CRUD (Create Read Update Delete) their own content.

    This works with posts as well as with custom post types. So the question is if I can do it with ads from Advanced Ads.

    My assumption is that structurally speaking, an Ad is a CPT. If so, I should be able to achieve what I want. Can you confirm please?

    In my next project, it so happens to be that I only need to display the ads, but no user actions will be available. So at least that simplifies things.

    Also, for the project at hand, I don’t need to associate the ads with any woo product. the ad is not the result of a transaction. That simplifies too. However, what I need to achieve is that the Admin can enter an Ad (in the backend this time), and associate it to one of their users. If the admin can pick the author, regardless of his/her role, that would be great. Do you confirm this is possible?

    For future projects, it would be great if these ads can be associated to a woo product. Woocommerce recurring payments support would be ideal. Is that the case of the pro version?

    Thanks kindly for your help,

    Julien

    Plugin Support schmidt25

    (@schmidt25)

    Hi Julien,

    Thanks for the explanation.

    The ads from Advanced Ads are a Custom Post Type.

    If the admin can pick the author, regardless of his/her role, that would be great. Do you confirm this is possible?

    You can add custom meta boxes like the author to your ad edit screen. Here, you can find some code snippets for this and dedicated code snippets for integration with Advanced Custom Fields.

    Please, note that we provide these code snippets without any guarantee or support. Only use the codes if you understand them and know how to add custom code to your WordPress site.

    For future projects, it would be great if these ads can be associated to a woo product. Woocommerce recurring payments support would be ideal. Is that the case of the pro version?

    You might put this idea on our feature requests list.

    Best regards,
    Joachim

    Thread Starter julien_e

    (@julien_e)

    Thanks for those precisions.
    Julien

    Plugin Support schmidt25

    (@schmidt25)

    You are welcome, Julien.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Associate an ad to a user’ is closed to new replies.