![]() |
Stylish Threadbit Layout
1 Attachment(s)
Hello everyone!
I didn't like the way of replies/views count column how it's displayed. So I've asked for specific changes in the threadbit to look like this:
But no one have answered me, so I tried to dig in how to do that. Finally, I've figured it out so i thought of sharing it :D This based on trials and errors, so backup your templates before doing any changes just incase something wrong happen. Template that will be edited: Threadbit Forumdisplay Threadlist.css New phrases that need to be added for icons: 5 ( 13x11 pixel ) Step (1) Let's start by adding the phrases: Languages & Phrases -> Phrase Manager -> Add new phrase Phrase type: Global Product: vBulletin Varname: ThreadStarterIcon (as your wish what do you want to name it .. ) Text: <img src="image url"> * Repeat the steps for the remaining icons ( RepliesCountIcon \ ViewsCountIcon \ LastPosterIcon \ LastPostTimeIcon ) ** Check the attachments if you want to use the same icons that I've used. Now let's move to the template editing part Step (2) === Threadbit template === (A) Find: Code:
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}} Code:
{vb:rawphrase ThreadStarterIcon} <a href="{vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}" class="username" title="{vb:rawphrase started_by_x_y, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}}">{vb:raw thread.postusername}</a> {vb:rawphrase RepliesCountIcon} {vb:rawphrase replies}: {vb:raw thread.replycount} {vb:rawphrase ViewsCountIcon} {vb:rawphrase views}: {vb:raw thread.views} (B) Find & remove the following: Code:
<!-- threadstats --> (C) Find: Code:
{vb:raw memberaction_dropdown} Code:
{vb:rawphrase LastPosterIcon} (D) Find: Code:
{vb:raw thread.lastpostdate} Code:
{vb:rawphrase LastPostTimeIcon} Step (3) === Forumdisplay template === Find & remove the following: Code:
{vb:rawphrase replies}{vb:raw sortarrow.replycount}</a> / <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_views}}" rel="nofollow">{vb:rawphrase views}{vb:raw sortarrow.views}</a> Step (4) === Threadlist.css template === ( for the adjustment of the columns width after removal the views & replies counts column ) (A) Find ".threadbit .threadinfo {" and adjust the numbers in the red based on your style till you get it aligned properly. Code:
.threadbit .threadinfo { (B) Find ".threadlisthead span.threadinfo {" Code:
.threadlisthead span.threadinfo { I think that's it! :) Hope I've recalled what i did correctly :p and hope you like it. ;) |
You say to make phrases with the text "<img src="image url">", but where are the images? If we don't have the images we cannot put the URL to the images. Are we suppose to make are own images?
|
Hmm .. I thought everyone would use his own custom icons that fit his style :D
Anyway I've uploaded the icons, check the attachments :) |
wow this is nice
|
All times are GMT. The time now is 02:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|