Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 20 Nov 2014, 19:03
msau msau is offline
 
Join Date: Oct 2014
Originally Posted by Badshah93 View Post
for adding any particular custom bbcode to Quick Reply, create new plugin

Hook: editor_construct
Title: bbcode button
plugin code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace xxx with Title of custom bbcode, to get title of bbcode open BB Code Manager in admincp.
nOOb to a lot of this stuff, this worked great, thanks a lot.
Reply With Quote
  #17  
Old 20 Apr 2015, 19:29
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Real name: Jennifer
Originally Posted by kh99 View Post
Try this, in a plugin using hook editor_toolbar_set:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Perfect! Just what I needed.
__________________
Jennifer M. - php developer since '98
Reply With Quote
  #18  
Old 21 Apr 2015, 18:49
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Originally Posted by Sworm View Post
I'm using this one for all the custom BBcodes in QR and QE:

Hook: editor_construct

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and this one to add "code" - "php" - "html" in the Quick Reply/Edit

Hook: editor_toolbar_filter

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

They working for me.
Wow, that worked perfect! Thank you!

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:
__________________
TheTechGenius.Net Official IRC Network (ONLINE)
Host: irc.thetechgenius.net
Port: 6667
TTG IRC Web Client - http://thetechgenius.net/irc.html
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements [CKEditor] MARCO1 Advanced Editor - Quick Reply & Quick Edit With Full Editor Control MARCO1 vBulletin 4.x Add-ons 469 20 May 2019 08:04



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:18.

Layout Options | Width: Wide Color: