The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Thank you.
Okay, created a test user. The default editor for all new registrants is the Enhanced Editor. I logged out and logged in as the new user. Started a new Thread and the Link button is still in the editor and is functional. Previewing the post shows an active hyperlink. |
#12
|
||||
|
||||
Quote:
|
#13
|
||||
|
||||
Code:
if (is_member_of($vbulletin->userinfo, array(2))) { $k1 = 0; $k2 = 0; foreach($this->config['toolbar'] AS $arr_1) { if (is_array($arr_1)) { foreach($arr_1 AS $arr_2) { if ($arr_2 === 'Link') { unset($this->config['toolbar'][$k1][$k2]); break 2; } $k2++; } } $k1++; $k2 = 0; } } |
#14
|
||||
|
||||
Are you certain your test user is a member of usergroup 2?
When you saved the plugin, did you make it active? |
#15
|
||||
|
||||
Yes, the plugin is marked Active. The new user I created is in Primary Usergroup Registered User, which is usergroupid 2.
--------------- Added [DATE]1482963810[/DATE] at [TIME]1482963810[/TIME] --------------- What about using hook location editor_switch_wysiwyg_to_standard instead? What would the PHP code consist of for this for members of usergroupid 2? |
#16
|
||||
|
||||
Try adding the following line to the top of the plugin I posted:
PHP Code:
|
#18
|
||||
|
||||
I have published a product here that will allow you to remove whichever buttons you want and select the affected usergroups:
Custom Toolbar I have cited you as a co-author. |
#19
|
||||
|
||||
Thank you so very much.
Installed the MOD after making the prior plugin inactive. I'll check it out with my test user. I selected Link, Unlink, Html, and Php to be removed from the editor for Registered Users. --------------- Added [DATE]1483010822[/DATE] at [TIME]1483010822[/TIME] --------------- Works perfectly. The buttons I selected to be removed were not on the toolbar when I logged in with my test user. This is great! :up: |
Благодарность от: | ||
Dragonsys |
#20
|
||||
|
||||
Just noticed that in Custom Toolbar v1.1 under Buttons to Remove you have "Hold down the [CTRL] key to select multiple forums". That should be "Hold down the [CTRL] key to select multiple buttons".
|
Благодарность от: | ||
MarkFL |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|