Audience Contibuted Media Block
Permalink
I made a new block. I'm not sure how useful it will be once the new file manager comes out, but I needed to make this for the site I'm working on.
Its a block where site viewers can submit files to be reviewed by site moderators.
I still need to write the moderator's view, but the submission view is finished. It uses SWFUploader.
(http://code.google.com/p/swfupload/... )
It is under the MIT license as well. I <3 Open Source!
Here's version 0.1a
Its a block where site viewers can submit files to be reviewed by site moderators.
I still need to write the moderator's view, but the submission view is finished. It uses SWFUploader.
(http://code.google.com/p/swfupload/... )
It is under the MIT license as well. I <3 Open Source!
Here's version 0.1a
There is a bit of code cleaning up I need to do. I just need to run through it and make sure I wrote everything according to the c5 coding style guide.
I designed this block so that it is as easy as possible to use.
Here is how to set it up:
------------------------------------
Step 1 - Install the Submit Block
Step 2 - Place Submit Block on a page
Step 3 - Grant editing privileges to the page for whatever user/groups you want to see the uploaded files.
How to use:
--------------------
If you do NOT have permission to edit the page, than the upload form will appear...
Step 1 - Type in a description or some kind of comment
Step 2 - Click the Upload button and select a file
Step 3 - Click Submit
If you do have permission to edit the page, than the file list will appear...
Step 1 - Click file name to view submitted file
Step 2 - Click Yes is you want to save the file to the database or No to delete it.
Here's the latest version 0.3b...
Things to come:
---------------------------
Disallow "Guest" account to submit content
Mods can send message to user regarding submitted content.
Simple multi-format previewer
Code Cleaning
Better way to grant "Moderator" permission
Allow Users to see a list of files that they have submitted.
File Status (Approved/Unapproved/In Review)
I designed this block so that it is as easy as possible to use.
Here is how to set it up:
------------------------------------
Step 1 - Install the Submit Block
Step 2 - Place Submit Block on a page
Step 3 - Grant editing privileges to the page for whatever user/groups you want to see the uploaded files.
How to use:
--------------------
If you do NOT have permission to edit the page, than the upload form will appear...
Step 1 - Type in a description or some kind of comment
Step 2 - Click the Upload button and select a file
Step 3 - Click Submit
If you do have permission to edit the page, than the file list will appear...
Step 1 - Click file name to view submitted file
Step 2 - Click Yes is you want to save the file to the database or No to delete it.
Here's the latest version 0.3b...
Things to come:
---------------------------
Disallow "Guest" account to submit content
Mods can send message to user regarding submitted content.
Simple multi-format previewer
Code Cleaning
Better way to grant "Moderator" permission
Allow Users to see a list of files that they have submitted.
File Status (Approved/Unapproved/In Review)
After some rigorous testing, I found out that the last version was not as well coded as I though.
There were some serious issues I overlooked when a file was deleted.
Anyways, this new version not only fixes a bunch of problems, but also has 2 new features. Moderators can now email the contributing user and the "Guest" account is denied the ability to post and is shown a message telling the guest to register and login.
Here's version 0.4b...
Still a few features to come:
-----------------------------------------
Cleaner Code :: With Comments
Check File Mod Status per User
Better Way to Choose Mods
Simple Multi-format Previewer
There were some serious issues I overlooked when a file was deleted.
Anyways, this new version not only fixes a bunch of problems, but also has 2 new features. Moderators can now email the contributing user and the "Guest" account is denied the ability to post and is shown a message telling the guest to register and login.
Here's version 0.4b...
Still a few features to come:
-----------------------------------------
Cleaner Code :: With Comments
Check File Mod Status per User
Better Way to Choose Mods
Simple Multi-format Previewer
You install the block. Put the block on a page. If your user name or group is not part of the "moderators" you can submit a file for review. If you are a moderator, than you can view the files that have been uploaded. You can either allow the files to go into the database or delete them.
Very simple, all frontend.
I'll figure out a way to set mods some time soon.
Anyways, here's version 0.2a