The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to use 1 bbcode to get the information of 3 bbcodes ?
Hi all,
I try to make a custom newthread template with bbcodes. I have 3 different custom bbcodes. 1st bbcode ( [year] ) : Enter the release date of the movie 2nd bbcode ( [cast] ) : Enter the movie cast info 3rd bbcode ( [genre] ) : Enter the genre info There will be a custom icon in message editor (newthread.gif). So when user click this icon, it will ask above questions. And after the user replied the questions, it will automatically add the content of above 3 custom bbcodes. Is that possible ? Is it possible to use just 1 bbcode at message editor to get the information of 3 different bbcodes ? Thanks in advance |
#2
|
||||
|
||||
You can only get 2 pieces of information, the option and the parameter: [bbcode={option}]{param}[/bbcode]
If you want to do anything more, you have to use plugins to handle the bbcode. |
#3
|
|||
|
|||
Thank you very much for your kind relation and quick response sockwater.
Regards |
#4
|
||||
|
||||
But you can parse the option so that it contains more than one. Decide on a separator, fir instance a semicolon,
and do [movie=year;genre]cast[/movie] or something similar. then explode the params in the handler. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|