Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Feb 2012, 14:51
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
How to add custom bbcodes to quick reply editor?

I remember there was a mod for this for 3.8, quick editor improver or something like that. But I couldn't find anything that might allow it on vB4.
__________________
Reply With Quote
  #2  
Old 11 Feb 2012, 15:05
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
There's this mod: http://www.vbulletin.org/forum/showthread.php?t=264219 but to be honest I'm really sure if it does what you want.
Reply With Quote
  #3  
Old 11 Feb 2012, 15:21
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Yeah, not a word about adding buttons for custom bbcodes, but just revamping how the editor works all together.
__________________
Reply With Quote
  #4  
Old 11 Feb 2012, 21:10
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Try this, in a plugin using hook editor_toolbar_set:


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

Reply With Quote
  #5  
Old 11 Feb 2012, 21:19
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
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.
What does the bolded part mean? I'm a total baka with this >.<
__________________
Reply With Quote
  #6  
Old 11 Feb 2012, 21:28
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
In the adminCP, under "Plugins and Products", click on "Add New Plugin".

- Select editor_toolbar_set from the dropdown menu for Hook Location
- Enter something for the title that will let you remember what it does when you look at it later
- Paste the code that I posted above in the Plugin PHP Code box
- Click the Yes radio button next to Plugin is Active

Then press save. If there are any problems go back to the Plugin Manager and you can edit or disable that plugin.
Reply With Quote
  #7  
Old 11 Feb 2012, 21:43
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Oh, rawr, great kudos to you. Would you incidentally know what sizes the icons have to be? The old ones are too big with vB4.
__________________
Reply With Quote
  #8  
Old 11 Feb 2012, 21:52
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I'm not sure, but it kind of looks like 16x16 would be a good size.
Reply With Quote
  #9  
Old 11 Feb 2012, 23:23
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Awkward, I tried searching for the editor icons, but the only ones I found in the images folder, were the ones from the old editor.

--------------- Added 12 Feb 2012 at 20:06 ---------------

Uhm, new question - how to add this to quick editor in edit mode? http://prntscr.com/632ev
__________________
Reply With Quote
  #10  
Old 26 Mar 2012, 10:46
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Uhm, so like, which hooks should I add this to for quick edit editor, quick replies for private messages http://prntscr.com/7f78l, visitor messages http://prntscr.com/7f77x, and view conversations http://prntscr.com/7f789?
__________________
Reply With Quote
  #11  
Old 26 Mar 2012, 12:01
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Try:

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

(Adds buttons to all editors but full editor).
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #12  
Old 26 Mar 2012, 12:34
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Uhm... where do I put it? I tried replacing the previous code with yours, but nothing appeared.
__________________
Reply With Quote
  #13  
Old 26 Apr 2012, 16:22
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Real name: Aayush Agrawal
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.
Reply With Quote
  #14  
Old 16 Nov 2012, 13:40
cjwinternet cjwinternet is offline
 
Join Date: Oct 2005
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.
That works great, thanks.
Reply With Quote
  #15  
Old 05 Dec 2012, 10:31
Sworm Sworm is offline
 
Join Date: Feb 2008
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.
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 17:07.

Layout Options | Width: Wide Color: