PDA

Voir la version complète : ID des utilisateurs dans le profil


Sofia
18/03/2007, 17h46
Description

Cette modification permet d'afficher l'id des utilisateurs 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 : Naxon (http://www.vbulletin.org/forum/member.php?u=164961)
Source / Link of Thread: ID des utilisateurs dans le profil (http://www.vbulletin.org/forum/showthread.php?t=142420)
Version vBulletin Requise / Version vBulletin Required : vB 3.6.5
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

Modifier le template MEMBERINFO
Trouver :

<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>

Et ajouter en-dessous :

<!-- User's ID In Profile By Naxon -->
<font color="red">ID Utilisateur :</font> $userinfo[userid]
<!-- /User's ID In Profile By Naxon -->

OlijO
18/03/2007, 20h22
Très très utile ca, merci sofia, je me disais justement qu'il faudrait le faire ^^

FuTuR
22/06/2007, 20h30
Bonsoir,
j'ai fait ce qu'il est demandé , mais rien ne s'affiche chez moi

Voila la partie de mon code de MEMBERINFO
</if>
<div class="bigusername">$userinfo[musername] $userinfo[onlinestatus]</div>
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>
<!-- User's ID In Profile By Naxon -->
<font color="red">ID Utilisateur :</font> $userinfo[userid]
<!-- /User's ID In Profile By Naxon -->
<if condition="$show['profilepic']">
<td valign="top" align="$stylevar[right]" rowspan="2">


http://www.image-facile.com/img/4ph35_memberinfo.png

Ombre
22/06/2007, 20h33
Bonsoir,
j'ai fait ce qu'il est demandé , mais rien ne s'affiche chez moi

Voila la partie de mon code de MEMBERINFO
</if>
<div class="bigusername">$userinfo[musername] $userinfo[onlinestatus]</div>
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>
<!-- User's ID In Profile By Naxon -->
<font color="red">ID Utilisateur :</font> $userinfo[userid]
<!-- /User's ID In Profile By Naxon -->
<if condition="$show['profilepic']">
<td valign="top" align="$stylevar[right]" rowspan="2">
http://www.image-facile.com/img/4ph35_memberinfo.png

Slt :)

c'est normal la modification permet de voir ton ID dans ton profile et non pas dans ton postbit_legacy :) clic sur le profile d'un de tes membres ou le tiens et observe bien :)

FuTuR
22/06/2007, 20h44
Merci Ombre (http://www.vbulletin-ressources.com/forum/member.php?u=1668) pour ton explication ,

Si je veux voir l'id des utilisateurs ds le postbit_legacy , Comment faire svp :)

Ombre
22/06/2007, 21h54
cela n'est pas trop utile je trouve, si il est deja présent dans le profile qui est facilement accessible, enfin si tu le veux vraiment le faire, alors va dans ton template postbit_legacy admincp/Styles & Templates/recherche dans les templates/ et recherche le template postbit_legacy et place

<!-- User's ID In Profile By Naxon -->
<font color="red">ID Utilisateur :</font> $userinfo[userid]
<!-- /User's ID In Profile By Naxon --> A l'endroit ou tu désires le voir dans ton posbit legacy :)

Enfin je pense...

EDIT: non ça marche pas, suis je bete :p

.:ramtelecom:.
04/04/2008, 16h59
@ FuTuR
Pour que ça soit affiché dans le postbit_legacy fait comme t'as montré Ombre. et fait juste une petite modification :
au lieu de $userinfo tu met $post

<!-- User's ID In Profile By Naxon -->
<font color="red">ID Utilisateur :</font> $post[userid]
<!-- /User's ID In Profile By Naxon -->