The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[HowTo] [3.0.3] Add 'Forum Info' to the forums! Details »» | |||||||||||||||||||||||||||
[HowTo] [3.0.3] Add 'Forum Info' to the forums!
Developer Last Online: Mar 2021
[HowTo] [3.0.3] Add 'Forum Info' to the forums!
By: Floris - http://www.vBulletin-Fans.com/ Description: This tutorial shows you how to remove the last 3 threads/posts/moderators columns to create more space (especially handy for cluthered fixed width forums) and put the data on a single row below the forums on forumhome. Example of how it looks: Check the screenshots, but should look like this: Forum Info: Users viewing: 1 - Threads: x - Posts: y - Viewers: z - Moderators: a,b,c Note: Moderators and Users viewing parts will only show if there is any data for it, so it won't display if the value is empty. Installation instructions: * Open the template FORUMHOME * Find this code and delete it: HTML Code:
<td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead">$vbphrase[moderator]</td> </if> * Open the template: forumhome_forumbit_level2_post * Find this code and delete it: HTML Code:
<td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> HTML Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> HTML Code:
<div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><span class="time">$vbphrase[forum_info]:</span> <if condition="$show['browsers']"><phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase> -</if> $vbphrase[threads]: $forum[threadcount] - $vbphrase[posts]: $forum[replycount] <if condition="$vboptions['showmoderatorcolumn']"><if condition="$forum[moderators] == ''"><else />- $vbphrase[moderators]: $forum[moderators]</if></if></div> * Now goto "search phrases" and find this phrase variable name: forum_info * Edit the phrase and change the phrase type from user tools to 'GLOBAL' from the MASTER language. NOTE: You may need to add $debug = '1'; to your includes/config.php file (somewhere in the middle on a new line) (remove that line when done) * Save the phrase * Finally find this phrase variable name: x_viewing * Edit the phrase and change the phrase to this: (replace total content with..) Users viewing: {1} * Save the phrase x_viewing and you are DONE. Show Your Support
|
Comments |
#2
|
|||
|
|||
Nice mod. Floris
I wish I had read the part to edit the forum_info phrase.. I added a new phrase to get it to work.. :P Works well in vB3.0.6 |
#3
|
|||
|
|||
I've noticed something else.. when I subscribe to a catergory and look at my subscriptions under my profile that the Thread/Reply column is still there. So Floris, would you know wich template I'll have to edit it to remove the columns?
Note: all though the columns are there, the thread/reply count does not show under the columns. |
#4
|
||||
|
||||
What about doing this hack to sub forums as well.
|
#5
|
||||
|
||||
Quote:
looks like a usefully mod tho |
#6
|
|||
|
|||
I am also wondering if it works with 3.0.7?
|
#7
|
|||
|
|||
this should be an option in the Admin CP.. beauty!
|
#8
|
||||
|
||||
I have not tested this myself but yes it should work with 3.0.7
|
#9
|
|||
|
|||
Quote:
and I do not understand here: Code:
* Edit the phrase and change the phrase type from user tools to 'GLOBAL' from the MASTER language. NOTE: You may need to add $debug = '1'; to your includes/config.php file (somewhere in the middle on a new line) (remove that line when done) |
#10
|
||||
|
||||
Yeah, I can't seem to locate the first find/remove, I'm running 3.0.7.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|