vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Custom Toolbar (https://vborg.vbsupport.ru/showthread.php?t=324086)

MarkFL 12-28-2016 10:00 PM

Custom Toolbar
 
1 Attachment(s)
Overview:

This simple product allows you to select which of the default editor toolbar buttons will be removed from the toolbar, and for which usergroups they will be removed.

Updates:

Version 1.1:
  • Added setting to allow for condensing the rows of toolbar buttons.

Version 1.1.1:
  • Fixed setting description.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

https://vborg.vbsupport.ru/attachmen...1&d=1493315025

Support for this product can be found here:

Snowhog 12-29-2016 09:21 AM

MarkFL is a genuine 'good person'. Two custom MODs created for me this week. This one addresses a problem we are having on our forum where the Link feature of the Basic and Enhanced Editor; we have the Enhanced (WYSIWYG) Editor Toolbar as the default registration option; was being used by a persistent spammer to create a spam hyperlink in their first posts. This MOD let's us remove that button from the editor for Registered Users (usergroupid 2). We have a Promotion enabled on that usergroup, so when users get promoted into the next level usergroup, the full featured editor toolbar becomes available.

Stratis 01-31-2017 05:12 PM

Very nice, works in vb4.2.0 & vb4.2.3

Some suggestion Mark.
what about, an option to put and "how many posts" user must have be able to see those bbcodes selected in for Affected Usergroups? (2 options with same result) :)


P.S. Is there a way to take control of customs bbcodes to?

MarkFL 02-02-2017 06:38 AM

Quote:

Originally Posted by Stratis (Post 2581620)
Very nice, works in vb4.2.0 & vb4.2.3

Some suggestion Mark.
what about, an option to put and "how many posts" user must have be able to see those bbcodes selected in for Affected Usergroups? (2 options with same result) :)

As mentioned, you can use the promotion feature for that. :)

Quote:

Originally Posted by Stratis (Post 2581620)
P.S. Is there a way to take control of customs bbcodes to?

This product is for the default BBCodes only...if you don't want buttons on the toolbar for your custom BBCodes, then don't include a button image. :)

Stratis 02-02-2017 06:48 AM

Quote:

Originally Posted by MarkFL (Post 2581658)
This product is for the default BBCodes only...

:p


Quote:

Originally Posted by MarkFL (Post 2581658)
if you don't want buttons on the toolbar for your custom BBCodes, then don't include a button image.

I want them, but not for all usergroups. :D


Thanks for discussion.

MarkFL 04-27-2017 03:46 PM

Version 1.1.1:
  • Fixed setting description.


All times are GMT. The time now is 06:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01128 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete