The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
pre-defined BB code
I'm trying to make myself, what seems to be, a simple enough mod where members can set some BB code in their profile, and have all their posts automatically use that BB code.
So i managed to set up the profile fields through the ACP easy enough, but now I'm having troubles with this next part, I can't figure out how to get it so the BB code is automatically in the new message text area. Any help would be appreciated. |
#2
|
||||
|
||||
What is it exactly, that you are trying to do?
I am guessing bbcode is not the correct approach. |
#3
|
|||
|
|||
ok so some of members like using there own font styles, colours, sizes and all that and one of them asked me this:
Quote:
|
#4
|
||||
|
||||
Make a plugin that hooks into bbcode_parse_start
it should include a test for is_numeric($forumid) to prevent the extra tags being entered in signatures and other non post locations. it should finally set $text = opentags.$text.closetags Note that class_bbcode has $vbulletin passed in as $this->registry for your db calls. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|