Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur!

3 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur!

Message par Shadow Mar 17 Mar 2009 - 11:21

Cher utilisateurs Forumactif,

Nous vous informons que la mise à jour se fera d'ici quelques heures, voire quelques minutes.

Voici en détail, les fonctionnalités qui seront ajoutées à vos forums.

Connexion flottante

Permet d’afficher dans un pop-up, les éléments permettant une connexion rapide du membre ou inscription rapide de l’invité.

L’admin pourra ajouter un message personnel à ce pop-up.

Cette fonctionnalité se trouve dans Général -> Forum -> Configuration

Flood Control

Permet à l’admin de brider la création d’un sujet, d’un post ou d’un message privé. Les unités sont en secondes et la valeur maximale est 999 999 secondes, soit 277 heures, soit 11.5 jours

Cette fonctionnalité se trouve dans Général ->forum -> sécurité

Multi-quote

Cette option permet d’afficher ou non, un bouton de multi-citation. Il sera mnt très facile de citer plusieurs posts en même temps. Ce bouton fonctionne selon le principe de sélection/ désélection.

Cette fonctionnalité se trouve dans Général -> Messages et emails -> messages

Annonces défilantes

Une des fonctionnalités les plus prometteuses en termes de possibilité d’évolution. Elle permet d’afficher des annonces sous forme de texte ou d’images soit, sur toutes les pages du forum, l’accueil ou le portail.

Les annonces peuvent défiler vers la gauche, la droite, le haut ou le bas à des vitesses réglées par l’admin. De plus, elles peuvent aussi marquer un temps d’arrêt et l’admin peut aussi définir l’espace vertical ou horizontal entre chaque annonce. Il n’y a pas pour le moment de limite dans le nombre d’annonce.

Cette fonctionnalité se trouve dans Général -> Messages et Emails -> Annonces

Système de points

Le système de points est un système basé sur différent critères et qui permet aux utilisateurs de s’évaluer, voire d’entrer en compétition.

Comment sont calculés les points ? Ca se résume par l’addition :
- des points engendrés par le nombre de messages postés
- des points engendrés par le nombre de topics créés
- des points engendrés par le nombre d’amis que l’utilisateur a
- des points de réputation
- des points engendrés par l’ancienneté du membre
- des points engendrés par le nombre de message sur son profil

L’administrateur du forum peut modifier beaucoup de paramètres au niveau de cette fonctionnalité : en effet pour chaque addition susmentionnée, il peut en modifier les gains de points par action.

Pour la création de messages et topics, il peut également modifier les gains de points pour chaque forum.
Le champ des points peut être affiché soit sur le profil, soit dans les messages ou les deux tout en tenant compte du statut des membres qui le verront. Le nom du champ peut aussi être modifié.

Vous pouvez trouver cette fonctionnalité dans Modules -> Points et réputation -> Système de points.

Système de réputation

Le système de réputation, comme vous l’aurez remarqué, est une sous partie du système de points. Il fonctionne également avec des points.

La réputation est composée des points liés aux évaluations des posts par les utilisateurs et des points liés à la fonctionnalité « Merci »

Dans chaque posts, si la fonctionnalité est activée, des petits boutons permettant d’évaluer le post seront apparents. Chaque évaluation de post positive ou négative peut faire gagner ou perdre des points de réputation à l’utilisateur qui a posté le message. Le nombre de points gagnés ou perdus peut être modifié et peut être personnalisé pour chaque forums du forum.
Le bouton « Merci » permet à un membre ayant créé un topic de remercier l’utilisateur ayant écrit le message qu’il considère comme le plus pertinent. Le post apparaitra alors en surligné.
Le champ des points peut être affiché soit sur le profil, soit dans les messages ou les deux tout en tenant compte du statut des membres qui le verront. Le nom du champ peut aussi être modifié.
De plus, plusieurs options liées à la réputation ont pour but de limiter l’utilisation de cette fonctionnalité selon certains critères (cf. le panneau d’admin).

Profil avancé

Le profil avancé est un « remake » du profil VBulletin. Cela nous permettra d’attirer certains utilisateurs chez nous.

On y retrouve différents onglet comme :
- les messages utilisateur : permet d’écrire un message sur le profil d’un membre.
- les amis : liste des amis du membre.
- les statistiques.
- les informations de contact : permet de contacter le membre.
- Les champs du profil : C’est ici que les champs du profil d’afficheront.

Cette fonctionnalité peut être désactivée, c’est alors le profil simple (actuel) qui s’affichera.

Elle se trouve dans utilisateurs et groupes -> utilisateurs -> Profils.

Champs du profil

Nous avons également modifié la gestion des champs du profil. Nous avons poussé plus loin les fonctionnalités afin de s’adapter au profil avancé.

Cette fonctionnalité se trouve dans utilisateurs et groupes -> utilisateurs -> Profils.

Modifier les valeurs des champs des profils personnalisés via le profil des membres

La valeur du profil personnalisé d'un membre est désormais modifiable via son profil simple/avancé.

* Qui peut modifier depuis la page du profil?


  • Les membres peuvent modifier les valeurs des champs de son propre profil si les champs sont modifiables par le membre.
  • Les modérateurs peuvent modifier les valeurs des champs pour les membres si les champs sont modifiables par les modérateurs.
  • Les
    administrateurs peuvent modifier les valeurs des champs pour les
    membres les modérateurs si les champs sont modifiables par les admins.
* Où puis-je définir les permissions?

Vous pouvez définir les permissions différentes pour les champs via PA > Utilisateurs & Groupes > Profil

* Comment je fais pour modifier?

Il vous suffit de cliquer l'avatar ou le pseudo du membre que vous voulez modifier.

*
Les images de la nouvelle "édition des champs" +"validation des champs" sont personnalisables

PA >> gestion des images >> boutons >> Édition d'un champ + Validation d'un champ


Dernière édition par Zen le Ven 27 Mar 2009 - 12:31, édité 5 fois
Shadow

Shadow
Modéractive
Modéractive

Féminin
Messages : 24354
Inscrit(e) le : 30/03/2007

Shadow a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Re: Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur!

Message par The Godfather Mar 17 Mar 2009 - 13:22

Pour les nouvelles fonctionnalités, si vous avez modifié le template overall_header_new, veuillez tout d'abord faire la modification mentionnée ici, puis :

Si les templates de phpbb2 ont été modifiés, voici les changement a apporter pour chacune des nouvelles fonctionnalités. Si un des templates cité n'a pas été modifié, il est inutile d'y apporter ces changements : ils sont déjà fait automatiquement.


  • Liste des membres

    • memberlist_body

      • Remplacer :
        Code:
        <tr>
         <th class="thCornerL" nowrap="nowrap" height="25">#</th>
         <th class="thTop" nowrap="nowrap">{L_PM}</th>
         <th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
         <!-- BEGIN switch_th_group -->
         <th class="thTop" nowrap="nowrap">{L_GROUPS}</th>
         <!-- END switch_th_group -->
         <th class="thTop" nowrap="nowrap">{L_FROM}</th>
         <th class="thTop" nowrap="nowrap">{L_JOINED}</th>
         <th class="thTop" nowrap="nowrap">{L_VISITED}</th>
         <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
         <th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>
        </tr>
        <!-- BEGIN memberrow -->
        <tr>
         <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
         <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.PM_IMG} </td>
         <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a class="gen" href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></span></td>
         <!-- BEGIN switch_td_group -->
         <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">{memberrow.GROUPS}</span></td>
         <!-- END switch_td_group -->
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.LASTVISIT}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.WWW_IMG} </td>
        </tr>
        <!-- END memberrow -->
        Par :
        Code:
        <tr>
         <th class="thCornerL" nowrap="nowrap" height="25">#</th>
         <th class="thTop" nowrap="nowrap">{L_AVATAR}</th>
         <th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
         <!-- BEGIN switch_th_group -->
         <th class="thTop" nowrap="nowrap">{L_GROUPS}</th>
         <!-- END switch_th_group -->
         <th class="thTop" nowrap="nowrap">{L_INTERESTS}</th>
         <th class="thTop" nowrap="nowrap">{L_JOINED}</th>
         <th class="thTop" nowrap="nowrap">{L_VISITED}</th>
         <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
         <th class="thTop" nowrap="nowrap">{L_PM}</th>
         <th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>
        </tr>
        <!-- BEGIN memberrow -->
        <tr>
         <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
         <td class="{memberrow.ROW_CLASS}" align="center"><div class="avatar mini"><a href="{memberrow.U_VIEWPROFILE}">{memberrow.AVATAR_IMG}</a></div></td>
         <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a class="gen" href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></span></td>
         <!-- BEGIN switch_td_group -->
         <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">{memberrow.GROUPS}</span></td>
         <!-- END switch_td_group -->
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.INTERESTS}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.LASTVISIT}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
         <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.PM_IMG} </td>
         <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.WWW_IMG} </td>
        </tr>
        <!-- END memberrow -->

  • Multiquote

    • viewtopic_body

      • Ajouter au début du fichier :
        Code:
        <script type="text/javascript">
        //<![CDATA[
        var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}';
        var multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}';
        //]]>
        </script>

      • Au début de la ligne qui contient :
        Code:
        {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
        Ajouter :
        Code:
        {postrow.displayed.MULTIQUOTE_IMG}

  • Merci

    • viewtopic_body

      • Au début de la ligne qui contient :
        Code:
        {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
        Ajouter :
        Code:
        {postrow.displayed.THANK_IMG}

  • Vote

    • viewtopic_body

      • Remplacer :
        Code:
        <tr>
         <td colspan="2"><span class="postbody"><!-- google_ad_section_start -->{postrow.displayed.MESSAGE}<!-- google_ad_section_end -->{postrow.displayed.SIGNATURE}</span><span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span></td>
        </tr>
        Par :
        Code:
        <tr>
         <td colspan="2">
          <!-- BEGIN switch_vote_active -->
          <div class="vote gensmall">
          <!-- BEGIN switch_vote -->
          <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
          <!-- END switch_vote -->
         
          <!-- BEGIN switch_bar -->
          <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
            <!-- BEGIN switch_vote_plus -->
            <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
            <!-- END switch_vote_plus -->
         
            <!-- BEGIN switch_vote_minus -->
            <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
            <!-- END switch_vote_minus -->
          </div>
          <!-- END switch_bar -->
         
          <!-- BEGIN switch_no_bar -->
          <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
          <!-- END switch_no_bar -->
         
          <!-- BEGIN switch_vote -->
          <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
          <!-- END switch_vote -->
          </div>
          <!-- END switch_vote_active -->
         
          <span class="postbody">
          <!-- google_ad_section_start -->
          {postrow.displayed.MESSAGE}
          <!-- google_ad_section_end -->
          {postrow.displayed.SIGNATURE}
          </span>
          <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
         </td>
        </tr>

  • Champs du profil

    • viewtopic_body

      • Remplacer :
        Code:
        <td class="{postrow.displayed.ROW_CLASS}" valign="top" width="150">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
         <span class="postdetails poster-profile">
          {postrow.displayed.POSTER_RANK}<br />
          {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
          {postrow.displayed.POSTER_GENDER}
          {postrow.displayed.ZODIAC_IMG}
          {postrow.displayed.CHINESE_IMG}<br />
          {postrow.displayed.POSTER_AGE_INT} {postrow.displayed.POSTER_AGE}
          {postrow.displayed.POSTER_JOINED_INT} {postrow.displayed.POSTER_JOINED}
          {postrow.displayed.POSTER_POSTS_INT} {postrow.displayed.POSTER_POSTS}
          {postrow.displayed.POSTER_FROM_INT} {postrow.displayed.POSTER_FROM}
          {postrow.displayed.POSTER_HOBBIES_INT} {postrow.displayed.POSTER_HOBBIES}
          {postrow.displayed.POSTER_HUMOR_INT} {postrow.displayed.POSTER_HUMOR}
          {postrow.displayed.POSTER_PERSONALIZED_PROFILE} {postrow.displayed.POSTER_RPG}
         </span><br />
         <img src="http://2img.net/i/fa/vide.gif" alt="" style="width: 150px; height: 1px;" />
        </td>
        Par :
        Code:
        <td class="{postrow.displayed.ROW_CLASS}" valign="top" width="150" style="background-color:#{postrow.displayed.THANK_BGCOLOR};">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
          <span class="postdetails poster-profile">
          {postrow.displayed.POSTER_RANK}<br />
          {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
          <!-- BEGIN profile_field -->
          {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
          <!-- END profile_field -->
          {postrow.displayed.POSTER_RPG}
         </span><br />
         <img src="http://2img.net/i/fa/vide.gif" alt="" style="width: 150px; height: 1px;" />
        </td>

    • profile_view_body

      • Remplacer :
        Code:
         <tr>
          <td align="right" valign="middle" nowrap="nowrap"><span class="gen">{L_LOCATION}: </span></td>
          <td><b><span class="gen">{LOCATION}</span></b></td>
         </tr>
         <tr>
          <td align="right" valign="middle" nowrap="nowrap"><span class="gen">{L_WEBSITE}: </span></td>
          <td><span class="gen"><b>{WWW}</b></span></td>
         </tr>
         <tr>
          <td align="right" valign="middle" nowrap="nowrap"><span class="gen">{L_OCCUPATION}: </span></td>
          <td><b><span class="gen">{OCCUPATION}</span></b></td>
         </tr>
         <tr>
          <td align="right" valign="top" nowrap="nowrap"><span class="gen">{L_INTERESTS}: </span></td>
          <td><b><span class="gen">{INTERESTS}</span></b></td>
         </tr>
         <tr>
          <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_GENDER}: </span></td>
          <td> <b><span class="gen">{GENDER}</span></b></td>
         </tr>
         <tr>
          <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_BIRTHDAY}: </span></td>
          <td><b><span class="gen">{BIRTHDAY} {ZODIAC_IMG}{CHINESE_IMG}</span></b></td>
         </tr>
        <!-- BEGIN switch_profile_fields -->
          <tr>
          <td colspan="2" class="catLeft" align="center"><b><span class="gen">
            <form action="profile.forum?mode=viewprofile&u={USER_ID}" method="post">
            <input type="hidden" name="userid" value="{USER_ID}" />
            {L_PROFILE_FIELDS}</span></b>
          </td>
          </tr>
          <!-- BEGIN field -->
          <tr>
          <td class="gensmall row1" align="right"><span>{switch_profile_fields.field.NAME}:</span></td>
          <td class="gensmall row2" valign="middle"><span>{switch_profile_fields.field.OBJECT}</span><br /></td>
          </tr>
          <!-- END field -->
          <!-- BEGIN show_submit -->
          <tr>
          <td class="gensmall row1" align="right"></td>
          <td class="gensmall row2" valign="middle"><input type="submit" value="{L_MODIFY}" name="modify_profilefields" class="liteoption" /><br /></td>
          </tr>
          <!-- END show_submit -->
          </form>
        <!-- END switch_profile_fields -->
        Par :
        Code:
        <!-- BEGIN profile_field -->
                    <tr>
                        <td width="40%" align="right" valign="top" nowrap="nowrap"><span class="gen">{profile_field.LABEL} </span></td>
                        <td width="60%" width="100%"><b><span class="gen">{profile_field.CONTENT}</span></b><!-- BEGIN profil_type_user_posts --><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br />
                        <span class="genmed"><a class="genmed" href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS} :</a><br />
                          - <a class="genmed" href="{U_SEARCH_USER}">{L_TOPICS}</a><br />
                          - <a class="genmed" href="{U_SEARCH_USER}&show_results=posts">{L_POSTS}</a></span><!-- END profil_type_user_posts --></td>
                    </tr>
                    <!-- END profile_field -->
      • Remplacer :
        Code:
        <tr>
         <td class="row1" valign="top" height="{S_CONTACT_HEIGHT}">
         <table width="100%" border="0" cellspacing="1" cellpadding="0">
         {L_EMAIL_ADDRESS}
         {EMAIL_IMG}
         <tr>
          <td align="right" valign="middle" nowrap="nowrap"><span class="gen">{L_PM}:</span></td>
          <td class="row1" valign="middle"><b><span class="gen">{PM_IMG}</span></b></td>
         </tr>
         {L_MESSENGER}
         {MSN_IMG}
         {L_YAHOO}
         {YIM_IMG}
         {L_AIM}
         {AIM_IMG}
         {L_ICQ_NUMBER}
         
          <td class="row1">
        <script type="text/javascript">
        <!--
        if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 ) {
         document.write(' {ICQ_IMG}');
        } else {
         document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute">{ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div></td></tr></table>');
        }
        //-->
        </script>
        <noscript>
        {ICQ_IMG}
        </noscript>
         {L_SKYPE}
         {SKYPE_IMG}
          </td>
         </tr>
         
        <!-- BEGIN switch_admin_user_comment_active -->
         <tr>
          <td align="right" valign="middle" nowrap="nowrap" width="10%">
          <span class="gen">{L_COMMENTS} :</span><br /><span class="gensmall">{L_MODS_AND_ADMINS}</span>
          </td>
          <td class="row1" valign="middle" width="90%">
          <table align="center">
            <tr>
            <td>
            <form action="{S_PROFILE_ACTION}" method="post" name="user_comment">
              <input type="hidden" value="update_admin_user_comment" name="mode" />
              <input type="hidden" value="{USER_ID}" name="userid" />
              <textarea class="post" name="admin_user_comment_text" rows="8" cols="30">{ADMIN_USER_COMMENT}</textarea>
              <br />
              <input type="submit" class="mainoption" name="user_comment_maj" value="{L_UPDATE}" />
            </form>
            </td>
            </tr>
          </table>
         
          </td>
         </tr>
         
        <!-- END switch_admin_user_comment_active -->
          </table>
          </td>
         </tr>
        Par :
        Code:
         <tr>
          <td class="row1" valign="top" height="{S_CONTACT_HEIGHT}">
          <table width="100%" border="0" cellspacing="1" cellpadding="0">
            <!-- BEGIN contact_field -->
            <tr>
            <td width="40%" align="right" valign="middle" nowrap="nowrap"><span class="gen">{contact_field.LABEL}</span></td>
            <td width="60%" valign="middle"><b><span class="gen">{contact_field.CONTENT}</span></b></td>
            </tr>
            <!-- END contact_field -->
            <!-- BEGIN switch_admin_user_comment_active -->
            <tr>
            <td align="right" valign="middle" nowrap="nowrap" width="50%">
              <span class="gen">{L_COMMENTS} :</span><br /><span class="gensmall">{L_MODS_AND_ADMINS}</span>
            </td>
            <td class="row1" valign="middle">
              <table align="center">
              <tr>
                <td>
                {ADMIN_USER_COMMENT}
                </td>
              </tr>
              </table>
            </td>
            </tr>
            <!-- END switch_admin_user_comment_active -->
          </table>
          </td>
         </tr>
The Godfather

The Godfather
Adminactif
Adminactif

Masculin
Messages : 18297
Inscrit(e) le : 02/05/2004

The Godfather a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Re: Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur!

Message par Shadow Ven 20 Mar 2009 - 16:06


  • Annonce défilante
    Pour faire marcher l'annonce défilante si vous avez modifié le template overall_header_new, veuillez tout d'abord faire la modification mentionnée ici, puis :

    • overall_header_new

      • Remplacer :
        Code:
        <!-- BEGIN switch_enable_pm_popup -->
        <script type="text/javascript">
        //<![CDATA[
            pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
            pm.focus();
        //]]>
        </script>
        <!-- END switch_enable_pm_popup -->
         
        <!-- BEGIN switch_report_popup -->
        <script type="text/javascript">
        //<![CDATA[
            report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
            report.focus();
        //]]>
        </script>
        <!-- END switch_report_popup -->
        Par :
        Code:

        <!-- BEGIN switch_ticker -->
        <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
        <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
        <!-- END switch_ticker -->
        <script type="text/javascript">
        //<![CDATA[
        $(document).ready(function(){
            <!-- BEGIN switch_enable_pm_popup -->
                pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
                pm.focus();
            <!-- END switch_enable_pm_popup -->
            <!-- BEGIN switch_report_popup -->
                report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
                report.focus();
            <!-- END switch_report_popup -->
            <!-- BEGIN switch_ticker -->
                ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
            <!-- END switch_ticker -->
        });
         
        <!-- BEGIN switch_login_popup -->
            var logInPopUp, logInIframe, logInContent, logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false, logInPopUpCss = '{T_HEAD_STYLESHEET}';
        <!-- END switch_login_popup -->
        //]]>
        </script>
      • Remplacer :
        Code:

        <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
         <tr>
          <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
         </tr>
        </table>
        <div style="clear: both;"></div>
        Par :
        Code:
        <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
         <tr>
          <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
         </tr>
        </table>
         
        <div style="clear: both;"></div>
         
        <!-- BEGIN switch_ticker -->
        <div id="fa_ticker_block" class="forumline" style="margin-top:4px;margin-bottom:4px;">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
          <td {CLASS_TABLE_TYPE} align="left">
            <div id="fa_ticker_container">
            <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
              <div class="fa_ticker_content">
              <!-- BEGIN ticker_row -->
              <div>{switch_ticker.ticker_row.ELEMENT}</div>
              <!-- END ticker_row -->
              </div>
            </div>
            </div>
          </td>
          </tr>
         </table>
        </div>
        <!-- END switch_ticker -->



  • Champs du profil
    Pour faire marcher les champs du profil si vous avez modifié le template overall_header_new, veuillez tout d'abord faire la modification mentionnée ici, puis :

    • profile_view_body

      • Remplacer :
        Code:
        [tr]            <tr>
                <td align="right" valign="middle" nowrap="nowrap"><span
        class="gen">{L_LOCATION}: </span></td>
                <td><b><span class="gen">{LOCATION}</span></b></td>
                </tr>
                <tr>
                <td align="right" valign="middle" nowrap="nowrap"><span
        class="gen">{L_WEBSITE}: </span></td>
                <td><span class="gen"><b>{WWW}</b></span></td>
                </tr>
                <tr>
                <td align="right" valign="middle" nowrap="nowrap"><span
        class="gen">{L_OCCUPATION}: </span></td>
                <td><b><span class="gen">{OCCUPATION}</span></b></td>
                </tr>
                <tr>
                <td align="right" valign="top" nowrap="nowrap"><span
        class="gen">{L_INTERESTS}: </span></td>
                <td><b><span class="gen">{INTERESTS}</span></b></td>
                </tr>
                <tr>
                <td valign="top" align="right" nowrap="nowrap"><span
        class="gen">{L_GENDER}: </span></td>
                <td> <b><span class="gen">{GENDER}</span></b></td>
                </tr>
                <tr>
                <td valign="top" align="right" nowrap="nowrap"><span
        class="gen">{L_BIRTHDAY}: </span></td>
                <td><b><span class="gen">{BIRTHDAY}
        {ZODIAC_IMG}{CHINESE_IMG}</span></b></td>
                </tr>
              <!-- BEGIN switch_profile_fields -->
                <tr>
                <td colspan="2" class="catLeft" align="center"><b><span
        class="gen">
                  <form action="profile.forum?mode=viewprofile&u={USER_ID}"
        method="post">
                  <input type="hidden" name="userid" value="{USER_ID}" />
                  {L_PROFILE_FIELDS}</span></b>
                </td>
                </tr>
                <!-- BEGIN field -->
                <tr>
                <td class="gensmall row1"
        align="right"><span>{switch_profile_fields.field.NAME}:</span></td>
                <td class="gensmall row2"
        valign="middle"><span>{switch_profile_fields.field.OBJECT}</span><br
        /></td>
                </tr>
                <!-- END field -->
                <!-- BEGIN show_submit -->
                <tr>
                <td class="gensmall row1" align="right"></td>
                <td class="gensmall row2" valign="middle"><input type="submit"
        value="{L_MODIFY}" name="modify_profilefields" class="liteoption" /><br
        /></td>
                </tr>
                <!-- END show_submit -->
                </form>
              <!-- END switch_profile_fields -->
        Par :
        Code:
                  <!-- BEGIN profile_field -->
                  <dl id="{switch_profile_tab.profile_field.ID}">
                      <dt>
                          {switch_profile_tab.profile_field.LABEL}
                      </dt>
                      <dd>
                          {switch_profile_tab.profile_field.CONTENT}
                      </dd>
                  </dl>
                  <div class="separator"> </div>
                  <!-- END profile_field -->
      • Ajouter à la fin du template :
        Code:
        <script type="text/javascript" src="{JS_DIR}jquery/json/jquery.json-1.3.min.js"></script>
        <script type="text/javascript">
        //<![CDATA[
          $(document).ready(function(){
              $('[id^=field_id]').each(function(){
                  if ( $(this).find('.field_editable').is('span') )
                  {
                      $(this).hover(function()
                      {
                          if(
        $(this).find('.field_editable.invisible').is('span') )
                          {
                             
        $(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div
        class="ajax-profil_edit"><img src="{AJAX_EDIT_IMG}" /></div>');
                              $(this).find('.ajax-profil_edit').attr({
                                      alt: "{L_FIELD_EDIT_VALUE}",
                                      title: "{L_FIELD_EDIT_VALUE}"
                                  }).click(function(){
                                 
        $(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img
        src="{AJAX_VALID_IMG}" class="ajax-profil_valid" />').find('input,select');
                                  $(this).prev().find('.ajax-profil_valid').attr({
                                      alt: "{L_VALIDATE}",
                                      title: "{L_VALIDATE}"
                                  }).click(function(){
                                      var content = new Array();
                                     
        $(this).parent().find('[name]').each(function(){
                                          var type_special =
        $(this).is('input[type=radio],input[type=checkbox]');
                                          if ( (type_special &&
        $(this).is(':checked')) || !type_special )
                                          {
                                              content.push(new
        Array($(this).attr('name'), $(this).attr('value')));
                                          }
                                      });
                                      var id_name =
        $(this).parents('[id^=field_id]').attr('id');
                                      var id = id_name.substring(8,
        id_name.length);
                                      $.post(
                                          "ajax_profile.forum?jsoncallback=?",
                                         
        {id:id,user:"{CUR_USER_ID}",active:"{CUR_USER_ACTIVE}",content:$.toJSON(content)},
         
                                          function(data){
                                              $.each(data, function(i, item){
                                                  $('[id=field_id' + i +
        ']').find('span.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible');
         
                                              });
                                          },
                                          "json"
                                      );
                                  });
                                  $(this).remove();
                              });
                          }
                      },function()
                      {
                          if(
        $(this).find('.field_editable.invisible').is('span') )
                          {
                             
        $(this).find('.field_editable').prev().removeClass('ajax-profil_hover');
                              $(this).find('.ajax-profil_edit').remove();
                          }
                      });
                  }
              });
          });
        //]]>
        </script>
Shadow

Shadow
Modéractive
Modéractive

Féminin
Messages : 24354
Inscrit(e) le : 30/03/2007

Shadow a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Les permission des champs du profil

Message par Shadow Mer 1 Avr 2009 - 11:00

Les permissions sur la modification des champs du profil

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! 01-04-12



  • Les administrateurs ont tous les droits.
  • Modérateurs = Administrateurs + Modérateurs
  • L'utilisateur lui même = Administrateurs + utilisateur lui même
Shadow

Shadow
Modéractive
Modéractive

Féminin
Messages : 24354
Inscrit(e) le : 30/03/2007

Shadow a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Complément pour la fonctionnalité Merci

Message par Chapo Mer 1 Avr 2009 - 18:12


  • Complément pour la fonctionnalité Merci

    • viewtopic_body

      • Remplacer :
        Code:
          <!-- BEGIN displayed -->
          <tr class="post">
              <td class="{postrow.displayed.ROW_CLASS}" valign="top" width="150">
                  <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
                      <span class="postdetails poster-profile">
                      {postrow.displayed.POSTER_RANK}<br />
                      {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
                      <!-- BEGIN profile_field -->
                      {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
                      <!-- END profile_field -->
                      {postrow.displayed.POSTER_RPG}
                  </span><br />
                  <img src="http://2img.net/i/fa/vide.gif" alt="" style="width: 150px; height: 1px;" />
              </td>
              <td class="{postrow.displayed.ROW_CLASS}" valign="top" width="100%" height="28" colspan="2">
        Par :
        Code:
          <!-- BEGIN displayed -->
          <tr class="post">
              <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
                  <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
                      <span class="postdetails poster-profile">
                      {postrow.displayed.POSTER_RANK}<br />
                      {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
                      <!-- BEGIN profile_field -->
                      {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
                      <!-- END profile_field -->
                      {postrow.displayed.POSTER_RPG}
                  </span><br />
                  <img src="http://2img.net/i/fa/vide.gif" alt="" style="width: 150px; height: 1px;" />
              </td>
              <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">
      • Remplacer :
        Code:
          <tr>
              <td class="{postrow.displayed.ROW_CLASS} browse-arrows" align="center" valign="middle" width="150">
                  <a href="#top">{L_BACK_TO_TOP}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>
              </td>
              <td class="{postrow.displayed.ROW_CLASS} messaging gensmall" width="100%" height="28">
        Par :
        Code:
          <tr>
              <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
                  <a href="#top">{L_BACK_TO_TOP}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>
              </td>
              <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
Chapo

Chapo
Dévactif
Dévactif

Masculin
Messages : 5155
Inscrit(e) le : 02/05/2006

Chapo a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Popup de connexion

Message par Chapo Mar 7 Avr 2009 - 11:18

Pour faire marcher la popup de connexion si vous avez modifié le template overall_header_new, veuillez tout d'abord faire la modification mentionnée ici, puis :

  • Popup de connexion

    • overall_header_new

      • Remplacer :
        Code:
            {GREETING_POPUP}
            <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
        Par :
        Code:
            {GREETING_POPUP}
            <!-- BEGIN switch_login_popup -->
            <script type="text/javascript">
            //<![CDATA[
                var logInPopUp, logInIframe, logInContent, logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false, logInPopUpCss = '{T_HEAD_STYLESHEET}';
            //]]>
            </script>
            <!-- END switch_login_popup -->
            <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
      • Et remplacer :
        Code:
            <!-- END hitskin_preview -->
            <a name="top"></a>
            {JAVASCRIPT}
        Par :
        Code:
            <!-- END hitskin_preview -->

            <!-- BEGIN switch_login_popup -->
            <div id="login_popup">
                <iframe id="login_popup_iframe" frameborder="0" scrolling="no"></iframe>
                <div id="login_popup_content">
                    <div id="login_popup_background">
                        <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
                            <tr height="25">
                                <td class="catLeft">
                                    <span class="genmed module-title">{SITENAME}</span>
                                </td>
                            </tr>
                            <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
                                <td class="row1" align="left" valign="top">
                                    <div id="login_popup_buttons">
                                        <form action="{S_LOGIN_ACTION}" method="get" target="_parent">
                                            <input type="submit" class="mainoption" value="{L_LOGIN}" />
                                            <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                                            <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                                        </form>
                                    </div>
                                    <span class="genmed">{LOGIN_POPUP_MSG}</span>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <!-- END switch_login_popup -->

            <a name="top"></a>
            {JAVASCRIPT}


Dernière édition par Chapo le Jeu 14 Mai 2009 - 18:00, édité 1 fois
Chapo

Chapo
Dévactif
Dévactif

Masculin
Messages : 5155
Inscrit(e) le : 02/05/2006

Chapo a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Re: Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur!

Message par Shadow Mar 7 Avr 2009 - 15:33

Une amélioration a été apporté sur les champs personnalisés :

Les listes et listes d'images peuvent désormais être modifiées. (Ajout d'une ligne, suppression d'une ligne, modification des ordres).

Cordialement
Shadow

Shadow
Modéractive
Modéractive

Féminin
Messages : 24354
Inscrit(e) le : 30/03/2007

Shadow a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Re: Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur!

Message par Chapo Mer 15 Avr 2009 - 16:25

Pour permettre l'édition des champs de profil par les modérateurs :

  • profile_view_body

    • Remplacer :
      Code:
               <!-- BEGIN profile_field -->
               <tr>
      Par :
      Code:
               <!-- BEGIN profile_field -->
               <tr id="field_id{profile_field.ID}">
    • Et rajouter à la fin :
      Code:
      <script type="text/javascript" src="/{JS_DIR}/jquery/json/jquery.json-1.3.min.js"></script>
      <script type="text/javascript">
      //<![CDATA[
         $(document).ready(function(){
            $('[id^=field_id]').each(function(){
               if ( $(this).find('.field_editable').is('span') )
               {
                  $(this).hover(function()
                  {
                     if( $(this).find('.field_editable.invisible').is('span') )
                     {
                        $(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div class="ajax-profil_edit"><img src="{AJAX_EDIT_IMG}" /></div>');
                        $(this).find('.ajax-profil_edit').attr({
                              alt: "{L_FIELD_EDIT_VALUE}",
                              title: "{L_FIELD_EDIT_VALUE}"
                           }).click(function(){
                           $(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img src="{AJAX_VALID_IMG}" class="ajax-profil_valid" />').find('input,select');
                           $(this).prev().find('.ajax-profil_valid').attr({
                              alt: "{L_VALIDATE}",
                              title: "{L_VALIDATE}"
                           }).click(function(){
                              var content = new Array();
                              $(this).parent().find('[name]').each(function(){
                                 var type_special = $(this).is('input[type=radio],input[type=checkbox]');
                                 if ( (type_special && $(this).is(':checked')) || !type_special )
                                 {
                                    content.push(new Array($(this).attr('name'), $(this).attr('value')));
                                 }
                              });
                              var id_name = $(this).parents('[id^=field_id]').attr('id');
                              var id = id_name.substring(8, id_name.length);
                              $.post(
                                 "ajax_profile.forum?jsoncallback=?",
                                 {id:id,user:"{CUR_USER_ID}",active:"{CUR_USER_ACTIVE}",content:$.toJSON(content)},
                                 function(data){
                                    $.each(data, function(i, item){
                                       $('[id=field_id' + i + ']').find('span.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible');
                                    });
                                 },
                                 "json"
                              );
                           });
                           $(this).remove();
                        });
                     }
                  },function()
                  {
                     if( $(this).find('.field_editable.invisible').is('span') )
                     {
                        $(this).find('.field_editable').prev().removeClass('ajax-profil_hover');
                        $(this).find('.ajax-profil_edit').remove();
                     }
                  });
               }
            });
         });
      //]]>
      </script>


Dernière édition par Chapo le Jeu 14 Mai 2009 - 17:56, édité 1 fois
Chapo

Chapo
Dévactif
Dévactif

Masculin
Messages : 5155
Inscrit(e) le : 02/05/2006

Chapo a été remercié(e) par l'auteur de ce sujet.
  • 0

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Empty Re: Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur!

Message par The Godfather Jeu 16 Avr 2009 - 10:28

Bonjour,

Pour information, nous avons effectué une petite modification/correction sur le profil! En effet, actuellement, il est possible via le profil d'un membre de trouver:

- tous les sujets que le membre à créer.

- tous les sujets auxquels le membre à participer (y compris ceux qu'il a créé).

- tous les messages du membre.

Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! 16-04-13

Cordialement Wink


Nouvelle mise à jour Forumactif: Système de points, Système de réputation...et + à voir à l'intérieur! Signat23
The Godfather

The Godfather
Adminactif
Adminactif

Masculin
Messages : 18297
Inscrit(e) le : 02/05/2004

The Godfather a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum