/*******************************************************************************
* MOD Post It :: version 1.0.0
*
* ---------- Auteur --------------------------------------------------------
* Auteur :: Piranas
* Email ::
floriani.damien@wanadoo.fr
* Site Web ::
http://piranas.imperiale.org
*
* ---------- Mod -----------------------------------------------------------
* Nom :: MOD Post-it
* Version :: 1.0.0
* Compatible :: FSB v1.0.2a
*
* Description :: Ce mod permet de crée des post-it, les droits sont aussi
* définissable depuis le PCA
*
*
*
* Temps d'installation :: 5 minutes
* Requètes :: Oui (1)
* Cache :: Oui (1)
* Fichiers joins :: 4
* Fichiers à modifier :: 2
*
* ---------- Note ----------------------------------------------------------
* Merci a Alexol pour les gif.
*
*
* ---------- Historique ----------------------------------------------------
* Commencé :: Le 11 / 09 / 2005
* Dernière modification ::
*
* Le 11 / 09 / 2005 ::
* Première version du MOD
*
*******************************************************************************/
#
# [1] --- copier ---------------------------------------------------------------
#
root/themes/images/s_postit.gif ==>> ./themes/images/s_postit.gif
root/themes/images/s_postit_nouv.gif ==>> ./themes/images/s_postit_nouv.gif
root/themes/images/s_postit_verrou.gif ==>> ./themes/images/s_postit_verrou.gif
root/themes/images/s_postit_verrou_nouv.gif ==>> ./themes/images/s_postit_verrou_nouv.gif
#
# [2] --- SQL ------------------------------------------------------------------
#
UPDATE fsb_sujets SET sujet_type = 2 WHERE sujet_type = 1
#
# [3] --- Cache ----------------------------------------------------------------
#
ALTER forum ADD droit_postit;
#
# [4] --- Ouvrir ---------------------------------------------------------------
#
includes/variable_general.php
#
# [5] --- chercher -------------------------------------------------------------
#
$droit_forum = array('droit_voir',
#
# [6] --- Dans la ligne chercher -----------------------------------------------
#
);
#
# [7] --- Apres rajouter -------------------------------------------------------
# ATTENTION A LA VIRGULE
, 'droit_postit'
#
# [8] --- chercher -------------------------------------------------------------
#
$sujet_type = array('annonce',
#
# [9] --- Apres rajouter -------------------------------------------------------
# ATTENTION A LA VIRGULE
'postit',
#
# [10] --- ouvrir ---------------------------------------------------------------
#
langues/fr/langue_module.php
#
# [11] --- chercher ------------------------------------------------------------
#
?>
#
# [12] --- avant ajouter -------------------------------------------------------
#
$langue['droit_postit'] = 'Droit de poster des Post-It';
$langue['type_sujet_postit'] = 'Post-it';
$langue['type_postit'] = 'Post-Its';