View Full Version : How to split Views & replies on VB4 Gold PL1
before it was two columns on VB3
and now it's one column only,
me and my forum users doesn't like it ,
so where to change it !
which template to edit !
any one can design hack or mod to do it !
Spiritvn
01-11-2010, 07:53 AM
Can u give link or screenshot?
On the below pic you will find two columns
http://sudanesehost.com/pic/uploads/VB3.JPG
on the below one is the new VB4 and it's one only
http://sudanesehost.com/pic/uploads/VB4.JPG
_
Thanks Man.
Lynne
01-11-2010, 02:12 PM
To find the template to edit, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
However, you are going to have to have a little bit of css knowledge to modify it as it is no longer just a table.
Spiritvn
01-12-2010, 02:38 AM
Ok here you go:
Edit the templates Threadbit, find: <!-- threadstats -->
The code below control the replies, views
<ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a></li>
<li>{vb:rawphrase views}: {vb:raw thread.views}</li>
<li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
</ul>
If you want to seperate it into 2 columns, do it by html & CSS. Try ur own way.
Have fun
Dear Lynne,
Thanks for the explanation, it's a great new information for me.
Dear Spiritvn,
i tried ti make it bu i fall, if you get time please change the code and keep it i will try and let you know as well.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.