Video Pornster


Thank you for purchasing Video Pornster!

Import new content from various video sites into WordPress for unlimited amounts of fresh search engine food to update your niche blog all day, every day.

How does it work?

Each Video Pornster feed is a query for a channel, playlist, keyphrase, etc. that is sent to the video site’s API. The API returns the results of the query, and Video Pornster creates a post for each video returned, including comments, tags, categories, statistics and it even imports the featured image. Your theme handles the rest.

These video feeds can be scheduled to run in the background to continually look for new video content, letting your site build itself automatically.

Yes, Video Pornster includes advanced processing, so you can spin content, translate languages, remove text or links, have full control of the content layout, and more. You can save as any user, any post type, any status, any format, and any taxonomy.

 

Video Pornster is a WordPress plugin so this guide assumes you have a basic understanding of WordPress.
  1. Download the Video Pornster zip file from Envato to your computer.
  2. From the WordPress admin menu, select Plugins -> Add New.
  3. Click on the 'Upload Plugin' button at the top.
  4. Select the Video Pornster zip file you downloaded and click 'Install Now'.
  5. Enter the server's FTP details to upload and install the zip file.
  6. After sucessfully uploading, click on 'Activate Plugin'.
  7. The Video Pornster menu will now appear in the WordPress admin menu.
  8. Plugin updates will automatically show on your WordPress Updates page.

For those familiar with WordPress and plugins. Let's quickly import the highest rated 10 amateur videos from xHamster.

  1. Install and activate the Video Pornster plugin on your WordPress site.

  2. From the admin menu, Go to Video Pornster -> Main Settings and validate the plugin with your purchase information.

  3. Click Make Video Feed to build your first xHamster query. xHamster is the default video site, but you can switch to others.

    1. Change the number of videos to import to 10.
    2. Click on the 'Amateur' category.
    3. Change Sort by to 'Rating' to get the highest rated Amateur videos.
    4. We will leave the 'Process the Results' and 'Create the Posts' tabs to their defaults.

  4. For this example we are just going to manually query this feed to import some videos.
    Scroll down and click the Import xHamster Videos Now button.

    It will take a few seconds for xHamster to respond and the results to be processed and each post draft created.

  5. You should see some admin messages similar to:

    Note that API queries do not 'remember' your previous queries.
    If you click the Import xHamster Videos Now button again right now, xHamster should return the exact same 10 results.
    However Video Pornster will automatically skip videos it has already imported to avoid duplicates.

  6. You can preview, edit, publish or delete these results by clicking 'Posts' in the main dashboard.

    (Note: I'm using the Featured Image Admin Thumb plugin to show thumbnails in the WordPress' Posts screen)

    As standard WordPress content, these posts will be easily compatible with other plugins and standard themes. If using a premium theme, we may need to connect Video Pornster to their custom meta fields, if used. See the Premium Theme Support section.

  7. Now you can explore all the options and flexiblity with Video Pornster!

A video feed is comprised of Feed Details, Build the Query to a media site, Process the Results returned and Create the Posts with the finished data. These 4 sections are broken down below.

Feed Details

Build the Query for xHamster

Determines the query request to send to the xHamster API using their Content Export feature.

Build the Query for GayTube

Determines the query request to send to the GayTube API.

Build the Query for GotPorn

Determines the query request to send to the GotPorn API.

GotPorn has an API that can be used for searching for keyphrases, but it does not support any filters. They have a video dump for filters, but it does not support keyphrases. We can only use one or the other.

Build the Query for PornHub

Determines the query request to send to PornHub.

Build the Query for PornTube

Determines the query request to send to PornTube.

Build the Query for PornerBros

Determines the query request to send to the PornerBros API.

Build the Query for RedTube

Determines the query request to send to RedTube.

Build the Query for SpankWire

Determines the query request to send to SpankWire.

Build the Query for Tube8

Determines the query request to send to Tube8.

Build the Query for YouPorn

Determines the query request to send to YouPorn.

Build the Query for xTube

Determines the query request to send to xTube.

