View Single Post
  #49  
Old 23 May 2005, 01:09
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Re: Image on Forumbit (forumhome)

Originally Posted by vdm
I've added this code:

<if condition="$forum[parentid]==9 OR $forum[parentid]==9"><img src="$stylevars[imgdir_misc]/[forumhome]/$forum[forumid]9.jpg" alt="$forum[title]" border="0" vspace="2 px" hspace="2 px" align="left"/></if>

Why doesnt it work?
You don't need the 9 in the image name.

It comes from the $forum[forumid] variable.

Also, the statement is saying 'If the parent of this forum is Forum #9, display the icon that is named with this Forum's number' .. which obviously won't be 9.jpg ... as that is the Parent forum.

I think what you want is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

A MUCH nicer way of doing it is as follows:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will cause it to show for any forums whose ids you enter in the comma-separated list...and each image will be linked to that forum, as the title is.

a-la: http://www.nzboards.com/forums
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote