Page 1 of 2

Community Builder plugin

Posted: 08 Oct 2010, 15:03
by cvoogt
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.

Re: Community Builder plugin

Posted: 09 Oct 2010, 14:20
by Jan
Great to hear it.

Thank you for the info.

Jan

Re: Community Builder plugin

Posted: 09 Oct 2010, 15:41
by cvoogt
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;

Code: Select all

$query = "DELETE FROM #__phocadownload WHERE id='".$_REQUEST['fileid']."'";
$db->setQuery($query);
$result = $db->query();
I have just updated the plugin a bit to add some variable filtering / sanitizing. It's about to be published in the JED too.

Re: Community Builder plugin

Posted: 11 Oct 2010, 00:53
by navibd
:twisted: :twisted:
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...

Re: Community Builder plugin

Posted: 11 Oct 2010, 18:44
by cvoogt
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.

Re: Community Builder plugin

Posted: 21 Oct 2010, 02:40
by cvoogt
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.

Re: Community Builder plugin

Posted: 05 Jan 2011, 14:39
by vibezzzzz
Hello,

When i try to install the plugin for community builder i always get error! No xml found! Any suggestions?

Thank you

Re: Community Builder plugin

Posted: 05 Jan 2011, 15:50
by Jan
Hi, I think, you need to contact the developer of this plugin :-( (I have no experiences with it :-( )

Jan

Re: Community Builder plugin

Posted: 05 Jan 2011, 16:12
by vibezzzzz
thank you for your reply

Re: Community Builder plugin

Posted: 05 Jan 2011, 17:01
by Jan
Ok :(