The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Thread Status Icons - Help needed!
How can I change the status icon of a thread?
The current representation if the thread is "hot", closed or if it contains unread posts is a little icon (where the green circle & arrow is). However, instead of a small icon, I would like the thread status to be represented with a larger image and forgo the icons altogether. To be more specific, I would like to replace the letter tile in above image and show a different icon depending on the thread's status. Is there anyway that this can be accomplished? I've seen this done plenty of times (Namely on IP Boards) and this feature would considerably help tie together the overall aesthetics of my forum and improve the user experience by leaps and bounds. Any help/solutions would be greatly appreciated! |
#2
|
||||
|
||||
You need to setup the "Prefix for Forum Status Images " in the forum manager from each forums and subforums for this to work.
Refer to Lynne's answer and others in here : https://vborg.vbsupport.ru/showthread.php?t=256551 |
#3
|
||||
|
||||
That did the trick. Not sure why I couldn't find that thread when I was searching...
Thanks! Got another question, how can I change the forum categories background in vBulletin 4? I've searched high and low but couldn't find any solutions for VB 4. : ( How can I have background images for my Forum categories? Here's an example of what I'd like to implement: http://www.rootanime.com/forum/ |
#4
|
||||
|
||||
They are adding the CSS for it inline:
HTML Code:
<div style="border-right: 1px solid rgb(204, 204, 204); height: 70px; background: url("images/forumbackgrounds/15.gif") no-repeat scroll right bottom rgb(255, 255, 255);" class="foruminfo td">
|
#5
|
||||
|
||||
Thanks for the help on this, really appreciate it, I would never have guessed that such a simple modification could produce these results. Learn something new everyday.
Only one stumbling block, I figured out how to replicate it. But now I have the same image for each forum under my main category, how can I have a different background image for each forumid? I only see one forumhome_forumbit_level2_post. |
#6
|
||||
|
||||
Make sure you are modifying the correct template. There are a couple of different templates used on that page: To find the template to modify, 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. (Sometimes the template is the one mentioned at the very top of the page source.)
|
#7
|
||||
|
||||
Okay, I followed the steps. Ticked template name around HTML comments to yes, went to my home page and viewed the source code. And both forum categories where the image code is have the same name:
HTML Code:
<!-- BEGIN TEMPLATE: forumhome_forumbit_level2_post -->
|
#8
|
||||
|
||||
Can we see the exact code you changed in the template? And a link to see your style would also help.
|
#9
|
||||
|
||||
Quote:
In "forumhome_forumbit_level2_post" I changed : HTML Code:
<div class="foruminfo td">
HTML Code:
<div class="foruminfo td" style="background: #fff url(images/forumbackgrounds/{vb:raw forum.forumid}.gif);">
Quote:
http://www.milargoreviews.com/mccforums/forum.php I also tried searching things like my forum IDs via "search in templates" but couldn't produce any results. And since I only have one "forumhome_forumbit_level2_post" and it seems to be tied to all forum categories if I edit the image in that code, the change effects all the forums. |
#10
|
||||
|
||||
Very odd. Both of them are calling 25.gif and yet they are forumid 2 and 3. But, you don't have a 2.gif or 3.gif, so nothing is going to show for either of them. Why do you have an image for 25.gif if you have no forumid 25?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|