The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
You could remove the button by creating a plugin using hook location editor_toolbar_filter and this code:
Code:
$key = array_search('Attach', $toolbar[0]); if ($key !== false) { unset($toolbar[0][$key]); if ($toolbar[0][$key + 1] == '-') unset($toolbar[0][$key + 1]); $toolbar[0] = array_values($toolbar[0]); } or if you really want a duplicate of the image button you could do this: Code:
$key = array_search('Attach', $toolbar[0]); if ($key !== false) { $toolbar[0][$key] = 'Image'; } BTW, this just changes the buttons in the editor, I'm not sure it actually prevents someone who knows what they're doing from uploding attachements, but it may be good enough for your purposes. ETA: ...and I misunderstood the question - see below. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|