The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#42
|
||||
|
||||
if it's a problem i'll sort an alternative via a hack
|
#43
|
|||
|
|||
Here is there reply, sort of...
http://www.vbulletin.com/forum/showthread.php?t=132424 |
#44
|
||||
|
||||
ok, i'll wait until another person replies before i give you the code to enable it.
|
#45
|
|||
|
|||
They responded a bit but I am not sure what to make of it. Take a look if you get a chance. Thanks.
http://www.vbulletin.com/forum/showt...757#post830757 |
#46
|
||||
|
||||
Hi there I followed your instructions but my forums dont show any images at all, everything is actually correct....how strange??
My template: <tr align="center"> <td class="alt1"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> $forum[forumhomeicon] <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="$forum[parentid]==2 OR $forum[parentid]==2"><img src="$stylevars[imgdir_misc]/[forumhome]/$forum[forumid]2.gif" alt="$forum[title]" border="0" vspace="2 px" hspace="2 px" align="left"/></if> <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> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits |
#47
|
||||
|
||||
Quote:
I'm new to php and am a bit confused (nothing unusual in that) with what to change in this script. I've edited the template - changed the first two XX's to 5 which is the id of the forum (should it be 05?) and left the 2nd 2XX's alone. If that is correct, and please someone tell me if it's not, then where do I find the place to add the graphic? Hope this makes sense. Renada |
#48
|
||||
|
||||
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? |
#49
|
|||
|
|||
Hi is it posible to add difrent images as statusicon to each forum?
like the one in this forum http://www.montada.com thanks |
#50
|
||||
|
||||
Quote:
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: HTML Code:
<if condition="$forum[forumid]==9"><img src="$stylevars[imgdir_misc]/[forumhome]/$forum[forumid].jpg" alt="$forum[title]" border="0" vspace="2 px" hspace="2 px" align="left"/></if> HTML Code:
<if condition="in_array($forum['forumid'], array(3,4,7,9))"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img src="images/forumhome/$forum[forumid].gif" alt="$forum[title]" border="0" vspace="2px" hspace="2px" align="left"/></a></if> a-la: http://www.nzboards.com/forums |
#51
|
|||
|
|||
hmmm... did it worked to someone with ARia template..
the forumhome_forumbit_level2_post looks like this.. thanks in advance for any tip.. PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|