Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Personal Files Infusion

Is their a way to change the code from just sending a file(s) to one person at a time. To send it to a set group instead?

Thanks,
John
jjwichter attached the following file:
personal_files.zip [16.83kB / 62 Downloads]
something works on this.. sad
tomorrow a transcript comes
ok.... Huh?
compatible PHP-Fusion 9.0

send one user,
and send selected user(max 10),
or send selected group.
delete your own file .
Add multilang support,
Add sitelink,
delete personal_files table (not used)

new install = infusion install,
update = admin-> infusions-> Personal Files -> Update

TEST TEST TEST
karrak attached the following file:
personal_files1.zip [19.72kB / 58 Downloads]
I uninstalled the old one and I infused the new one. Then it crashed the site and I got this, so I took it out and replaced it with the old one.

Fatal error: Uncaught Error: Call to undefined method PHPFusion\Admins::setFolderPermissions() in /home/buhlmode/public_html/v9/infusions/personal_files/infusion_db.php:36 Stack trace: #0 /home/buhlmode/public_html/v9/includes/classes/PHPFusion/Installer/Infusion.core.inc(45): include() #1 /home/buhlmode/public_html/v9/maincore.php(259): PHPFusion\Installer\Infusion_Core::load_Configuration() #2 /home/buhlmode/public_html/v9/administration/infusions.php(19): require_once('/home/buhlmode/...'wink #3 {main} thrown in /home/buhlmode/public_html/v9/infusions/personal_files/infusion_db.php on line 36
Andromeda good :)

del infusion_db.php line 36 or /* code */

CodeDownload  
\PHPFusion\Admins::getInstance()->setFolderPermissions('personal_files', [
 'infusions/personal_files/user/' => TRUE,
]);

not using Andromeda, I am using 9.0 here.
CodeDownload  

if (method_exists(\PHPFusion\Admins::getInstance(), 'setFolderPermissions')) {
 \PHPFusion\Admins::getInstance()->setFolderPermissions('personal_files', [
 'infusions/personal_files/user/' => TRUE,
 ]);
}

This is what I get when I add that code: Also can't select my user name jonathanwichter. Is that code needed? When I take out that code the errors go away.
jjwichter attached the following image:
screen_shot_2019-01-30_at_103009_am.png screen_shot_2019-01-30_at_103553_am.png
The error is gone but can't get my user name to show
you can't choose yourself
Are you asking me or telling me?
Thread Information
Author
Replies
12 posts
Views
1,300 times
Last Post
Last updated on 2 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: jjwichter, karrak, RobiNN