The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
no sigs or avatars
i was wondering if it was possible to have no sigs or avatars displayed in a certain forum.
looked at forum permissions etc but couldnt find a way without disabling them over the full site. so if anyone can either advise me or create some kind of mdification it would be very appreciated. thanks in advance. version i'm running is 3.6.0 |
#2
|
||||
|
||||
One way you could do it is make a conditional statement based on forum in the template around the sig and avatar.
Code:
<if condition="in_array($thread[forumid], array(X,Y,Z))">blah</if> |
#3
|
||||
|
||||
If you only want one or a few forums to not display the avatars and sigs then do the code above with the adjustment of:
Code:
<if condition="in_array($thread[forumid], array(x,y,z))"> <else /> avatar or sig code here... </if> |
#4
|
|||
|
|||
ok tried to mess around with the above code but i'm no coder so wasnt too sure on what i was doing.
can someone show me an example code of avatars being not shown in forum id = 79 which templates do i edit, postbit? and where do i enter the code, is it a replacement or to go above or below any specific part. |
#5
|
||||
|
||||
Here is one way, keep in mind you will have to add only the forums you want to exclude, so every forumid do that you put in the array will show avatars and sigs, all others will not.
In your postbit (or postbit_legacy) find: Code:
<if condition="$show['avatar']"> Code:
<if condition="$show['avatar'] AND in_array($thread[forumid], array(xx,xx,xx))"> Code:
<if condition="$post['signature']"> Code:
<if condition="$post['signature'] AND in_array($thread[forumid], array(xx,xx,xx))"> |
#6
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|