Let your users submit content
Unzip the file and upload the contents to your plugin directory
Install the plugin
-
At the link you added user can submit content for your blog, this content can be moderated through the admin. (You only can add content if you are on the blog team or if you are an administrator). Through the plugin options you can setup a skin, which will act as the “plugin” part of the default skin of that blog, the file upload, you can restrict upload to 0-5 files, only fileextenstions you like, limit the size and a prefix for the file (if you include a directory here you have to make sure it exists as a subdirectory of your media dir and is chmodded to 777), finally you can set a time limit between submits for one user.
skin: a skin for the form, acts as “plugin” part of the default skin for that blog, must contain ”<%SubmitSystemMain%>”.
waittime: Number of seconds an user has to wait before he/she can submit again (0 = unlimited)
fileupload: Turn on and off file uploading
filesize: Max file size most hosts have 2
MB = 2097152 B as limit
filecount: Max number of files (can't be bigger than 5)
filetypes: Allowed filetypes (extensions seperated by |, “*” for anything)
fileprefix: Used as prefix for uploaded files
moderatemode: On team, administrators and blog team members can moderate, on team admin, only blog or global administrators can moderate, and on admin, only global administrators can moderate.
log: Turns on or off the logging of times allowed/denied per IP
excludeblogs: Enter the shortnames of the blogs to be excluded of the submitform, seperated by |.
extrafields: Enter the names of extra fields (no spaces or specialcharacters) followed by ['Description to be displayed'], if you want to add more than one field you have to seperate them by |. Example: “extra1['Some extra field']|extra2['anotherfield']”
captcha: Turn on or off captcha check (GD2 needed)
emailnotification: Send an email to the admin email (set in global settings), on a new submission
previewmode: Turn on or off the preview before add when allowing mode
The skin option of the plugin must contain:
<%parsedinclude(head.inc)%>
<!-- page header -->
<%parsedinclude(header.inc)%>
<!-- page content -->
<div id="container">
<div class="content">
<%SubmitSystemMain%>
</div>
</div>
<!-- page menu -->
<h2 class="hidden">Sidebar</h2>
<div id="sidebarcontainer">
<%parsedinclude(sidebar.inc)%>
</div>
<!-- page footer -->
<%parsedinclude(footer.inc)%>
Then add in the sidebar.inc above
<!-- admin link, only visible if logged in -->
this
<!-- Submit System -->
<%if(skintype,error)%>
<%else%>
<dd><a href="<%sitevar(url)%>nucleus/plugins/submitsystem/submit.php?blogid=<%blogsetting(id)%>" title="Submit content">Submit content</a></dd>
<%endif%>
Version 2.0.2, 04/11/2006
Version 2.0.1, 04/11/2006
Version 2.0.0, 07/03/2006
Version 1.4.6, 07/03/2006
Version 1.4.5, 08/02/2006
Version 1.4.4, 23/01/2006
Version 1.4.3, 15/01/2006
Version 1.4.2, 14/01/2006
Version 1.4.1, 14/01/2006
Version 1.4.0, 14/01/2006
Version 1.3.2, 10/01/2006
Version 1.3.1, 10/01/2006
Version 1.3.0, 09/01/2006
Version 1.2.0, 09/01/2006
FIX: The
URL's in the submit forms are set correctly, and all skinvars useable on the index skinpart are useable
FIX: In the admin the blog shortname and a link is showed instead of it's ID
ADD: Logging how many alloweds/denials per IP (on option)
ADD: Possibility to exclude blogs from submission
ADD: Possibility to add extra textfields
Version 1.1.0, 08/01/2006
FIX: Email is displayed correct in the admin
FIX: The form also works with file uploads deactivated
ADD: IP is logged
ADD: The moderation level can be set
Version 1.0.1, 07/01/2006
Version 1.0, 07/01/2006