Separate Each User File In Sppb Media Manager - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Separate Each User File In Sppb Media Manager

S

saman

SP Page Builder 1 year ago

hi i write some code and can separate each user's file in media manager. means if user 1 login and upload some picture or file via media manager, then user2 can not see that files or pics. i implement that and work fine. but to implement that, i change some core code of sppb. i need only two line change in the core to can publish these plugin for sppb. i want send you my plugin for separate each user files in sppb. can you check that? how to send for you?

0
3 Answers
S
saman
Accepted Answer
1 year ago #143506

friendly bump , please answer me. i change these: **\components\com_sppagebuilder\assets\js\engine.js after unminify , line 9668

key: "getMediaItems", value: function (e) {

                    // this code is require to restrict sp media based on SpRestrictedFs plugin
                    if(e.type != "folders")
                    {
                        this.handleCategoryChange("folders");
                        return ;
                    }
                    // end

if it is possible i send my modified file here. thank you and wait for your reply

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #143807

Hello saman

Sorry, we do not have any plan to implement this. You can customize it on your site. But remember that if you update SP Page Builder, it will be changed to the default.

Best regards

0
S
saman
Accepted Answer
1 year ago #143810

but if you modify only 2 line in engine , we can release a plugin for your users as a free to separate different admin media file upload or create via AI . please dubble check if you can

0