The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi friends, i want to hide the last post viewed from forumhome of one subforum. How can i do it? I look for it in the search button, but i didnt find it.
Thanks. |
#2
|
|||
|
|||
![]()
I read that i have to put this, but i put it and it doesnt work:
<if condition="!in_array($forum['forumid'], array(1,2,3,6))"></if> |
#3
|
||||
|
||||
![]()
You actually have to put the code that should be shown or not shown in between the two conditional tags.
|
#4
|
|||
|
|||
![]()
Do you know which code is?
|
#5
|
||||
|
||||
![]()
The column in one (or a few) of the forumhome_forumbit_* templates. I don't have a copyo f vBulletin in front of me right now.
|
#6
|
|||
|
|||
![]() Quote:
Code:
</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> I try something like that but it doesnt work: Code:
<if condition="!in_array($forum['28'], nowrap="nowrap">$forum[lastpostinfo] array(28))"></if> |
#7
|
|||
|
|||
![]()
Tried the same code and gives an error straight away.
Code:
Parse error: syntax error, unexpected '=' in /public_html/root/includes/adminfunctions_template.php(3729) : eval()'d code on line 15 Code:
<tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></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]" rel="nofollow">$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> <if condition="!in_array($forum['158'], nowrap="nowrap">$forum[lastpostinfo] array(158))"></if> <td class="alt2">$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 ________ PUBLIC MOVIES |
#8
|
||||
|
||||
![]()
This is the line you want to get rid of?
HTML Code:
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> HTML Code:
<td class="alt2" nowrap="nowrap"><if condition="$forum['forumid'] == '158'"> <else />$forum[lastpostinfo]</if></td> |
#9
|
|||
|
|||
![]() Quote:
|
#10
|
|||
|
|||
![]()
I have tried this too and it did not work.
I am having a problem where It is not showing the post amount or thread amount within the new sub forums I am creating too. Basically what I am after is to be able to hide the last post info of two sub forums and still have the thread and post count to show to all. Also these forums are passworded too. If anyone can help me achieve this I will be really grateful. Thank you ________ Motorcycle Tires |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|