New Joe
01-23-2010, 06:14 AM
Now I do understand this can b done in the Forum Manager >Prefix for Forum Status Images But it will only change and add a picture for one Style, ans as most have more than on this doesn't help.
This is what I want to do.
Many people want to not just add the extra images, but to completely replace the on/off images with the extra images.
If you have a full set of on/off images, one for every forumid on your forum, then make the following changes:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Home Templates -> forumhome_forumbit_level2_post
Replace the red code:
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
..with the blue code:
<tr align="center">
<td class="alt2"><img src="images/forum_pics/$forum[forumid]_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
Make the same change to this template:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Home Templates -> forumhome_forumbit_level1_post
You need to create a new folder named forum_pics inside of the images folder within your forum directory. Upload the images using this naming convention:
forumid_old.gif
forumid_new.gif
If the forumid of the forum is 3, then you would name its images like this:
3_old.gif
3_new.gif
That's it.
Now the red and blue code are for the 3.0 Versions, we are now on Version vB 4 and a lot of coding has changed.
My question is how to find the red coding and how to change the blue coding to make this work on vB4?
This is what I want to do.
Many people want to not just add the extra images, but to completely replace the on/off images with the extra images.
If you have a full set of on/off images, one for every forumid on your forum, then make the following changes:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Home Templates -> forumhome_forumbit_level2_post
Replace the red code:
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
..with the blue code:
<tr align="center">
<td class="alt2"><img src="images/forum_pics/$forum[forumid]_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
Make the same change to this template:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Home Templates -> forumhome_forumbit_level1_post
You need to create a new folder named forum_pics inside of the images folder within your forum directory. Upload the images using this naming convention:
forumid_old.gif
forumid_new.gif
If the forumid of the forum is 3, then you would name its images like this:
3_old.gif
3_new.gif
That's it.
Now the red and blue code are for the 3.0 Versions, we are now on Version vB 4 and a lot of coding has changed.
My question is how to find the red coding and how to change the blue coding to make this work on vB4?