The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Smilie code to parse BBCode?
Odd question, but hopefully someone knows the answer. I'm looking to make a smilie code, post and parse a BBCode. For example, if someone posted:
Code:
:ducks: Code:
[img] url_to_a_picture_of_ducks.jpg [/img] Is this possible? |
#2
|
|||
|
|||
I'm not sure I follow all that, but can't you use the "Add New Smilie" function (under "Smilies" in the admincp)?
|
#3
|
|||
|
|||
What I'm trying to do is have a :code: do something other than show a smilie. An image link was a terrible example, haha. Sorry about that!
Exact example: I have an MP3 embed custom BBCode, so [mp3]urlofsong.mp3[/mp3] will show a small flash player with the user's input. I tried making a replacement variable that uses the MP3 BBCode with a certain MP3 already included, so that if they type :mp3: in a post it would automatically post [mp3]urlofsomesongonmyserver.mp3[/mp3]. The replacement variable works, but what gets put into the post doesn't get parsed. So instead of seeing the results of what would normally happen if you just typed in [mp3]whatever.com/mp3.mp3[/mp3] (my flash player), it just shows the exact code itself. The replacement variable works, but it doesn't parse the BBCode. vB is running the query for the replacement variable, so :mp3: DOES put [mp3]thingIwant[/mp3] into the post, but the BBCode itself doesn't parse. Does that make sense? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|