Ombre
25/04/2009, 10h08
Ce mod qui vous permettra d'espacer les catégories de forum sur le style par défaut, ce qui n'est pas le cas d'origine.
Allan à fait son mod qui diffère légèrement du miens, mais je poste tout de même le miens comme ça vous aurez le choix entre les deux méthodes.
Déplacement des liens "Marquer les messages comme lus" et "Equipe du forum" dans le cadre "Statistiques" pour une meilleure intégration.
Conception
Auteur du script / Author Of script: Ombre (http://www.vbulletin-ressources.com/forum/member.php?u=1668)
Version vBulletin Requise / Version vBulletin Required : vB 3.8.x
Testé / Tested: oui sous 3.8.2
Copyright © 2009 vBulletin-Ressources.com / Copyright © 2009 vBulletin-Ressources.com
Installation
http://img18.imageshack.us/img18/2630/magicalsnap200904250934.png
Template modifiés: 3
Dirigez vous dans votre administration >> Styles & Templates >> Rechercher dans les templates >> puis rechercher dans le style visé par cette modification, le tempate "FORUMHOME" recherche le bout de code suivant:
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->
<br />
$ad_location[ad_forumhome_afterforums]
<br />
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr> et remplacez le par celui ci:
<!-- main -->
$forumbits
$forumhome_markread_script
<!-- /main -->
$ad_location[ad_forumhome_afterforums]
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2"><div style="float:left;">$vbphrase[whats_going_on]</div><div class="smallfont" style="text-align:center;"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>Enregistrez le template.
Recherchez le template suivant "forumhome_forumbit_level1_nopost" et remplacez son contenus par celui-ci:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="!$show['collapsable_forums']">
<tbody>
</if>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<if condition="$childforumbits">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
<tr>
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
<if condition="$childforumbits">
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>
</table><br />Enregistrez le template.
Recherchez le template "forumhome_lastpostby" puis dans ce template recherchez le bout de code suivant, qui est tout en haut:
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">Remplacez le par celui-ci:
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]" style="width:200px;">Enregistrez le template.
Résultat finale en capture
[IMG]http://img18.imageshack.us/img18/1471/magicalsnap200904250934o.png
Si vous avez des questions n'hésitez pas, bonne modifications :)
Allan à fait son mod qui diffère légèrement du miens, mais je poste tout de même le miens comme ça vous aurez le choix entre les deux méthodes.
Déplacement des liens "Marquer les messages comme lus" et "Equipe du forum" dans le cadre "Statistiques" pour une meilleure intégration.
Conception
Auteur du script / Author Of script: Ombre (http://www.vbulletin-ressources.com/forum/member.php?u=1668)
Version vBulletin Requise / Version vBulletin Required : vB 3.8.x
Testé / Tested: oui sous 3.8.2
Copyright © 2009 vBulletin-Ressources.com / Copyright © 2009 vBulletin-Ressources.com
Installation
http://img18.imageshack.us/img18/2630/magicalsnap200904250934.png
Template modifiés: 3
Dirigez vous dans votre administration >> Styles & Templates >> Rechercher dans les templates >> puis rechercher dans le style visé par cette modification, le tempate "FORUMHOME" recherche le bout de code suivant:
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->
<br />
$ad_location[ad_forumhome_afterforums]
<br />
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr> et remplacez le par celui ci:
<!-- main -->
$forumbits
$forumhome_markread_script
<!-- /main -->
$ad_location[ad_forumhome_afterforums]
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2"><div style="float:left;">$vbphrase[whats_going_on]</div><div class="smallfont" style="text-align:center;"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>Enregistrez le template.
Recherchez le template suivant "forumhome_forumbit_level1_nopost" et remplacez son contenus par celui-ci:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="!$show['collapsable_forums']">
<tbody>
</if>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<if condition="$childforumbits">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
<tr>
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
<if condition="$childforumbits">
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>
</table><br />Enregistrez le template.
Recherchez le template "forumhome_lastpostby" puis dans ce template recherchez le bout de code suivant, qui est tout en haut:
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">Remplacez le par celui-ci:
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]" style="width:200px;">Enregistrez le template.
Résultat finale en capture
[IMG]http://img18.imageshack.us/img18/1471/magicalsnap200904250934o.png
Si vous avez des questions n'hésitez pas, bonne modifications :)