Build the Query for xVideos

Determines the query request to send to xVideos.

xVideos now uses javascript to prevent scrapers, so we're currently reduced to using their underwhelming RSS feed.

Build the Query for RSS feeds

Determines the query request to send for an RSS feed.

Valid RSS feeds are generally in two flavors:

IMPORTANT! Know the RSS feed style you wish to import. You can load the RSS feed URL in your browser and look for the <media:content> field to see if you need the Wordpress player shortcode. I know this is a bit of a pain, but it allows maximum flexibility.

Process the Results

Advanced processing of all the video results returned by the API from the query.

Create the Posts

Video Pornster will use the processed results to create posts, one per video result.

The buttons will contain the name of the media site for this feed.

Import [MEDIA SITE] Videos Now - Will send this query immediately and create posts from the results. Note: If you haven't saved this feed, then no VideoFeed meta data will be saved for the posts created.
Save [MEDIA SITE] Video Feed - Will save this video feed in the database. Whenever the Scheduler is triggered, all active video feeds will be queried sequentially.

Shows a summary list of video feeds that can be queried when the Scheduler is triggered. Inactive feeds will be greyed out and the name, id and source will be striked out. You can import, edit or delete feeds entirely, either singly or using the mass edit section below the summary list.

The Build the Query section of Mass Edit does not have many fields because each media site has a different API.

The Scheduler allows the video feeds to be queried continuously at certain frequencies for new videos, as well as the utility functions that help manage the videos.

If Scheduler is enabled it shows the times of the next scheduled triggers.

If a range is specified a random time will be chosen between them (example: 12-24 hours).

Note: Video Pornster hooks into the WordPress WP-Cron for scheduling. These cron events are only checked when a visitor loads a non-cached WordPress page on the site. If there are no visitors, there can be no cron checks and therefore no scheduler checks.

If you have a high traffic site and wish to turn off WP-Cron and use server cron jobs instead, see this FAQ.

All important log events during video feed Schedule requests will be shown here. Also, the message display options will be used when manually importing videos.

Display Messages

