The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disable spoiler bbcode in signatures
Hi,
I like many others forum owners have implemented a spoiler bbcode in my forums. Now I want to globally (for all usergroups) disable the use of the spoiler bbcode in signatures. Is that an easy task? Any ideas? Thank you, Jonathan EDIT: I have been investigating and found this from a member: Quote:
However if I do that, my spoiler bbcode stop working on posts too. Can anyone give me a hand with the conditional please? Thank you. |
#2
|
|||
|
|||
I think maybe the problem is that the same bbcode parser object is used for all posts and signatures, so once that variable is unset for the first signature it can't process any spoiler tags in following posts. That's probably why some people though it worked and some didn't - they probably were using different test cases.
I don't know what a good solution is off the top of my head. I guess you could save it somewhere before unsetting it, then put it back when needed, like: PHP Code:
(I haven't tried this code at all) |
#3
|
|||
|
|||
Hi kh99,
Thanks for your reply and coding help. I have tried with the code you made and unfortunately it isn't working. It also produces these errors: Quote:
Quote:
|
#4
|
|||
|
|||
Oh, sorry - that's what happens when I post code without trying it at all
I fixed it (or, at least the syntax errors). |
#5
|
|||
|
|||
It works!
Thank you very much!!! :up: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|