The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#12
|
||||
|
||||
Uhm... where do I put it? I tried replacing the previous code with yours, but nothing appeared.
|
#13
|
|||
|
|||
for adding any particular custom bbcode to Quick Reply, create new plugin
Hook: editor_construct Title: bbcode button plugin code: PHP Code:
|
Благодарность от: | ||
deverill2010 |
#14
|
|||
|
|||
Quote:
|
#15
|
|||
|
|||
I'm using this one for all the custom BBcodes in QR and QE:
Hook: editor_construct Code:
if ($this->editor_type == 'qr' || $this->editor_type == 'qe') { $this->addCustomToolbarButtons(); } Hook: editor_toolbar_filter Code:
if ($this->editor_type == 'qr' || $this->editor_type == 'qe') { $toolbar[] = array('Code', 'Html', 'Php'); } |
#16
|
|||
|
|||
Quote:
|
#17
|
||||
|
||||
Perfect! Just what I needed.
|
#18
|
||||
|
||||
Quote:
The only problem I have is, the PHP, HTML, and Code BBcodes show up twice in the Quick Reply Box. And I only have the first plugin active, when I have both plugins active, the PHP/HTML/Code BBCodes show up 3 times. Without the second plugin active, they show up twice. Here is a screenshot: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|