Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
23 views
ago in Q2A Core by

Background

I want to allow anonymous questions and answers on my Q&A site, but I want the people posting anonymously to agree to the ToS of my site when doing that. I already enabled reCAPTCHA for my site, and it looks like the easiest way to accomplish my goal would be to display a note "by submitting this post you agree to these ToS <link>" along with the captcha.

The main purpose is to a) avoid legal liability, and b) ensure that all content on my site is published under a Creative Commons license.

Question

The captchas displayed for anonymous questions/answers are accompanied by a notice "To avoid this verification in future, please log in or register." That text seems to be generated by this line in qa-include/app/captcha.php:

$notehtml = qa_insert_login_links(qa_lang_html('misc/captcha_login_fix'));

What would be the best way to add my additional text to that note? Udate the function call with my additional text? Or patch it into qa-include/lang/qa-lang-misc.php? How would I specify a link to my ToS there?

Q2A version: 1.8.4

Please log in or register to answer this question.

...