The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
We currently are running a few embedded sounds on our forum. The majority of our membership enjoys it, but there are those that don't and would like them to go away.
Is there a way to have forum sounds so that members can opt in or opt out on and individual basis? Thanks in advance! Hawk |
|
#2
|
||||
|
||||
|
You could do this with a conditional based on a profile field. Just add an additional profile field and have them put in a yes or no. And then wrap each instance of the sound playing with a conditional based on that profile field.
|
|
#3
|
|||
|
|||
|
could you give me an example of how that can be written?
I will call it hear sound option with yes or no. Thanks! |
|
#4
|
||||
|
||||
|
Something like:
Code:
<if condition="$post['field5']==yes">
sound code
</if>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|