Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

3 Questions

I have 3 questions today. I have read a post on how to change the Terms Of Service, but i still do not understand how to do it. I found the Terms Of Service file, should i just paste my text in there?
I would like to add the Privacy Policy link write beside the Terms Of Use link. See screenshot.

Finally, i live in Louisville Kentucky, how do i set the correct time zone? I tried putting in config.php utc-4 but it did not work.

Thanks for the help.

Comments

  • I still don't understand how to change the time. This is what i did.
    $Configuration['Garden']['GuestTimeZone'] = " America/Kentucky/Louisville";

    Do you know what i need to put in to change the Terms Of Use? I understand the config.php, but i don't know what the value should be for this code.

  • peregrineperegrine MVP
    edited September 2015

    In addition to what whu606 said:

    I have 3 questions today.

    if they are not related you should have posted a new discussion for each with an appropriate descriptive title.

    I have read a post on how to change the Terms Of Service, but i still do not understand how to do it.

    what post did you read so we might decipher it for you.

    I found the Terms Of Service file, should i just paste my text in there?

    no don;'t change the core vanilla files, it will get overwritten next time.

    I would like to add the Privacy Policy link write beside the Terms Of Use link. See screenshot.

    thank you @whu606 - you are the very first person to ever reference the FAQ in a comment and provide a link (besides me). So, I give you the Peregrine high 5 prize for doing so. :grin:

    also besides the FAQ -(question 4 specifically) there is a tutorials category (it helps with various things).

    you will see this discussion:

    http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale#latest

    so

    $Definition['I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>'] = 'I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>.  The privacy policy can be found <a id="Privacy" class="Popup" target="privacy" href="http://myforum/myprivacylocation.html">here</a>';
    

    Finally, i live in Louisville Kentucky, how do i set the correct time zone? I tried putting in config.php utc-4 but it did not work.

    this is question 1 in the FAQ :)

    http://vanillaforums.org/discussion/comment/218971/#Comment_218971

    Thanks for the help.

    no problem.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • I did not create multiple posts cause i thought that might be taken as rood and trying to over load the forums.

    I put the code in locale.php. However, when i tried to open the Privacy Policy from the register screen, this is what i got.

    I also did read the FAQ believe it or not. I cannot get it to work. My example code is above. That is what i pasted in at the bottom of the garden section of code. Am i only suppose to use eastern or what? That PHP website does not help much.

    http://forums.yourtechadvisors.com

  • Here is the Terms Of Service post link. You told me not to go this way though.
    http://vanillaforums.org/discussion/13407/terms-of-service

  • @ytadvisors said:
    I did not create multiple posts cause i thought that might be taken as rood and trying to over load the forums.

    to me, it is better to have distinct questions in posts with descriptive titles.

    for the kentucky timezone - that is eastern u.s. correct.

    then you could use

    $Configuration['Garden']['GuestTimeZone'] = "America/New_York";

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • OK, got that straightened out.

    I don't know what to do about the Privacy Policy. All it does is show the loading screen then it shows the funny icon like in the picture above.

  • peregrineperegrine MVP
    edited September 2015

    I put the code in locale.php. However, when i tried to open the Privacy Policy from the register screen, this is what i got.

    everything looks good. except you need to point to a decent link location, I gave you an example of a structure.....
    $Definition['I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>'] = 'I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>. The privacy policy can be found <a id="Privacy" class="Popup" target="privacy" href="http://myforum/myprivacylocation.html">here</a>';
    in the above definition I gave YOU NEED to point to where your privacy information.

    change accordingly.

    href="http://myforum/myprivacylocation.html"

    where is your privacy notice located?


    Here is the Terms Of Service post link. You told me not to go this way though.
    http://vanillaforums.org/discussion/13407/terms-of-service

    which says ...
    http://vanillaforums.org/discussion/comment/147391/#Comment_147391

    this is better....

    $Definition['TermsOfServiceText'] in locale.php

    exactly .... but you are not changing terms of service you said you wanted to add privacy policy ink I thought.

    if you want to add your privacy policy and terms of service into one link.

    do you want to have a separate Terms of Service and a Separate Privacy?

    you can use the privacy notice plugin as well.

    you can also change the terms of service link (without a definition) via config.php

    $Configuration['Garden']['TermsOfService'] = "http://yahoo.com";

    but I don't think you want to do it.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • OK, i will point it to the correct area. Yes, i did want a separate Terms Of Use and Privacy Policy. I just needed the Privacy Policy to gbe referenced at sign up so people new what they would be agreeing to.

  • peregrineperegrine MVP
    edited September 2015

    if you want to change the terms of service text. this is the easiest way through definitions.

    $Definition['TermsOfServiceText'] = '<p>You agree to the TT advisors manifesto</p> <img src="http://w2.vanillicon.com/v2/220fe8025ea2d8179e1643df03fc9883.svg">';

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • edited September 2015

    I have used this code to define where my privacy policy is. I want to link to the already existing privacy policy that is there. The code below is not working. Yes, i attempted to customize it, i am not a coder as it seems.

    '$Definition['I agree to the terms of service'] = 'I agree to the terms of service. The privacy policy can be found privacy policy';'

  • OK, so now i have made another change. This time it says page not found.
    $Definition['I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>'] = 'I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>. The privacy policy can be found <a id="Privacy" class="Popup" target="privacy" href="http://forums.yourtechadvisors.com/privacy.htmll">here</a>';
    The URL of the privacy policy is http://forums.yourtechadvisors.com/privacy.html
    So as you can see, the page can be found. What is going on now?

  • peregrineperegrine MVP
    edited September 2015

    .

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • edited September 2015

    What am i missing? Here is what i have in the page.
    Name: privacy.html
    <html> <body> privacy policy content. </body> </html>

  • Got it fixed. Here is what i did in case someone else runs in to this.
    locale.php
    $Definition['I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>'] = 'I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>. The privacy policy can be found <a id="Privacy" class="Popup" target="privacy" href="http://forums.yourtechadvisors.com/privacy.html">here</a>';
    privacy.html
    <?php if (!defined('APPLICATION')) exit(); ?> <html> <body> Privacy Policy Text. </body> </html>

  • Thanks everyone for taking the time to answer my extremely long questions.

Sign In or Register to comment.