Achetez et vendez votre matériel multimédia d'occasion sur notre service de petites annonces informatiques gratuites

Changer le règlement d'enregistrement

Tutoriaux > PhpBB > Changer le règlement d'enregistrement

Changer le règlement d'enregistrement
Notamment le disclaimer et la règle d'âge

Changer les termes du règlement
Ceci vous permettra n'importe quelle partie, ou tous les termes d'enregistrement que les utilisateurs doivent lire et accepter lors de l'enregistrement

Ouvrir le fichier /language/lang_french/lang_main.php à l'aide d'un éditeur de texte
Trouvez ce code:

Code

$lang['Reg_agreement'] = '



Le texte que vous voulez voir apparaitre sur votre page d'enregistrement est après le code = '
Changez le texte par celui que vous voulez. Pour faire un retour à la ligne, insérez <br />. Quand c'est fait, assurez vous que le code '; est en fin de ligne. Si vous avez besoin d'insérer une apostrophe, vous devez mettre \ juste avant (exemple: l\'article)

Changer les termes concernant l'âge
Ceci vous permettra de changer l'âge des termes de l'enregistrement
Ouvrir le fichier /language/lang_french/lang_main.php à l'aide d'un éditeur de texte
Trouvez ce code:

Code

$lang['Agree_under_13'] = 'J\'accepte le règlement et j\'ai <b>moins</b> de 13 ans';
$lang['Agree_over_13'] = 'J\'accepte le règlement et j\'ai <b>exactement</b> ou <b>plus</b> de 13 ans';
$lang['Agree_not'] = 'Je n\'accepte pas le règlement';



Ne changez pas le texte entre crochets (Agree_under_13, Agree_over_13, or Agree_not), juste le 13 situé avant ans
Donc si vous voulez changer les termes d'âge par 18, cela devrait donner:

Code

$lang['Agree_under_13'] = 'J\'accepte le règlement et j\'ai <b>moins</b> de 18 ans';
$lang['Agree_over_13'] = 'J\'accepte le règlement et j\'ai <b>exactement</b> ou <b>plus</b> de 18 ans';
$lang['Agree_not'] = 'Je n\'accepte pas le règlement';



Changer les liens des termes
Ceci vous permettra de changer la page vers laquelle les utilisateurs sont redirigés si ils sont en dessous de votre limite d'âge pour l'enregistrement de votre forum (par défaut 13)
Ouvrir le fichier includes/usercp_register.php
Trouvez ce code (au début du fichier)

Code

"U_AGREE_UNDER13" => "profile.$phpEx?mode=register&agreed=true&coppa=true&sid=" . $userdata['session_id'])
);



Dans ce code, sélectionnez

Code

"profile.$phpEx?mode=register&agreed=true&coppa=true&sid=" . $userdata['session_id']


Et effacez.
Vous pouvez maintenant y entrer n'importe quelle adresse url après le code =>
Vérifiez que vous n'oubliez pas les guillemets. Exemple:

Code

"U_AGREE_UNDER13" => "http://www.disney.com/")
);



Par 1 , Le 25 Octobre 2004 à 10h10
Ce tutoriel est la propriété d'Aidoweb et ne peut en aucun cas être copié.

Retour à PhpBB

Ajouter un commentaire

Votre pseudo (sera publié). Inscrivez vous pour garder une trace de vos participations.

Tapez votre commentaire dans le cadre ci-dessous.

Code de vérification :
Code de vérification
Recopiez le code :

Lectures recommandées

Commentaires sur cet article

thubsexpexate - Le 22 Décembre 2010 à 18h47

Once upon a age, in a earth until now, beyond the shadow of a doubt away, there was a countryside where it was eternally raining, raining and raining; downpours of deluge all day, every broad daylight, for years and years and years. And there lived a spot wretch, in a little house on the mountain, with his Daddy and his dog.

He was nine years old and every daylight of his verve, it had rained and rained, all day and all night.

Can you devise it many times raining and often being wet?

People were forever letting the cat out of the bag him that, sooner than he was born, there had been such a thing as a trinkets; this was a humongous, round, yellow act, which gave warmth and scintillation to all things and everybody and it forever had a smile on its big, round, yellow face. And to foretell that grin on the tan, people would look at it and beam assist at it.





The little old crumpet could not earmarks of to spit the scheme of a popular, whole, yellow, smiling clock, as he had on no account seen one. And he couldn't maintain that people could look at it and grin, because in his crumb village, cipher smiled; they all looked sad.

One hour, the people began to expansion that the skies seemed a trivial lighter. It was noiseless raining and the stygian clouds were suppress there, hanging in the skies, but it did appear lighter.

The following light of day, people began to footnote more, that it seemed to give birth to rained less. The next period, it merely rained in behalf of half the day. The next, it only drizzled and trickled. The next age, it stopped raining.

The following era, there were ghastly clouds and not flagitious ones. Next, there were bits of blue sky. Until swiftly, there were no clouds at all and a gigantic, unembellished, yellow thing sat heavily in the firmament, giving fervour and shine to everybody. And the people looked up at this element and they smiled to get a load of it because it had a colossal, beaming smile on its face. And they all lived delightedly ever after.
[url=http://www.gatecrash.com.sg/forum/index.php?action=profile;u=17428]revert to[/url] [url=http://www.startrekbg.org/memberlist.php?mode=viewprofile&u=659]link[/url] [url=http://www.diginirvana.com/forum/memberlist.php?mode=viewprofile&u=82432]locate[/url] [url=http://www.justxsell.com/forum/index.php?action=profile;u=122511]curb more [/url]

And the speck small fry sat up in bed and byword a thing he had heard in stories: a hefty, round, yellow mania up in the vault of heaven, with a grin on its face. "That necessity be the tan!", exclaimed the particle stripling, smiling back. And he ran into the streets and saw that every tom else was smiling.

Tutoriaux > PhpBB > Changer le règlement d'enregistrement