The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Let's see your exact code (use the html tags and post three or four lines above and below your change) and let's see the exact error.
|
#12
|
|||
|
|||
Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post [userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> Now Tell Me What Shall I Change?? |
#13
|
||||
|
||||
You can try comblining the two like this:
HTML Code:
<if condition="$show['avatar'] AND $thread['forumid'] != x"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post [userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> |
#14
|
|||
|
|||
u know when i change that X to id:8 it gives me this error
|
#15
|
||||
|
||||
That makes no sense - there is no colon is that line. I tried this on a totally default postbit and it worked just fine. Maybe post your template code with a few lines above and below and we can see what is going on.
|
#16
|
|||
|
|||
here we go
Code:
</if> $post[firstnewinsert] <!-- / status icon and date --> </div> </td> </tr> <tr> <td class="alt2" style="padding:0px"> <!-- user info --> <table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%"> <tr> <if condition="$show['avatar'] AND $thread['x'] != x"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post [userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> <td nowrap="nowrap"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> $post[onlinestatus] <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> |
#17
|
||||
|
||||
It should be:
HTML Code:
AND $thread['forumid'] != x" HTML Code:
AND $thread['forumid'] != 8" |
#18
|
|||
|
|||
ohh Thanks Alot I have Done it
1 more thing if i wana hide avatar in any other section than?? |
#19
|
||||
|
||||
Then you may add another forumid:
HTML Code:
<if condition="$show['avatar'] AND ($thread['forumid'] != 8 OR $thread['forumid'] != x)">
|
#20
|
|||
|
|||
u mean like i put 9 after or??
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|