UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online
Personally I do not like the fact that users can upload images for blog posts to several folders including deleting files and creating new folders. My achievement was to have only one folder where all users can upload to and select images from. Since EasyBlog already offers a "shared folder" the easiest way was to make this folder default and hide all other folders. If you like this idea just follow my guide to achieve this.

At first we need to hide the "create folder" and "delete file" buttons by CSS. So add the following to your custom.css:


#eb .can-delete.has-selections .eb-nmm-actionbar .btn-nmm-delete {
display: none;
}
#eb .can-create-folder .eb-nmm-actionbar .btn-nmm-new-folder {
display: none;
}


Now we need to make the "shared folder" the default one when opening the media manager inside the composer. Therefor open /components/com_easyblog/themes/wireframe/composer/toolbar/default.php and on line 99 you will find this:


<button type="button" class="btn eb-comp-toolbar__nav-btn" data-eb-composer-media data-uri="post">


and change it to:


<button type="button" class="btn eb-comp-toolbar__nav-btn" data-eb-composer-media data-uri="shared">


Finally we need to hide the folder selection in the media manager. Therefor add this to your custom.css:


#eb .is-places-open .eb-nmm .eb-nmm-places {
display: none;
}
#eb .is-places-open .eb-nmm {
padding-left: 0px;
}
The replies under this section are restricted to logged in users or users with an active subscription with us