The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Hope this helps:
1. Create your icon images in Photoshop or other software and save them as .png 2. Upload your images to your ftp or to anywhere in the internet for example: http://dropbox.com/images/icons/myicon-new1.png 3. On your Vbulletin Cpanel go to -> Styles & Templates -> Style Manager -> Edit Template -> Double Click on Display Templates -> Double Click on display_Forums_item 4. Find the line code with: Code:
class="forum-item {vb:raw forumCssPrefix} forum-item{vb:raw forumStatus}" Code:
iconclass{vb:raw forum.nodeid} Code:
class="forum-item {vb:raw forumCssPrefix} forum-item{vb:raw forumStatus} iconclass{vb:raw forum.nodeid}" 7. Use Firefox or Google Chrome and open your webpage on the browser 8. Right click and select the option Inspect Element 9. You will find different nodeid for each forum channel (for example:256) 10. On your CPanel go to -> Styles & Templates -> Style Manager -> Edit Template -> Click on CSS Templates -> Open css_additional.css 11. Paste the following code with your NodeID and your url icon images Code:
/* forum icon for forums with no new posts */ .forum-list-container .forum-item.iconclass256 .cell-forum .icon { background: transparent url("http://yoursite.com/forum/images/css/car-old2.png") no-repeat; } /* forum icon for forums with new posts */ .forum-list-container .forum-item.new.iconclass256 .cell-forum .icon { background: transparent url("http://yoursite.com/forum/images/css/car-new3.png") no-repeat; } |
#12
|
|||
|
|||
I've worked out how to do this, but the images are too small, how do I enlarge them ?
|
#13
|
||||
|
||||
You made them only 16x9, so you would need to make the images larger and then set the width and height in the CSS.
|
#14
|
|||
|
|||
Thanks for the advice Lynne.
I've set the CSS as follows, but now I have an alignment problem with the forum titles Code:
/* forum icon for forums with no new posts */ .forum-list-container .forum-item .cell-forum .icon { background: transparent url("http://football-rants.com/images/icons/footballogo2.png") no-repeat; width:40px; height:32px; } /* forum icon for forums with new posts */ .forum-list-container .forum-item.new .cell-forum .icon { background: transparent url("http://football-rants.com/images/icons/footballogo2.png") no-repeat; width:40px; height:32px; } |
#16
|
|||
|
|||
That worked...thanks Lynne :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|