The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disable postbit share buttons in certain forums
I got some code and inserted it where it needed to be to have the share buttons display in the postbit (every post).
My question is this: How do I disable them from showing in certain forums. Meaning obviously the private ones. Thanks!! |
#2
|
|||
|
|||
C'mon please. This is very important to me and it's out of my league.
There has to be a way to code it so it doesn't appear in certain forums. Again, thanks! |
#3
|
||||
|
||||
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.
|
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
And it's near impossible to tell you how to do that when we don't have the code. The best place to ask is wherever you got the code. (And no, since you didn't write the code, you may not post it here.)
There is an article in the vB4 articles section on writing template conditionals, so that may help you to figure it out. |
#6
|
||||
|
||||
If this is code you added to your postbit template you can use a template conditional to hide it in certain forums.
Code:
<vb:if condition="!in_array($thread['forumid'], array(2, 3, 4, 5))"> share code here </vb:if> |
#7
|
|||
|
|||
A million and one thanks, Joe!! :up:
You are the best!! |
Благодарность от: | ||
BirdOPrey5 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|