The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
its still now working
this is my code in forumhome_forumbit_level1_post Code:
<if condition="!in_array($forum['forumid'], array(9, 132, 95, 72, 13, 288, 113, 124, 11, 12, 100, 62, 16, 421, 14, 10))"> <tr align="center"> <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <td> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> </td> </tr> </table> </td> </tr> </if> <if condition="in_array($forum['forumid'], array(9, 132, 95, 72, 13, 288, 113, 124, 11, 12, 100, 62, 16, 421, 14, 10))"> <tr align="center"> <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td colspan="2" width="850" height="60" style="background: url('http://www.images.tgt.co.il/FB/$forumid.jpg')"> <table border="0" width="100%" height="60" dir="rtl"> <tr> <td width="28%" align="right" onclick="window.location.href='forumdisplay.php?$session[sessionurl]f=$forum[forumid]'" style="cursor: pointer"> <h2 style="margin: 0em; color: #003355; font-family: arial;"><nobr><font color="#003355">$forum[title]</font><nobr></h2> </td> <td width="72%" align="right"><strong><font face=verdana> $forum[description]</strong></font> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" style="border-top:#000000 1px dashed; border-bottom:#000000 1px dashed"> <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> </td> </tr> </table> </td> </tr> </if> and the second condition is what i want to show in those categories. |
#12
|
|||
|
|||
I did it a bit differently but mine works fine for me.
Code:
<if condition="in_array($forumid, array(41,0))"> stuff to be shown </if> That is what someone told me once.....I tried it and it worked. |
#13
|
|||
|
|||
Doesn't work for me. And i'm editing the template forumhome_forumbit_level1_post |
#14
|
||||
|
||||
Maybe the problem is we're misunderstanding what it is you're trying to do. What are you trying to do with your custom code?
|
#15
|
||||
|
||||
Instead of doing an two if conditions, one for if true, the other for if not true, combine them into one - if true or else.
Also, are you positive you are editing the correct template for the page? |
#16
|
|||
|
|||
I think so.
Any way what i'm trying to do is this. http://www.tgt.co.il/forumdisplay.php?f=9 - link to my category. http://www.tgt.co.il/forumdisplay.php?f=17 - link to forum that have inside sub forums. what i'm trying to do is to change the view in the category and NOT to change the view in the sub forum table. Hope you'll understand now. And maybe i used a wrong template. edit : Now i'm trying to do this in the HARD way, it seems like to be working. TNX for you help every body. Those codes really helped me. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|