The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Custom/Combined BB Code?
I am just wondering would I be able to do the following through the BB Code Manager...
I have a custom tag/hack that shows certain content to certain groups only. Now, would I be able to add a custom BB code tag that uses this showtogroups tag and adds a few other properties as well. For example, I want to add a new tag called "link". Once users click on the LINK icon/tag in the editor while writing a message it would pop up a new window (javascript, i presume) asking them to enter a value. They would enter a certain string value (let's call it NAME for this example), and the tag would embed the following code for them: HTML Code:
[b]NAME[/b] [showtogroups=2][b][url=http://www.whatever.com/NAME]NAME[/url][/b][/showtogroups] the only thing that prevents me from imagining this work is that "replacement" field in the BB Code Manager which requires HTML code for the tags, because I am not sure how to embed that showtogroups tag as HTML code and whatnot, since it's a custom hack. in addition to the above, could I make that code available only to users posting in certain threads (that would require modifications in style, i believe, in newthread and newreply templates)...? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|