![]() |
Where to edit "attachment insert" code?
I'm wondering how I would go about deleting this insert function. I want to allow people to upload image attachments, just not insert thumbnails of the image into the post. So, where would I go to edit the code and disable this feature?
http://i63.tinypic.com/2qnyvfc.png |
You can hide that block via CSS.
|
Quote:
|
Go to Sitebuilder (Edit Site ON) > Style > CSS Editor.
You can also go to Style Manager in AdminCP and edit the css_additional.css template (this is not allowed in vBCloud) |
Beware: The img-bbcode will still be functional if simply typed in manually. This just hides the button.
|
That's true for external images. But for uploaded images, [attach][/attach] tags are used and users wouldn't know what should go inside the tags to insert the image inline manually. Sample [attach] tag:
Code:
[ATTACH=JSON]{"data-align":"none","data-size":"large","data-tempid":"temp_123_1484243097683_123"}[/ATTACH] |
Ah, ok, sorry, I misread the first post.
|
All times are GMT. The time now is 11:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|