The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Change text of user registration terms

3 posters

Go down

In progress Change text of user registration terms

Post by lrleitman April 4th 2012, 17:35

Hi,
When new user is registered he needs to sign that he is above 13 and there is a text stating forum terms ...
can I change the text there or at least add to it my own terms and rules ?

thanks,
avatar
lrleitman
Forumember

Posts : 155
Reputation : 1
Language : english

Back to top Go down

In progress Re: Change text of user registration terms

Post by Base April 4th 2012, 19:29

Hi, you can add to these terms at:

1. Administration Panel (advanced mode)
2. General Tab
3. Additional Rules (on the left, under Rules and FAQ)
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

In progress Re: Change text of user registration terms

Post by Zenn April 5th 2012, 00:06

Hi author!

In Control Panel ->> Modules ->> HTML and Javascript ->> Management of HTML ->> Create a new page HTML ->>
Paste the fallowing code:
Code:
<script>
jQuery(document).ready(function(){

var log = jQuery("a[href*='login.forum']").attr("href");
var logout = new RegExp("logout=true");
var testlog = logout.test(log);
if ( testlog == true ){ jQuery("#register").remove();}

jQuery("#check").click(function(){
var statu = jQuery(this).attr("checked");
if (statu == true || statu == 'checked' )
{
jQuery("#submit").attr("class","button1 cgu-buttons").attr("href","./profile.forum?mode=register&agreed=true&step=2").html("To continue my register!");
}
else
{
jQuery("#submit").attr("class","button2 cgu-buttons").attr("href",".").html("I do not agree with the terms of use!");
}
});
});
</script>

<div id="register">
<p style="font-size:10pt">Remember that we are not responsible for any messages posted. We do not vouch for or warrant the accuracy, completeness or usefulness of any message, and are not responsible for the content of any message. <br>

The messages express the views of the author of the message, not necessarily the views of this bulletin. Any user who feels that a posted message is objectionable is encouraged to contact us immediately by email. We have the ability to remove objectionable messages and we will make every effort to do so, within a reasonable time, if we determine that removal is necessary.<br>

You agree, through your use of this service, you will not use this bulletin board to post any material which is knowingly false and / or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, <br> invasion of privacy of a person, or violates any law.<br>

You agree not to post any copyrighted material unless the copyright is owned by you or by this forum.</p>


<br/><br/>
<input type="checkbox" id="check"/>
<b>I have read, understood and agree to these rules and conditions in this community wishing to register.</b><br/><br/>
<center><a id="submit" class="button2 cgu-buttons" href=".">I do not agree with the terms.</a></center></div></li>

Control Panel ->> Modules ->> HTML and Javascript ->> Management of JavaScripts codes ->> Create a new javascript ->>
In "Investiment", check "In all pages" and add the following code:
$(document).ready(function(){$("a[href*='/register']").each(function(){$(this).attr("href","ADDRESS_OF_PAGE_HTML")})});
And save (confirmed).

OBS: Just to remember them, this code works for all versions. And the result is seen when the offline user account.

Wink
Zenn
Zenn
New Member

Posts : 5
Reputation : 1
Language : Portuguese
Location : Brazil

http://shiftactive.blogspot.com/

Back to top Go down

In progress Re: Change text of user registration terms

Post by lrleitman April 17th 2012, 14:33

Does this code will replace the default Englis text shown in any forum with what I decide ?
avatar
lrleitman
Forumember

Posts : 155
Reputation : 1
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum