The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Change text of user registration terms

View previous topic View next topic Go down

In progress Change text of user registration terms

Post by lrleitman on April 4th 2012, 4:35 pm

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,

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 on April 4th 2012, 6:29 pm

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
Forumaster

Male Posts : 10386
Reputation : 1687
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 on April 4th 2012, 11:06 pm

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
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 on April 17th 2012, 1:33 pm

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

lrleitman
Forumember

Posts : 155
Reputation : 1
Language : english

Back to top Go down

View previous topic View next topic Back to top


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