![]() |
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. |
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'.
|
How to detect if this is whole user signature ?
i need something like this : if (!$post['signature']) Thank you . |
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. |
All times are GMT. The time now is 08:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|