banner



How To Use User Submitted Posts Wordpress Plugin To Upload Videos

WordPress Plugin: User Submitted Posts

[ User Submitted Posts ]

User Submitted Posts enables your visitors to submit posts and images from anywhere on your site via template tag or shortcode. User-submitted posts optionally include tags, categories, post titles, and more. You can set up submitted posts as draft, publish immediately, or later on some number of canonical posts. Likewise enables users to upload multiple images when submitting a post. Everything super-easy to customize via Admin Settings folio.

Update! Pro version of User Submitted Posts now available — check it out »

Permit your visitors submit content

User Submitted Posts makes it piece of cake to brandish a public mail-submission course virtually anywhere on your site. Utilize the USP shortcode to brandish the submission form in any post or page, or utilise the USP template tag to include the form anywhere in your theme design. Visitors may then use the grade to submit posts to your site. Depending on your preferences, user-submitted posts may include the following input fields:

  • Name
  • Email
  • URL
  • Mail Title
  • Post Tags
  • Mail service Category
  • Post Content
  • Custom Field
  • Claiming Question
  • Google reCAPTCHA
  • Mail Images

Using the Settings Page, you choose which fields to display, min/max number of images, min/max image size, redirect location, error messages and more. User Submitted Posts makes it easy to setup just about whatever blazon of user-submitted functionality for your WordPress-powered site. Here are some examples of how the USP plugin could be used:

  • Public Submit a Link form with tags
  • Simple Submit News form with post, title & author
  • Employ as Contact Form that allows paradigm attachments
  • Utilize every bit an Image Uploader, perhaps with tags, title or whatsoever

One time a user has submitted a post, it's saved as a "Draft" by default, but may optionally be ready to "Publish Immediately" or even to publish if the author has "x" number of approved submissions. The plugin also displays a User Submitted Posts push at the peak of the Posts Page that lets you filter all user-submitted posts/drafts with the click of a button.

Features

  • Let visitors submit posts from anywhere on your site
  • Use template tag or shortcode to display the grade anywhere
  • Includes customizable captcha and hidden field to stop spam
  • Submitted posts may include any/all of the available fields
  • Redirect user anywhere later successful mail submission
  • Includes template tags for displaying submitted content
  • New HTML5 submission form with streamlined CSS styles

Image Uploads

  • Optionally permit/require visitors to upload any number of images
  • Specify minimum and maximum width and elevation for uploaded images
  • Specicy min/max number of immune image uploads for each post
  • Includes jQuery snippet for easy choosing of multiple images

Customization

  • Command which fields are displayed in the submission form
  • Cull which categories users are allowed to select
  • Assign submitted posts to whatsoever registered user
  • Customizable success, error, and upload messages
  • Plus options for the captcha, auto-publish, and redirect-URL
  • Choose grade style: Classic, HTML5, or manifestly (disable styles)

Postal service Direction

  • Custom Fields saved w/ each mail: proper name, IP, URL, images, et al
  • Set submitted posts to any condition: Draft, Publish, or Moderate
  • One-click mail-filtering of submitted posts in the Admin Area
  • Includes template tags for easy display of submitted images

Installation & Usage

Overview

  1. Install USP just similar any other WordPress plugin
  2. Become to the "User Submitted Posts" settings and customize your options
  3. Display the submission grade on your folio(s) using template tag or shortcode

Displaying the submission form

To display the grade on a postal service or page, use the shortcode:

          [user-submitted-posts]        

To display the course anywhere in your theme, use the template tag:

          <?php if (function_exists('user_submitted_posts')) user_submitted_posts(); ?>        

Customizing the submission grade

  • To style the submission form, use the included CSS file located at: /resource/usp.css
  • To add custom JavaScript, use the included JS file located at: /resources/usp.js

Customizing user-submitted posts

User-submitted posts are only like whatever other post, with the exception that they each contain a gear up of custom fields. The custom fields include actress information about the post:

  • is_submission – indicates that the post is in fact user-submitted
  • user_submit_image – URLs of whatever submitted images (one field per prototype)
  • user_submit_ip – the IP address of the submitted-post author
  • user_submit_name – the name of the submitted-postal service author
  • user_submit_url – the submitted URL

So when user-submitted posts are displayed on your website, say on the dwelling page or single-view, these custom fields are bachelor to you in your theme files. This enables you to customize the user-submitted posts past displaying the submitted name, URL, images, and so forth. Here are two manufactures for those new to using WordPress custom-fields:

  • WordPress Custom Fields, Part I: The Basics
  • WordPress Custom Fields, Part Two: Tips and Tricks

Template Tags

Additionally, the USP plugin also includes a set up of template tags for customizing your user-submitted posts:

          usp_is_public_submission() Returns a boolean value indicating whether the specified post is a public submission Usage: <?php if (function_exists('usp_is_public_submission')) usp_is_public_submission(); ?>  usp_get_post_images() Returns an assortment of URLs for the specified post image Usage: <?php $images = usp_get_post_images(); foreach ($images every bit $image) { echo $paradigm; } ?>  usp_post_attachments() Prints the URLs for all post attachments. Usage:  <?php if (function_exists('usp_post_attachments')) usp_post_attachments(); ?> Syntax: <?php if (function_exists('usp_post_attachments')) usp_post_attachments($size, $beforeUrl, $afterUrl, $numberImages, $postId); ?> Paramters:     $size         = paradigm size as thumbnail, medium, big or full -> default = full     $beforeUrl    = text/markup displayed earlier the paradigm URL     -> default = <img src="     $afterUrl     = text/markup displayed after the image URL      -> default = " />     $numberImages = the number of images to display for each post  -> default = false (display all)     $postId       = an optional post ID to use                     -> default = uses global post  usp_author_link() For public-submitted posts, this tag displays the author's name as a link (if URL provided) or plain text (if URL not provided) For normal posts, this tag displays the author's name equally a link to their writer's postal service page Usage: <?php if (function_exists('usp_author_link')) usp_author_link(); ?>        

For more tags, check out USP at WordPress.org, and/or the source code of the plugin file located at: /library/template-tags.php

Screenshots

Here are some screenshots of the USP plugin:

  • USP submission form (default settings/styles)
  • USP Settings page (panels toggled airtight)
  • USP Settings (full view — panels toggled open up)
  • Button to filter user-submitted posts
  • custom fields included with each submitted post

Note: these screenshots were taken awhile ago. For fresh screenshots from more than recent versions of the plugin, check out USP at WordPress.org.

Download & Demo

To download the costless version of User Submitted Posts, visit the plugin homepage at the WordPress.org Plugin Directory.

  • Bank check out the USP Demo »
  • Get the Pro version »

Jeff Starr

About the Author

Jeff Starr = Fullstack Developer. Book Author. Teacher. Man Beingness.

Source: https://perishablepress.com/user-submitted-posts/

Posted by: zarateabidide1986.blogspot.com

0 Response to "How To Use User Submitted Posts Wordpress Plugin To Upload Videos"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel