The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Removing the Post and Thread count columns.
Removing the Post and Thread count columns. This is what we want to achieve: You can see an example here Removing the columns The different snippets of code might differ from style to style. I'm writing this basing it on my own (VBStyle's Element), but you have to pay close attention and focus on the code in bold. You'll identify the snippets quickly that way. FORUMDISPLAY Find Code:
<td class="thead"> $vbphrase[threads] </td> <td class="thead"> $vbphrase[posts] </td> forumhome_forumbit_level1_nopost Find Code:
<td class="thead"> $vbphrase[threads] </td> <td class="thead"> $vbphrase[posts] </td> forumhome_forumbit_level1_post Find Code:
<td class="alt2"><if condition="$forum[link] != ''"> <else />$forum[threadcount]</if></td> <td class="alt1"><if condition="$forum[link] != ''"> <else />$forum[replycount]</if></td> forumhome_forumbit_level2_post Find Code:
<td class="alt1" width="80"><if condition="$forum[link] != ''"> <else />$forum[threadcount]</if></td> <td class="alt2" width="80"><if condition="$forum[link] != ''"> <else />$forum[replycount]</if></td> ================================================== ==== Adding the counts below the forum description Now you might or might not want to display that information. If you do, keep reading. Edit the following templates forumhome_forumbit_level2_nopost Find Code:
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> HTML Code:
<div class="smallfont forumcount"><strong>{$vbphrase[threads]}:</strong> $forum[threadcount] | <strong>{$vbphrase[posts]}:</strong> $forum[replycount]</div> Find Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">$forum[subforums]</div></if> HTML Code:
<div class="smallfont forumcount"><strong>{$vbphrase[threads]}:</strong> $forum[threadcount] | <strong>{$vbphrase[posts]}:</strong> $forum[replycount]</div> A bit of styling If you test now, maybe you feel the counts we added are not separated enough from the description and subforums. If that's your case, go to the style administration page, go to your style's "All style options" and select Main CSS. Go to the very bottom, where it says Advanced Users:. To the very bottom of the second textarea, add: HTML Code:
.forumcount { margin: 3px 0; } HTML Code:
.forumcount { margin: 3px 0; color: #333; font-size: 10px; } |
#2
|
|||
|
|||
what happened to the demo link?
|
#3
|
|||
|
|||
I tried to link the picture without luck. It's rewriting my link in an attempt to resize the picture I guess.
|
#4
|
|||
|
|||
How about just re-adding the link?
|
#5
|
||||
|
||||
This is a great idea... i've utilized it on my site, THANK YOU!
Question: is that site in the example link yours? It's very nicely done. If it is, may I ask you about some of the mods you have installed? |
#6
|
|||
|
|||
This is an awesome idea. I just tested it out and it worked like a charm!
Thanks alot Appletalk |
#7
|
||||
|
||||
Can someone please help me out with this hack.
I want to add this to where it says Last Post instead of the Forums so Can someone please tell me how I can do this? |
#8
|
|||
|
|||
Works nicely. I found in 3.6.8 there was no code to modify in forumhome_forumbit_level1_nopost
|
#9
|
||||
|
||||
How would you do this only for forum links?
|
#10
|
|||
|
|||
Cool ^^
I test it, thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|