The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom BB codes in quick reply
OK has someone done this? But what I want is for my user to be able to click the windows media player, quicktime or iframe tags in the quick reply box.
|
#2
|
|||
|
|||
You mean as in add BB codes other then "B", "I", "U" and "Quote" that's there by default?
|
#3
|
|||
|
|||
Uh.... yeah I mean at the bottom of this page right? I would like to know if I can add my own custom BB codes. But on my site.
|
#4
|
||||
|
||||
Right out of the Admincp:
Custom BB Codes BB Code Manager Add New BB Code |
#5
|
|||
|
|||
You have to do some template editing to add the BB codes to the quickreply. In showthread_quickreply find
PHP Code:
PHP Code:
If you want to add a seperator, use PHP Code:
|
#6
|
|||
|
|||
<td><div class="imagebutton" id="cmd_BBCODE"><img src="$stylevar[imgdir_editor]/http://www.kefalonia.net.gr/images/icon_windowsmedia9_small.gif" alt="$vbphrase[wmv]" width="21" height="20" /></div></td>
I tried this is this what you meant? Cause it didn't work. And when I tried to put the entire code into the wmv space I got errors. |
#7
|
|||
|
|||
It should be
PHP Code:
Edit: I forgot, there are two places you need to add this code. Find PHP Code:
PHP Code:
|
#8
|
|||
|
|||
Yup that did it just great!
|
#9
|
|||
|
|||
Happy to be of help. ^^
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|