Forums

Terms of Use
[resolved] [terms-url] shortcode not working (4 posts)

  1. Marcus Thompson
    Member
    Posted 1 year ago #

    The [terms-url] for the agreement check box...

    I have read and agree to the Terms & Conditions of Use

    ...is producing a strange url...

    http://powercore-fitness.com/\"http:/powercore-fitness.com/terms-and-conditions-of-use/\"

    Can you direct me to the php file where this is called so I can fix this?

    http://wordpress.org/extend/plugins/terms-of-use-2/

  2. Marcus Thompson
    Member
    Posted 1 year ago #

    I fixed the problem.

    I changed the html to:

    I have read and agree to the <*a href=terms-and-conditions-of-use/ target="_blank">Terms & Conditions of Use</a*> (omit the asterisks)

    This took care of the link issue and opens the link in a new window so the user doesn't have to leave the form.

  3. sswells
    Member
    Posted 1 year ago #

    I think the issue is on line 118 of terms-of-use2/classes/helpers/TouAppHelper.php

    Try changing this:
    <label for="terms" class="checkbox"><?php echo $agreement_text ?></label>

    to this:
    <label for="terms" class="checkbox"><?php echo stripslashes($agreement_text) ?></label>

    It would be appreciated if you could try this fix and post back if it worked for you. Thanks!

  4. Moogle Stiltzkin
    Member
    Posted 12 months ago #

    @sswells

    That totally fixed it. by changing line 118 with the solution you posted.

    So when i click register, and click show terms of usage, it goes to the term of use page i had set correctly this time, rather than a error page not found as before.

    Hm .... just something i noticed.

    When you click term of use, it ticks it .... why not have that pop up as a frame or a new windows rather than open in existing ?

    Just a thought :/

    Also is there any easier way to add a term of service to the bottom of the web site ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic