How to add term and conditions to Claim listing?

This topic contains 8 replies, has 4 voices, and was last updated by  Stiofan O’Connor 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #373945

    rigots
    Lifetime Member
    Post count: 275

    Hi I ported some listing from you old website to my new site. The owner of the listing need to go through the claim listing process since I added the listing from my old platform to the new one.

    When they go through the “Claim” listing process there is no option to accept terms and conditions.
    Is there a wait add a check box to accept terms and conditions to the “Claim” listing process?

    I was thinking maybe the login in windows needs to have a check box to accept terms and conditions.
    Any other suggestions? and how do I do that?

    I am also planning on getting help to help business owners list their services, but they will all have to go through the claim listing process after the helper has helped them list their business, so I need a way for the owner to accept terms and conditions through the “Claim” listing process. What is your suggestion?

    Thank you.

    #373958

    Guust
    Moderator
    Post count: 29970

    At GD > Design > Listings tab, tick “Enable “Accept Terms and Conditions”.

    Then at GD > Permalinks > “Terms and Conditions page”, select the WP page you created with your terms.

    Thanks

    #373962

    rigots
    Lifetime Member
    Post count: 275

    Hi Guss,
    I already have both of those enabled. Those setting allow for the terms and conditions to appear toward the bottom of the listing page when I am adding a service.

    The problem here is different.
    Try claiming on of my listing in my website. I entered those listing manually with my user ID from the old website to these new one, now I need the owners to claim their listings and force them to accept the terms and conditions.

    I will send you my website info below in a private message.
    Try claiming any of the listings, they are all unclaimed now. You sill see that you go through the whole process and it never asked you to accept terms and conditions.

    Thanks,

    #373963

    rigots
    Lifetime Member
    Post count: 275
    This reply has been marked as private.
    #374005

    Guust
    Moderator
    Post count: 29970

    Oops, my mistake.
    You can either add an “agreement” button to the registration form with a plugin like “agreeable” or others.
    Or customise the claim form, similarly to what is explained here:
    https://wpgeodirectory.com/customise-send-enquiry-form/

    Thanks

    #374101

    rigots
    Lifetime Member
    Post count: 275

    Hi,
    I though we were not supposed to make changes to our theme or child theme because future updates would overwrite our changes.

    So instead of adding the code to my …/themes/supreme-directory/functions.php, can I add the code using my “snippets” plug in as I have for other changes?

    Thanks,

    #374102

    Paolo
    Site Admin
    Post count: 31211

    yes of course

    #374105

    rigots
    Lifetime Member
    Post count: 275

    OK,
    So I want to put check box that must be accepted at the buttom of “Claim Listing”, it should have a link next to it pointing to the terms and conditions, so they can read the terms and conditions by clicking on the link.

    The send button should complain if the terms and conditions check box is not clicked.

    This is exactly like the ‘add listing’ form. At the button it has a check box that must be clicked or the submit button will not allow you to submit.

    So I started by trying to figure out where to add this new check box in the “Claim Listing” form. I looked at “https://github.com/GeoDirectory/geodirectory/tree/master/geodirectory-templates” templates and I can not find the “Claim Listing” template.

    Can you let me know where to find the “Claim Listing” template? and any other advice on how to get this done will be helpful.

    I think this makes a great sample code to have handy for other user, since everyone should be having their clients agree to terms and conditions when claiming a listing.

    Thank you.

    #374122

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You can find the right hooks and info here: https://wpgeodirectory.com/codex/codex_project/geodir_claim_listing_actions/

    Basically for adding things use the same technique as this https://wpgeodirectory.com/customise-send-enquiry-form/
    But use the new hooks.

    Thanks,

    Stiofan

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount