PDA

Afficher la version complète : Profil de l'utilisateur Afficher les derniers sujets dans le profil



Lolo04
11/03/2006, 10h39
Description
Ce hack permet d'afficher les derniers sujet dans le profil.
Remerciements et support / Thanks and support
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 : Tnguy3n

Source / Link of Thread: http://www.vbulletin.org/forum/showthread.php?s=&threadid=101527
Version vBulletin Requise / Version vBulletin Required : 3.5.3
Testé / Tested: oui
Traducteur / Translator: Lolo04
Copyright © 2006 vBulletin-Ressources.com - Tous droits réservés / Copyright © 2006 vBulletin-Ressources.com - All Rights ReservedMarquer un sujet instructif
Auteur: tnguy3n
Support: www.vbviet.org (http://www.vbviet.org)

Ce hack donne la possibilitée aux admins/Mods (ou tout autres groupe que vous souhaitez) la possibilitée de marquer
un Sujet/article comme instructif et visible dans le profile.

Pour instaler ce hack ,il faut simplement uploader le produit XML via l'admin cp-->gestion des modules

Astuce:
Pour ajouter d'autres groupes utilisateurs ouvrir le module : showthread_complete puis ajouter les ID des groupes utilisateurs que vous souhaitez a cette ligne

if(!in_array($vbulletin->userinfo, array(5,6,7)))

[U]Pour limiter les forums a utiliser

(in_array($thread[forumid], array(2,3)))

Rajouter l'id des forums séparés par des virgules

in_array($thread[forumid], array(2,3,4,5,6,7,8)))

Installation: 3-4 mins (Facile)
Template modifié: 2
Produit: 1

################################

1. Ouvrir le template postbit(_legacy) ,

Trouver:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
</div>
En-dessous ajouter:

<if condition="!$thread[isquality] AND ($post[postid] == $thread[firstpostid]) AND (in_array($thread[forumid], array(2,3)))"><div class="smallfont">
&nbsp;<br />
<div>
<a href="showthread.php?$session[sessionurl]do=markquality&threadid=$thread[threadid]">Marquer comme instructif</a>
</div>
</div></if>
2.Ouvrir le template MEMBERINFO ,

Trouver:

$footer
Avent ajouter:



<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr class="tcat">
<td colspan="5" align="center">
Sujets/Articles instructif de $userinfo[username]
</td>
</tr>
<tr class="thead" align="center" height="15">
<td>Titre Du Sujet/Article </td>
<td>Forum</td>
<td>Crée le</td>
<td width="30" align="center">Vus</td>
<td width="30">Réponses</td>
</tr>
$listarticles
</table>

Allan
11/03/2006, 22h27
Tr&#232;s sympa celui-ci, bravo Lolo04 :)

WrestleMania
13/06/2006, 15h45
Pas mal ce hack merci de la traduction :)