Crazy Serb
03-20-2006, 07:44 PM
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:
NAME
NAME (http://www.whatever.com/NAME)
is that possible at all?
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)...?
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:
NAME
NAME (http://www.whatever.com/NAME)
is that possible at all?
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)...?