A Community Builder plugin for Joomla 1.5 that displays a user's files. If the user is viewing his/her own profile, the user can also delete the file from the frontend, which is not yet supported officially by Phoca Download itself! Download it here;
http://www.plethoradesign.com/downloads/#cbphoca
This has been submitted to the JED at extensions.joomla.org and is awaiting approval.
Community Builder plugin
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Community Builder plugin
Great to hear it.
Thank you for the info.
Jan
Thank you for the info.
Jan
If you find Phoca extensions useful, please support the project
-
cvoogt
- Phoca Newbie

- Posts: 7
- Joined: 08 Oct 2010, 15:00
Re: Community Builder plugin
ps. The delete function I built in is a simple MySQL query .. it does not actually delete the file off the server (!).
At some point I may also write a function to delete the file off the server, but I want to spend a little time on that so that I get it right. I wrote this for a client so when they start feeling the need to have the files deleted as well, I will add that to this plugin. You could adapt that code and use it within Phoca Download.
Right now I am using a simple query like this;
I have just updated the plugin a bit to add some variable filtering / sanitizing. It's about to be published in the JED too.
At some point I may also write a function to delete the file off the server, but I want to spend a little time on that so that I get it right. I wrote this for a client so when they start feeling the need to have the files deleted as well, I will add that to this plugin. You could adapt that code and use it within Phoca Download.
Right now I am using a simple query like this;
Code: Select all
$query = "DELETE FROM #__phocadownload WHERE id='".$_REQUEST['fileid']."'";
$db->setQuery($query);
$result = $db->query();
-
navibd
- Phoca Enthusiast

- Posts: 83
- Joined: 18 Jul 2010, 18:10
Re: Community Builder plugin
thank you very much dude!
actually it was a really really cool stuff . but is there any way to add some anti virus online checking after user upload?
like http://www.virustotal.com/
or any other source for online checking?
because I really concern about security and these stuff.
I love you anyway and thank you in advanced...
-
cvoogt
- Phoca Newbie

- Posts: 7
- Joined: 08 Oct 2010, 15:00
Re: Community Builder plugin
I don't really understand your point about antivirus ... you can (and should) run antivirus checks yourself when downloading files. Anyway, the plugin is now also listed in the Joomla Extension Directory;
http://extensions.joomla.org/extensions ... ions/14308
I got your private message but can't reply to PM's ... it won't let me. I don't know why.
You asked if there is a way to display download statistics for that user. I might eventually add this in, but for now you could try using this;
http://www.nonumber.nl/extensions/modul ... b=Download
and:
https://www.phoca.cz/download/category/2 ... ics-module
You should then be able to create a custom tab in Community Builder and put the module inside the Description. That way you can get the stats showing within the CB profile. I haven't tried it but it should work.
http://extensions.joomla.org/extensions ... ions/14308
I got your private message but can't reply to PM's ... it won't let me. I don't know why.
You asked if there is a way to display download statistics for that user. I might eventually add this in, but for now you could try using this;
http://www.nonumber.nl/extensions/modul ... b=Download
and:
https://www.phoca.cz/download/category/2 ... ics-module
You should then be able to create a custom tab in Community Builder and put the module inside the Description. That way you can get the stats showing within the CB profile. I haven't tried it but it should work.
-
cvoogt
- Phoca Newbie

- Posts: 7
- Joined: 08 Oct 2010, 15:00
Re: Community Builder plugin
I have added the ability for users to delete their own files (and they will not see others' files and cannot delete other users' files).
I also added a parameter to the Community Builder tab for this plugin that let you determine which user levels (Registered, Author, etc) should be able to see the Upload/Edit functionality in their Community Builder profile.
I also added a parameter to the Community Builder tab for this plugin that let you determine which user levels (Registered, Author, etc) should be able to see the Upload/Edit functionality in their Community Builder profile.
-
vibezzzzz
- Phoca Newbie

- Posts: 2
- Joined: 05 Jan 2011, 14:36
Re: Community Builder plugin
Hello,
When i try to install the plugin for community builder i always get error! No xml found! Any suggestions?
Thank you
When i try to install the plugin for community builder i always get error! No xml found! Any suggestions?
Thank you
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Community Builder plugin
Hi, I think, you need to contact the developer of this plugin
(I have no experiences with it
)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
vibezzzzz
- Phoca Newbie

- Posts: 2
- Joined: 05 Jan 2011, 14:36
Re: Community Builder plugin
thank you for your reply
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: