The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
BBCode Parsing, Detect If Signature?
I'm hooking bbcode_create and doing some things with the parsed URLs. Is there a way to detect if the bbcode is from a signature or from the post itself?
Thanks for any help. |
#2
|
|||
|
|||
I don't think you can know at hook bbcode_create. But when parse() is called, the forumid property ($this->forumid or $parser->forumid) will be set to 'signature'.
|
Благодарность от: | ||
Mohajer |
#3
|
|||
|
|||
How to detect if this is whole user signature ?
i need something like this : if (!$post['signature']) Thank you . |
#4
|
|||
|
|||
I'm not sure what you're asking. What do you mean by the "whole user signature"?
Like I said above, I don't believe there's any way to know using hook bbcode_create, but if you explain what you're trying to do we might be able to figure out a way to do it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|