PDA

Afficher la version complète : Résolu ! Emplacement du prefixe



forumdeejay
28/08/2010, 11h06
Bonjour ,

Je voudrait savoir comment deplacer le prefixe cree dans le sujet, comme sur votre forum :

Photo

15322

Merci d avance

Ombre
28/08/2010, 15h29
Bonjour, tu veux déplacé que les préfixes? pas les autres infos du type "fermé", "modéré"?

forumdeejay
28/08/2010, 16h21
Comme tu voit dans la photo "techno" sa ses le prefix choisi dans le sujet je voudrait que les prefix choisi soit placer ailleur k coter du titre du sujet je voudrait que sa soit présente comme vout comme ce si :

15326

Ombre
28/08/2010, 17h40
Tu ne réponds toujours pas à ma question, j'avais compris le sens de ta question, mais elle n'est pas précise dans le sens que on aurais pu prévoir un déplacement du groupes des préfixe, sujet important ou fermer, etc... via une class cSS je pense, donc quelque chose de propose et pratique lors de mise à jour.

Je vais donc te détailler la procédure pour déplacé que les préfixes à cet emplacement en me basent sur le style par défaut de vb4.0.5.

Dans le template threadbit recherche ce bout de code:


<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
<span class="prefix understate">
{vb:raw thread.movedprefix}
{vb:raw thread.typeprefix}
{vb:raw thread.moderatedprefix}
{vb:raw thread.prefix_rich}
</span>
</vb:if>

Et remplace le par ceci:


<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
<span class="prefix understate">
{vb:raw thread.movedprefix}
{vb:raw thread.typeprefix}
{vb:raw thread.moderatedprefix}
</span>
</vb:if>

Recherche ce bout de code:


<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
</h3>

Et remplace le par ceci:


<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
<span class="prefix understate" style="float: right">
{vb:raw thread.prefix_rich}
</span>
</vb:if>
</h3>

Et voila c'est fini.

forumdeejay
29/08/2010, 08h10
Merci ombre ses pil poile se que je voulait