Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Rules and terms  (Read 3887 times)

0 Members and 1 Guest are viewing this topic.

kaldenord.com

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://kaldenord.com
Rules and terms
« on: January 01, 2004, 04:36:37 pm »

When a user is registering in the coppermine 1.2.1 he/she gets a "rules & terms" dialog where they need to accept the rules and terms to continue to register as a user..

Where can I change this rules & terms tekst?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Rules and terms
« Reply #1 on: January 01, 2004, 04:54:30 pm »

In lang/'your language'.php.  Look for

Code: [Select]
// File register.php & profile.php
// ------------------------------------------------------------------------- //


you will find it directly after this.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

kaldenord.com

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://kaldenord.com
Rules and terms
« Reply #2 on: January 01, 2004, 05:17:10 pm »

Thanks.. that solved it for me, but it made a new request come too

I did write my spesific terms like this

texttexttexttexttext
1. Rule
2. Rule
 a. term
 b. term

but it displays it like this
texttexttexttexttext 1. Rule 2.Rule a. term b.term

Is there a way that I can put a linebreak into the text?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Rules and terms
« Reply #3 on: January 01, 2004, 05:31:30 pm »

Yes, simply use the html code, as was in before.
Just add a <br/> where you want a break.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

kaldenord.com

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://kaldenord.com
Rules and terms
« Reply #4 on: January 01, 2004, 05:36:54 pm »

There was no html kode in before..

But using the <br> kode worked all fine.

Thank you for the help so far
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Rules and terms
« Reply #5 on: January 01, 2004, 05:38:39 pm »

you can use html commands there, like this:
Code: [Select]
$lang_register_disclamer = <<<EOT
<ol>
<li>While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.</li>
<li><b>No bullshit</b><br />
You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.</li>
<li><b>Privacy</b><br />
This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.</li>
<li>Another rule
     <ul>
     <li>Term One</li>
     <li>Term Two</li>
     </ul>
</li>
</ul>
By clicking 'I agree' below you agree to be bound by these conditions.
EOT;

<br> actually is html code, isn't it :wink: ?

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Rules and terms
« Reply #6 on: January 01, 2004, 05:39:14 pm »

Ok, I assumed because there was in the english.php, there would be in yours too, sorry about that.

Anyway, glad it helped  :wink:
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.