Miscellaneous utility functions for Video Pornster. Can be triggered via Scheduler or run manually.

  1. Trash Broken Embeds - Send posts to Trash if its embedded video has been removed from source media site. Sometimes the video owner or the remote site itself deletes or otherwise disables a video. In particular YouTube does well policing inappropriate, misleading and spammy videos. This cleans up your site instead of showing posts with broken embeds.
  2. Fetch Missing Thumbnails - Fetch any missing thumbnails on existing video posts. Sometimes the remote API times out before returning an image or similar issue. This lets the plugin re-request the image automatically.
  3. Remove Trash Images - Remove any images associated with Trashed Video Pornster posts to save space. If you Trash posts created by Video Pornster because the videos are spam, non-related, removed, etc., this will also delete the images too to save space (WordPress does NOT do this for you). Will ONLY apply to Trashed posts that were created by Video Pornster.
  1. Why don't the scheduler events trigger? Nothing is happening.
  2. Can I turn off WP-Cron and use server cron jobs instead?
  3. I’m seeing the message “Error: [plugin] hook not found, likely another plugin misuse of cron_schedules. See FAQ.” What is that?
  4. Why does the Scheduler use hours? Why can’t I query every X minutes or seconds?
  5. Video Pornster imported videos, but they don't display properly with my theme.
  6. How can I use schema.org microdata for the videos?
  7. How can I use a different video player?
  8. How can I convert VideoDuration into other formats?
  9. I'm getting strange characters when I save my feeds. What is it?
  10. How can I customize something specific when a post is created?
  11. How can I customize something specific when a post is updated?
  12. Why is the script timing out?
  13. How can I use the video's publish date when I publish a post manually?
  14. On some posts I'm seeing 'missed schedule'. What does that mean?
  15. I'm having trouble seeing all the custom taxonomies used by my theme. What is wrong?
  16. What is dynamic validation and how can I enable it?
  17. How can I map video categories to match my own site?

  1. Why don't the scheduler events trigger? Nothing is happening.

    • The plugin hooks into the WordPress WP-Cron for scheduling. These cron events are only checked when a visitor loads any WordPress page on the site. If there are no visitors, there can be no cron checks and therefore no scheduler checks.
    • If you are using a caching plugin, WP-Cron won't be called until a cached page is rebuilt.
    • If you've disabled WP-Cron in the wp-config.php file, make sure you have a cron job set properly on your server to invoke wp-cron.php periodically.
    • If you are using .htaccess to allow,deny by IP, make sure to allow the IP of your WordPress site itself as the WP-Cron uses that IP address.
    • Are you sure nothing is happening? Be sure to check the log file. Perhaps the videos are being skipped because they have already been imported. Try running with debug mode turned on.
  2. Can I turn off WP-Cron and use server cron jobs instead?

    • Yes, this is recommended (for any site) if you have high traffic or low server resources.
      1. Edit /wp-config.php and add the line
        define('DISABLE_WP_CRON', true);
      2. Edit your cron on the server via the command line with 'crontab -e' or administration panel and add the line
        */15 * * * * wget -q -O /dev/null http://www.mydomain.com/wp-cron.php > /dev/null 2>&1
        and change 'mydomain' to your site domain.

      This crontab entry will call wp_cron.php every 15 minutes and trigger any scheduled action hooks. Note that even though the 'next video feeds check' may be scheduled for 9:22, the above cron only fires every 15 minutes, so it won't be triggered until 9:30.

      See this excellent article for more details: WP-Cron: Scheduling Tasks in WordPress.

      If you are unfamiliar with cronjobs and/or are unable to edit your server's cron you may use a web based cron service such as EasyCron.

  3. I'm seeing the message "Error: [plugin] hook not found, likely another plugin misuse of cron_schedules. See FAQ." What is that?

    • This happens when another plugin incorrectly replaces cron_schedules with their own schedules instead of correctly adding to the existing schedules. This means the other plugin actually wipes out all existing cron hooks set by WordPress and plugins, including our plugin hook. The offending plugin code needs to be fixed or deactivated. I've only seen this happen with two other plugins - 1 was fixed and the other is no longer supported (php my video blog), but there are many many plugins out there. The chances of seeing this are slim, but if you do see this message, please let me know the offending plugin.
  4. Why does the Scheduler use hours? Why can't I query every X minutes or seconds?

    • The various media sites have daily quotas and/or throttling, so it's best to request 100 videos an hour than it is 1 video a minute. If you want to publish the posts at that frequency, save them in bulk as Drafts and use the free plugin Auto Post Scheduler.
  5. Video Pornster imported videos, but they don't display properly with my theme.

    • You are most likely using a Premium theme that uses custom meta data to store video information, and Video Pornster doesn't know what those custom fields are unless we declare them. See Premium Theme Support.
  6. How can I use schema.org microdata for the videos?

    • We can add this right into the Post Content Template for the video feed. Here is an example:
      <div itemscope itemtype='http://schema.org/VideoObject'>
      <meta itemprop='name' content='%VideoTitle%'><meta itemprop='thumbnailURL' content='%VideoImage%'><meta itemprop='embedURL' content='%VideoUrl%'><meta itemprop='width' content='640'><meta itemprop='height' content='480'>
      [embed width='640' height='480']%VideoUrl%[/embed]
      <p><span itemprop='description'>%VideoDescription%</span></p>
      </div>
      
  7. How can I use a different video player?

    • The adult sites use custom players when embedding their videos. There is no known way to use another player without breaking their TOS.
  8. How can I convert VideoDuration into other formats?

    • You can attach an action to when the VideoDuration post meta is added and perform your conversion. For instance the following code could be used to convert the VideoDuration from HH:MM:SS into just seconds and save it under the post meta key 'VideoSeconds':
      // Add this code to child theme's function.php file or in Code Snippets plugin (recommended)
      function video_duration_convert( $meta_id, $post_id, $meta_key, $meta_value ) {
              if ( 'VideoDuration' == $meta_key ) {
                      sscanf($meta_value, "%d:%d:%d", $hours, $minutes, $seconds);
                      $secs = isset($seconds) ? $hours * 3600 + $minutes * 60 + $seconds : $hours * 60 + $minutes;
                      add_post_meta( $post_id, 'VideoSeconds', $secs );
              }
      }
      
      add_action('added_post_meta', 'video_duration_convert', 10, 4);
  9. I'm getting strange characters when I save my feeds. What is it?

    charset
    • This might happen on older PHP versions that are not using the UTF-8 charset (default since PHP 5.4). You can either upgrade to a supported PHP version or modify your PHP .ini file to set the default_charset to UTF-8.
  10. How can I customize something specific when a post is created?

    We can insert a filter hook with the WordPress function add_filter. The filter 'vb_create_the_post' is checked right before Video Pornster would call the function wp_insert_post, allowing us to hook in and customize the post creation functionality to do anything we want.

    This code snippet shows several examples of how we could customize post creation for an imported video.

    
    add_filter( 'vb_create_the_post', 'my_create_post_hook' );
    
    // vidpost - the array of args we would send to wp_insert_post()
    // videoInfo - the array of info for this imported video
    // returns: either the postID, null, or $vidpost
    function my_create_post_hook( $vidpost, $videoInfo ) {
    
      // Usage 1: If we don't want VB to create the post at all, just return null. 
      // Useful for debugging or checking your own custom rules.
      if ( false !== stripos( $videoInfo['title'], "BAD WORD" ) ) {
    	return null;
      }
      if ( $videoInfo['videoLikes'] < 10 ) {
    	return null;
      }
      
      // Usage 2: If we want a custom rule to change something in the post creation, modify the $vidpost and return it.
      if ( $videoInfo['likeCount'] >= 10 ) {
    	$vidpost['post_content'] .= "<p> " . $videoInfo['likeCount'] . " likes</p>".;
      }
      return $vidpost;
    
      // Usage 3: We could also return a postID here, then tell VB it doesn't have to.
      // VB would still attach meta and comments to the postID.
      // This allows you to do other customizations with the postID before control is returned to VB.
      $postID = wp_insert_post( $vidpost, TRUE );
      return $postID;
    
    }
    
  11. How can I customize something specific when a post is updated?

    We can insert a filter hook with the WordPress function add_filter. The filter 'vb_update_the_post' is checked right before Video Pornster would call the function wp_update_post, allowing us to hook in and customize the post update functionality to do anything we want.

    Post updates can only occur when you have 'Update existing posts instead of skipping duplicate videos?' checked in the 'Process the Results' tab and the API returns a video you have already imported.

    This code snippet shows several examples of how we could customize a post update for an imported video

    
    add_filter( 'vb_update_the_post', 'my_update_post_hook' );
    
    // vidpost - the array of args we would send to wp_update_post()
    // videoInfo - the array of info for this imported video
    // returns: either the postID, null, or $vidpost
    function my_update_post_hook( $vidpost, $videoInfo ) {
    
      // Usage 1: If we don't want VB to update the post at all, just return null. 
      // Useful for debugging or checking your own custom rules.
      if ( false !== stripos( $videoInfo['title'], "BAD WORD" ) ) {
    	return null;
      }
      if ( $videoInfo['videoLikes'] < 10 ) {
    	return null;
      }
      
      // Usage 2: If we want a custom rule to change something in the post update, modify the $vidpost and return it.
      if ( $videoInfo['likeCount'] > 10 ) {
    	$vidpost['post_content'] .= "<p> " . $videoInfo['likeCount'] . " likes</p>".;
      }
      return $vidpost;
    
      // Usage 3: If we don't want VB to call wp_update_post, we can just return the existing post ID.
      // VB would still attach meta and comments to it.
      return $vidpost['ID'];
    
    }
    
  12. Why is the script timing out?

    If your server uses apache's default mod_php then the plugin can extend its script time automatically.

    When php is being run via mod_fcgid or mod_fastcgi or a fastcgi process manager like php-fpm then the running environment will have its own time restrictions on the script, and the script will not be able to extend it's max execution time as needed as when running mod_php. In those cases, you'll have to edit the mod configuration files and extend the time restrictions manually.

  13. How can I use the video's publish date when I publish a post manually?

    Video Pornster can set the post's publish date to be the same as the remote video's publish site. However, if you then publish the post manually, WordPress changes the publish date to the current time. If you wish to keep the video's publish date instead after publishing the post manually, we can use this filter code:

    // Add this code to child theme's function.php file or in Code Snippets plugin (recommended)
    function vbp_keep_publish_date( $post_id ) {
      $videoPublish = get_post_meta( $post_id, 'VideoPublish', TRUE );
      if ( empty( $videoPublish ) ) return;
      // unhook this function so it doesn't loop infinitely
      remove_action( 'publish_post', 'vbp_keep_publish_date', 99 );
      // update the post with the video publish date, which calls save_post again
      wp_update_post( array( 'ID' => $post_id, 'post_date' => $videoPublish ) );
      // re-hook this function
      add_action( 'publish_post', 'vbp_keep_publish_date', 99 );
    }
    
    add_action('publish_post', 'vbp_keep_publish_date', 99 );
    
  14. On some posts I'm seeing 'missed schedule'. What does that mean?

    This can sometimes happen when you're importing videos with post status set to 'Publish' and the 'Use the video publish dates instead of the current date?' checked. Video Pornster imports a video recently uploaded, and the video's publish date is ahead of the server's current time because of the timezone difference and/or server has the wrong time. Therefore, WordPress schedules it for a future publish at the video's publish date. I don't know why WordPress misses its scheduled posts sometimes, but you can try a plugin like Scheduled Post Guardian.

  15. I'm having trouble seeing all the custom taxonomies used by my theme. What is wrong?

    First, some clarification, as it gets confusing.
    1. What is a taxonomy? An object grouping created by WordPress such as 'Categories' or 'Tags'.
    2. What is a custom taxonomy? An object grouping created by a theme or plugin such as 'Video_Categories' or 'Video_Tags' to be used with their custom post type(s).
    3. What is a taxonomy term? An entry in a taxonomy, such as 'Comedy' or 'Entertainment'.

    Video Pornster will display the taxonomy terms for the post type saved. If you've just changed it in the select box, save the feed to load the taxonomy terms for that post type.

    WordPress has a function to retrieve all taxonomy terms, but if there are too many you could run out of memory or the script may time out. Just in case, the maximum amount the plugin will retrieve is 5000 per taxonomy but you can change the function parameters using a filter. Here is an example:

    function vb_change_args_get_terms( $args ) {
      	$args[number] = 1000;		// limit max amount to 1000, or
      	$args[number] = -1;		// Get all taxonomies. I have plenty of memory and script timeout is high
    	return $args;
    }
    add_filter('vb_get_terms' , 'vb_change_args_get_terms');
    

    Another option is to only retrieve taxonomy terms from a subset of the available taxonomies by changing the function parameters using a filter. You will need to know the custom taxonomy names used by the theme. Here is an example for the VideoTube theme to only display terms from their custom taxonomy 'categories' (which is different from WordPress' taxonomy 'categories'):

    function vb_change_args_get_object_taxonomies( $args ) {
      	$args = array( 'categories' );
    	return $args;
    }
    add_filter('vb_valid_taxonomies' , 'vb_change_args_get_object_taxonomies');
    
  16. What is dynamic validation and how can I enable it?

    For ONLY premium themes using custom meta fields, Video Pornster can try to fix them if they're missing the custom meta data when a page is loaded. This can happen:

    1. If the user accidentally changes/deletes the custom meta fields used by the current theme
    2. If the user imported some videos, then switched to another theme that requires custom meta fields (or vice-versa).
    However, this takes extra queries when the custom meta fields are verified, which may be a lot, depending on the theme. It is recommended to fix your setup instead (contact support if unsure), but if you wish to enable this for your premium theme, you can use this simple code snippet:

    
    add_filter('get_post_metadata', 'vb_meta_check', 10, 4);
    
  17. How can I map video categories to match my own site?

    With Video Pornster you can do just about anything with a bit of hook coding. Unfortunately, each tube uses its own category names, so you'll have to code this manually depending on which tubes you're importing from and your own site's category structure. Some tubes will use 'Lesbians' while others may use 'Girl-Girl', etc.

    Here is a code snippet to get you started:

    
    add_filter( 'vb_create_category', 'vb_category_submap');
    
    // see if the tube's category name should be a subcat of an existing category on your site.
    // this code snippet assumes the parent categories 'Softcore' and 'Hardcore' already exist.
    function vb_category_submap( $catName ) {
      
      $catID = 0;
      
      // example to map tube site's 'BBW' to your site's 'Hardcore/BBW' category.
      if ( $catName == 'BBW' ) {
    	$parent = get_cat_ID( 'Hardcore' );
    	$catID = wp_create_category( 'BBW', $parent );  
      }
      // example to map tube site's 'HD Videos' to your site's 'Hardcore/Videos' category.
      else if ( $catName == 'HD Videos' ) {
    	$parent = get_cat_ID( 'Hardcore' );
    	$catID = wp_create_category( 'Videos', $parent ); 
      }
      // example to map tube site's 'Close-ups' to your site's 'Softcore/Solo' category.
      else if ( $catName == 'Close-ups' ) {
    	$parent = get_cat_ID( 'Softcore' );
    	$catID = wp_create_category( 'Solo', $parent ); 
      }
      
      // if there was a match above then we already checked/created the category so we can return its ID.
      if ( $catID ) return $catID;	
      
      // otherwise no match above so return the category name for WordPress to check/create the ID.  
      return $catName;  
      
    }
    
  1. I use Video Pornster myself on numerous sites. I've added all the features I wanted plus everything else I could easily think of. Please let me know if any instructions need clarification - it all makes sense to me because I programmed it. :) If you have a feature request I'll try to implement it if possible.
  2. Sorry the interface is a simple 'mad-libs' type form. Eventually I'll make it pretty but I'd prefer to spend my time on adding new features, more video sites, more template and plugin support, etc.
  3. As long as video posts are in the database in any status (including Trash) or on the Video Blacklist in the Main Settings, Video Pornster won't import it again.
  4. Here's what I do:
    1. Save my feeds that use search terms to create posts in 'draft' status so they can be curated later. Feeds from 'trusted' sources such as channels or playlists can create posts in 'pending' or 'publish' status.
    2. Every X days I log into WordPress and check my new drafts imported by Video Pornster. Any spammy videos and the like are trashed and the rest edited/spun and are set to 'pending' status.
    3. My free plugin Auto Post Scheduler publishes those pending posts at time intervals for me automatically.

Video Pornster imports videos as WordPress data, to ensure compatibility with any plugin or theme that uses WordPress data. However, some premium themes use their own custom data to display videos instead of WordPress. In those cases Video Pornster may not know how to save that data (it's impossible to know what premium themes name their custom video fields in advance).

Luckily, all we have to do is tell Video Pornster to fill in those custom data fields automatically when it imports videos. Unfortuantely, we have to figure out what variable names those custom data fields are using, and that might require some html and/or css knowledge. Fortunately, some popular video themes have already been done for you, below. If a supported Premium theme is detected, the custom meta fields will be filled out automatically for you in the 'Process the Results' section when making a NEW feed.

For example, these are the custom meta fields entered when the VideoTube theme is detected. The VideoTube custom fields video_frame, count_viewed, like_key, and layout will be filled in automatically for each video imported into WordPress so they display properly with VideoTube.

These are FREEBIES and I do not promise compatability if their themes change or stop working, but I can try. If you have another premium theme not listed below that uses custom data for videos and cannot determine the variables they use, please contact support with a copy of the theme and I will take a look for you (Please note it's not my fault if a theme uses custom data fields).

WordPress identifies the theme based on the Theme Name declaration in it's style.css file and Video Pornster uses that theme name to include the necessary file in its /theme-helpers/ sub-directory. If you've renamed your Theme Name from 'truemag' to 'truemag (shared on themelot.net)' in the style.css file, then the plugin will not be able to load the '/theme-helpers/truemag.php' file functions.

Premium Themes recognized:

Adult WordPress Theme, Bestia, deTube, Furious, Katastrof, Newspaper, NewsTube, NovaVideo, PopCorn, Sahifa, TrueMag, Valenti, VideoTube.

 

 

 

When Video Pornster detects the Adult WordPress Theme, it will automatically set these form fields so Video Pornster will save the custom data the theme needs to display videos that are imported:

In addition, these custom meta fields are created during import based on dynamic info:

Important Notes:

  1. Adult WordPress theme is hard coded to only display their supported tubesites - even though the video data is there, the theme will not recognize it. :(

 

 

 

Newspaper is a WordPress theme that lets you write articles and blog posts with ease. We offer great support and friendly help! The Newspaper template is excellent for a news, newspaper, magazine, publishing or review site. It also supports videos from YouTube and features a rating system. So far, we have the theme integrated with bbPress Forum, BuddyPress, Buddy Press, and WooCommerce. It uses the best clean SEO practices, and on top of that, it’s fast, simple, and easy to use. In addition, Newspaper supports responsive Google Ads and AdSense.

When Video Pornster detects the Newspaper Theme, it will automatically set these form fields so Video Pornster will save the custom data the theme needs to display videos that are imported:

Important Notes:

  1. The NewsPaper theme only currently supports YouTube, DailyMotion, and Vimeo as the featured video. Therefore Video Pornster will keep the iframe embed code in the Post Content Template.
  2. The NewsPaper theme uses custom image sizes. If switching to NewsPaper from another theme and you've already imported videos, you will have to regenerate thumbnails before they will appear properly.

 

 

 

Sahifa. Loaded with the latest and most useful functionality, the Sahifa responsive WordPress theme combines practical elegance with powerful features. Retina-ready and designed specifically for use across a broad array of devices and platforms, the versatile and customizable theme continues to be a resoundingly popular choice for blogs, news, and magazines.

When Video Blogster detects the Sahifa Theme, it will automatically set these form fields so Video Blogster will save the custom data the theme needs to display videos that are imported:

 

 

 

True Mag is an advanced solution for Video hosting websites, Video portfolio and Magazine. We build True Mag with the best practices of UI and UX as well as SEO. This theme will be the perfect choice to deliver your amazing content to viewers. Truemag is trusted by over 2000 video site owners to host ten thousands of videos. We believe this theme is right for any video businesses.

Newstube, from the same development team, uses the same custom fields as True Mag.

When Video Pornster detects the True Mag Theme, it will automatically set these form fields so Video Pornster will save the custom data the theme needs to display videos that are imported:

Note: When using the 'Video ads management' plugin included with True Mag, it may hide all admin messages for some reason.

 

 

 

Valenti is a cutting-edge, feature-rich Wordpress premium HD (retina-ready) review magazine theme that is fully-responsive. Using the exclusive Valenti Drag & Drop Builder users can have fun creating a unique homepage and easily make modifications to it any time they wish. With Valenti’s powerful and integrated reviews system and widget, you can use Valenti fully as a review theme too. Valenti also comes with a unique megamenu system for beautiful drop down menus and also the ability to set the featured image of a post to have a parallax effect. And of course, Valenti comes with WooCommerce, bbPress and BuddyPress integration for the complete experience. Valenti truly is a premium review WordPress magazine for 2015 and beyond. Blogs, foodies and even newspaper sites will love Valenti!

When Video Blogster detects the Valenti Theme, it will automatically set these form fields so Video Blogster will save the custom data the theme needs to display videos that are imported:

 

 

 

VideoTube - Whether you’re embedding preexisting videos from giants like Youtube, Vimeo, Dailymotion, Hulu …(Supported Video Sites) which is supported oEmbed protocol or showcasing creations of your own, Videotube offers a clean and modern platform to do just that.

When Video Pornster detects the VideoTube Theme, it will automatically set these form fields so Video Pornster will save the custom data the theme needs to display videos that are imported:

When you import videos with Video Pornster and it detects the VideoTube theme, it will automatically add these filter hooks:

Important Notes:

  1. Be sure to have the theme required plugins active: Advanced Custom Fields, Advanced Custom Fields: Gallery Field, and WPBakery Visual Composer. Plugin Video Thumbnails is not needed as Video Pornster can import the featured image as well.
  2. VideoTube theme uses custom post type 'video' with custom taxonomies 'categories' and 'tags' (NOT related to WordPress 'categories' and 'tags'). If importing category and tags from imported videos is selected, the plugin will save them as as VideoTube's custom categories and tags instead of WordPress categories and tags. Any that have already been created via admin menu 'Videos->Video Category' or 'Videos->Video Tag' will automatically show up for possible selection in the 'Create the Posts' section when you create or edit a Video Pornster feed.
  3. If you've already imported videos and THEN switched to VideoTube, you'll have to update those posts to use VideoTube's custom post type and custom taxonomies. Take these steps:
    1. Don't blame me they're using custom data fields instead of WordPress.
    2. Edit each feed you used to import videos.
    3. At the bottom of the 'Process the Results' tab, check 'Apply changes to existing videos?'
    4. In the 'Create the Posts' tab, select 'video' as the post type.
    5. Now click the 'Save X Feed' button at the bottom. Existing videos imported through this feed will be updated with the 'video' custom post type and VideoTube's custom taxonomies.
  4. VideoTube uses the theme-lock effect. Normally, you wouldn't be able to use VideoTube data with any other theme, 'locking' you in. However, with Video Pornster you can convert VideoTube data back to WordPress or other theme data, allowing you to change themes and keep the videos you imported while using VideoTube. Basically, you would follow note #3 above, only select 'post' as the post type.

 

 

 

Some WordPress plugins use custom meta data to store video info, just like some Premium themes, and are handled the same way. Read that section for more details.

Special plugins recognized:

Post Views Count, WordPress SEO, WP-PostViews, WP-PostRatings, WTI Like Post.

 

 

 

Post Views Count

When Video Pornster detects this plugin, it will automatically set these form fields so Video Pornster will save the custom data the plugin uses:

 

 

 

WordPress SEO aka Yoast SEO

When Video Pornster detects this plugin, it will automatically set these form fields so Video Blogster will save the custom data the plugin uses:

 

 

 

WP-PostViews and WP-PostRatings

Video Pornster automatically saves custom meta data with the same names as these plugins. No additional definitions are necessary.

 

 

 

WTI Like Post

When you import videos with Video Pornster and it detects this plugin, it will automatically include the file /plugin-helpers/wti-like-post.php to add these filter hooks to save the custom data the plugin uses:

 

 

 

Filter hooks allow programmers to modify WordPress code that uses them, especially useful for Premium Themes that use their own custom data tables. This is advanced WordPress usage, so be careful. If you're familiar with filter hooks, you'll know to search the Video Pornster code for the 'apply_filters' function you want and hook them to your own code.

Simple Code Snippet Examples :
// If imported video has more than 10 'Likes' then open comments on the post to be created.
function my_create_post_hook( $videoPost, $videoInfo ) {
        if ( $videoInfo['VideoLikes'] > 10 )
		$videoPost['comment_status'] = 'open';
        return $videoPost;
}
add_filter( 'vb_create_the_post', 'my_create_post_hook' );
// don't create the post if video meets a certain condition
function my_create_post_hook2( $videoPost, $videoInfo ) {
        if ( $videoInfo['VideoLikes'] < 10 )
		return null;  // post will not be created
        return $videoPost;
}
add_filter( 'vb_create_the_post', 'my_create_post_hook2' );