Forum AideInfo.com Index du Forum

Ajouter cette page sur un site de bookmarks
scoopeo  fuzz  tapemoi  nuouz  bookeet  pioche  Partagez sur del.icio.us  Partagez sur digg.com  Partagez sur furl.net  Partagez sur Yahoo! Mon Web 2.0  Partagez sur StumbleUpon  Partagez sur Google Bookmarks  Partagez sur Technorati  Partagez sur blinklist  Partagez sur Newsvine  Partagez sur ma.gnolia  spurl  simpy

Publicité


Rechercher Liste des Membres Groupes d'utilisateurs Profil Connexion S'enregistrer Messagerie privéeMessagerie privée   Règles du forum Retour au siteRetour au site
  Poster un nouveau sujet Répondre au sujet Forum AideInfo.com Index du Forum » (Tutoriaux) Modification du forum   
Supprimer la fonction de suivi des réponses
Auteur Message
AideInfo
Administrateur
Expert phpBB


Inscrit le: 11 Juin 2002
Messages: 3913

MessagePosté le: 18 Sep 2005 12:13
MessageSujet du message: Supprimer la fonction de suivi des réponses
Répondre en citant

phpBB possède une fonction qui permet de recevoir un e-mail lorsqu'une réponse à postée dans un topic. Ceci pouvant générer beaucoup d'e-mails, il peut être nécessaire de la désactiver.

Code:
##############################################################
## Titre du MOD : Supprimer la fonction de suivi des réponses
## Auteur du MOD : Eric FICHOT (alias AideInfo)
##       http://forum.aideinfo.com/
## Description du MOD : Permet de supprimer la fonction de suivi des réponses
##
## Version du MOD: 1.0
##
## Niveau d'installation : facile
## Temps d'installation : environ 5 Minutes
## Fichiers à éditer :
##         includes/usercp_register.php
##         templates/nom_du_theme/posting_body.tpl
##         templates/nom_du_theme/profile_add_body.tpl
##         templates/nom_du_theme/viewtopic_body.tpl
##        templates/nom_du_theme/admin/user_edit_body.tpl
## Fichiers inclus : aucun
##
##############################################################
## Avant d'ajouter ce MOD à votre forum, vous devez sauvegarder
## tous les fichiers relatifs à ce MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}:</span><br />
      <span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
     <td class="row2">
      <input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>

#
#-----[ REPLACE WITH ]------------------------------------------
#
<!--<tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}:</span><br />
      <span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
     <td class="row2">
      <input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr> -->

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl

#
#-----[ FIND ]------------------------------------------
#
        <!-- BEGIN switch_notify_checkbox -->
        <tr>
         <td>
           <input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />
         </td>
         <td><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
        </tr>
        <!-- END switch_notify_checkbox -->

#
#-----[ REPLACE WITH ]------------------------------------------
#
        <!-- BEGIN switch_notify_checkbox -->
        <tr>
         <td>
         </td>
         <td></td>
        </tr>
        <!-- END switch_notify_checkbox -->

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
'NOTIFY_REPLY_YES' => ( $notifyreply ) ? 'checked="checked"' : '',
'NOTIFY_REPLY_NO' => ( !$notifyreply ) ? 'checked="checked"' : '',

#
#-----[ REPLACE WITH ]------------------------------------------
#
/*'NOTIFY_REPLY_YES' => ( $notifyreply ) ? 'checked="checked"' : '',
'NOTIFY_REPLY_NO' => ( !$notifyreply ) ? 'checked="checked"' : '',*/

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl

#
#-----[ FIND ]------------------------------------------
#
   <tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
     <td class="row2">
      <input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>

#
#-----[ REPLACE WITH ]------------------------------------------
#
<!--   <tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
     <td class="row2">
      <input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr> -->

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#

   <span class="gensmall">{S_WATCH_TOPIC}</span><br />
     &nbsp;<br />

#
#-----[ REPLACE WITH ]------------------------------------------
#

<!--   <span class="gensmall">{S_WATCH_TOPIC}</span><br />
     &nbsp;<br />-->

#
#-----[ SAVE/CLOSE ]------------------------------------------
#

#
#-----[ RUN SQL ]------------------------------------------
#

DELETE FROM phpbb_topics_watch;
UPDATE phpbb_users SET user_notify=0;

#
#End of mod

_________________
Services gratuits

phpBB-Tutoriaux, tous les tutoriaux pour débuter et utiliser phpBB
Voir le profil de l'utilisateur Envoyer un message privé Visiter le site web du posteur  
 
  Poster un nouveau sujet  Répondre au sujet Forum AideInfo.com Index du Forum » (Tutoriaux) Modification du forum

Informations
Page 1 sur 1
Permissions: Vous ne pouvez pas poster de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas voter dans les sondages de ce forum
Montrer les messages depuis:   
Page 1 sur 1
 
Sauter vers:  


Powered by phpBB v2 © 2001, 2005 phpBB Group ¦ Theme : Creamy White, modifié par Eric FICHOT pour AideInfo.com