PDA

Afficher la version complète : Modifications diverses Restriction d'âge par forum pour poster



Sofia
04/06/2008, 13h02
Ce hack permet de restreindre, par forum, les utilisateurs n'ayant pas au moins X ans.
Les utilisateurs qui n'auront pas X années ne pourront alors pas poster de discussions/messages.


Remerciements


Ce Hack a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur. / This Hack was translated into French for vBulletin-Ressources with the explicit authorization of its author.



vBulletin-Ressources et son équipe offrira du support vis-à-vis des hacks traduits, bien sûr, dans la mesure du possible de chacun, autant en terme de temps que de connaissances/ vBulletin-Ressources and its team will offer support for the translated hacks, of course, as far as possible for everyone, as much in term of time that knowledge.



vBulletin-Ressources remercie l'auteur du hack pour avoir fourni son autorisation. / vBulletin-Ressources thanks the author for the hack to have provided its authorization.



Conception


Auteur du Hack / Author Of Hack : Kirk Y (http://www.vbulletin.org/forum/member.php?u=81286)
Source / Link of Thread : Per-Forum Age Restrictions on Posting (http://www.vbulletin.org/forum/showthread.php?t=173780)
Version du hack : 1.0.1

Version vBulletin Requise / Version vBulletin Required : vB 3.7
Testé / Tested : oui
Traducteur / Translator : Sofia

Copyright © 2006 vBulletin-Ressources.com - Tous droits réservés Uniquement pour nos traductions/ Copyright © 2006 vBulletin-Ressources.com - All Rights Reserved Only For Ours Translations

Installation

Importation du XML

Importez le fichier age_limites.xml depuis votre panneau d'administration.
Modules et Produits >> Gestionnaire de Produits >> Importer / Exporter des Produits


Configuration

Sur votre panneau d'administration, allez dans Gestionnaires de Forums puis Modifier le forum.


Screenshots et Archive

kevin2008
04/06/2008, 15h24
merci beaucoup car c'est trés utile. salutations

Ombre
04/06/2008, 17h30
Merci Sofia pour cette trad :)

sony
04/06/2008, 17h41
sympa, merci Sofia ;)

SynthaxError
05/06/2008, 07h56
Merci Sofia

poséidon
19/06/2008, 19h59
Merci Sofia pour cette trad

Allan
19/06/2008, 22h47
Merci pour cette trad Sofia :)

Max771
03/08/2008, 11h43
merci pour ce trad !

mais une fois ce produit installé,

j'ai ceci

Code d'installation

$db->hide_errors();
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bfr_age SMALLINT( 3 ) UNSIGNED NOT NULL DEFAULT '0'");
$db->show_errors();

Code de désinstallation

$db->hide_errors();
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP bfr_age");
$db->show_errors();

sa veut dire quoi exactement ?

Sofia
03/08/2008, 13h05
merci pour ce trad !

mais une fois ce produit installé,

j'ai ceci

Code d'installation

$db->hide_errors();
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bfr_age SMALLINT( 3 ) UNSIGNED NOT NULL DEFAULT '0'");
$db->show_errors();

Code de désinstallation

$db->hide_errors();
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP bfr_age");
$db->show_errors();

sa veut dire quoi exactement ?


Ta ça où? Le hack marche pas?

Max771
10/08/2008, 12h57
Ta ça où? Le hack marche pas?

j'ai cela dans :

Restrictions de l'âge par forum 1.0.1
quand je clic sur modifier:
sa ce trouve dans:

Code d'installation/désinstallation existant


et la a l'heure actuel sa ne marche pas !

teraksil
21/01/2009, 02h30
merci bcp sofia :)