View Full Version : Add little imagess to forum description?
Kicman
07-29-2011, 03:12 AM
How would I do this with VB4?
https://www.vbulletin.com/forum/showthread.php/114545-How-To-Add-Little-Images-For-Certain-Forums-In-The-Forum-Listing?
BirdOPrey5
07-31-2011, 06:03 PM
This would be the VB4 version of the code:
<vb:if condition="in_array($forum['forumid'], array(X,Y,Z))">
<img src="images/forum_pics/{vb:raw forum.forumid}.gif" align="left" style="margin-right: 9px" alt="" border="0" />
</vb:if>
Kicman
08-07-2011, 05:33 AM
It seems the entire document has changed, where do I put the new code. When I tried moving it about, it would duplicate the discription.
BirdOPrey5
08-07-2011, 03:13 PM
It's going to be pretty much trial and error to find a space that works for your needs. If you have some understanding of HTML you can probably narrow it down to a handful of places. It's going to depend where exactly you want the image to show up.
If you are getting duplicate descriptions I would revert the template and try again. Make sure you don't break any other existing conditionals with the placement of the code.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.