Afficher la version complète : Recherche diverse emplacement des Préfixes
bidibooum
24/12/2009, 15h39
Bonjour,
J'ai créé mes préfixes, sans problèmes, et les ai mis en couleur via la balise html span.
Maintenant, je souhaiterais qu'ils apparaissent non devant le titre du sujet, mais comme sur le forum ici, à droite du titre, dans une colonne séparée.
Comment faire?
Bonjour, il faut savoir comme nous ou autrement? car comme nous ce n'est pas dans une colonne séparé.
bidibooum
25/12/2009, 13h09
Comme présenté sur le forum serait parfait
Recherche le template threadbit et dans ce template 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>
<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:
<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>
<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 enregistre.
Spider-Man
25/12/2009, 20h26
Bonjour moi mème j'est essayer cela et quan j'enregistre sa me dit invalid_tag_nesting ???
Je viens de tester, tu as mal fais la modification je pense.
Propulsé par vBulletin™ Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. Tous droits réservés - Version française par vBulletin-Ressources.com