Plugin Directory

Changeset 2583810


Ignore:
Timestamp:
08/16/2021 11:31:57 PM (5 years ago)
Author:
crisworth
Message:

Feature update

Location:
mondoplayer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mondoplayer/trunk/includes/class_mondoplayer_categories.php

    r2583807 r2583810  
    177177            "slug"          => array("Slug", ""),
    178178            "mastermind"    => array("Gated", "70px"),
    179             "hide"          => array("Hide in Main Vlogroll", "100px"),
     179            "hide"          => array("Hide in Main Vlog Roll", "100px"),
    180180            "hide_menu"     => array("Hide in Menu", "100px"),
    181181            "days"          => array("Days to Keep Posts", "100px"),
     
    722722
    723723<table style='width: 100%;' cellspacing='0' cellpadding='0'>
    724     <tr><td class='label_column'>Name</td><td class='content_column' style='vertical-align: middle'><input name="tag-name" id="tag-name" type="text" value="<?php echo $tag_name ?>" size="40" aria-required="true"><div class='category_description'>Category name will display on your site.</div></td></tr>
     724    <tr><td class='label_column'>Name</td><td class='content_column' style='vertical-align: middle'><input name="tag-name" id="tag-name" type="text" value="<?php echo $tag_name ?>" size="40" aria-required="true"><div class='category_description'>Category Name and Description will display on your Vlog.</div></td></tr>
    725725    <tr <?php if ($this->theme_check->name == "MondoPlayer Theme") { echo "style='display:none'";} ?>><td class='label_column'>Slug</td><td class='content_column' style='vertical-align: middle'><input name="slug" id="slug" type="text" value="<?php echo $tag_slug ?>" size="40" ><div class='category_description'>The name is how it appears on your site.</div></td></tr>
    726726    <tr <?php if ($this->theme_check->name == "MondoPlayer Theme") { echo "style='display:none'";} ?>><td class='label_column'>Parent Category</td><td class='content_column' style='vertical-align: middle'><select name="tag-parent" id="tag-parent" class="postform" style='width: initial'><option value="-1" <?php if ($tag_parent == -1) { echo "selected"; } ?>>None</option><option class="level-0" value="1" <?php if ($tag_parent == 1) { echo "selected"; } ?>>Uncategorized</option></select><div class='category_description'>Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.</div></td></tr>
     
    755755?>
    756756    <tr><td class='label_column'>Description</td><td class='content_column' style='vertical-align: middle'><textarea name="tag-description" id="tag-description" rows="5" style='width: 100%;max-width: 640px;'><?php echo $tag_description ?></textarea></td></tr>
    757     <tr><td class='label_column'>Hide in Main Vlogroll</td><td class='content_column' style='vertical-align: middle'><input type='checkbox' id='mondoplayer_hide' name='mondoplayer_hide' value="1" <?php echo $mondoplayer_hide ?> onclick='toggle_hide()' /><div class='category_description'>Check this to prevent posts in this Category from displaying in your main vlog roll (your front page).<p id='mondoplayer_hide_message' style='color: red;display: <?php echo $mondoplayer_hide_message ?>'>WARNING: Posts for this category will not appear in the main vlogroll. Search engines will not be able to find these posts if the <a href='<?php echo $category_url ?>' target="_blank">Category Vlogroll</a> is not linked to a <a href='<?php echo $menu_url ?>'>Menu</a>.</p></div></td></tr>
     757    <tr><td class='label_column'>Hide in Main Vlog Roll</td><td class='content_column' style='vertical-align: middle'><input type='checkbox' id='mondoplayer_hide' name='mondoplayer_hide' value="1" <?php echo $mondoplayer_hide ?> onclick='toggle_hide()' /><div class='category_description'>Check this to prevent posts in this Category from displaying in your main vlog roll (your front page).<p id='mondoplayer_hide_message' style='color: red;display: <?php echo $mondoplayer_hide_message ?>'>WARNING: Posts for this category will not appear in the main vlog roll. Search engines will not be able to find these posts if the <a href='<?php echo $category_url ?>' target="_blank">Category Vlog Roll</a> is not linked to a <a href='<?php echo $menu_url ?>'>Menu</a>.</p></div></td></tr>
    758758    <tr><td class='label_column'>Hide in Menu</td><td class='content_column' style='vertical-align: middle'><input type='checkbox' id='mondoplayer_hide_menu' name='mondoplayer_hide_menu' value="1" <?php echo $mondoplayer_hide_menu ?> onclick='toggle_hide_menu()' /><div class='category_description'>Check this to prevent this Category from displaying in your menu.<p id='mondoplayer_hide_menu_message' style='color: red;'></p></div></td></tr>
    759759    <tr><td class='label_column'>Days to Keep Posts</td><td class='content_column' style='vertical-align: middle'><input type='text' id='mondoplayer_delete_age' name='mondoplayer_delete_age' style='width: initial' value='<?php echo $mondoplayer_delete_age ?>' <?php if ($mondoplayer_delete_age == "n/a") { echo "readonly"; } ?> /> <span class="category_description">(Never delete these posts <input type="checkbox" id="keep_forever" onclick="toggle_delete();" <?php if ($mondoplayer_delete_age < 1) { echo "checked"; } ?> />)</span> <div class='category_description'>Posts created for this Category will be automatically deleted after the number of days indicated.</div></td></tr>
     
    798798
    799799<table id='mastermind_wrap' style='width: 100%;margin-top:4px;display: block' cellspacing='0' cellpadding='0'>
    800 <tr id='mastermind_hide_slider_wrap' ><td class='label_column' style='border: 0'>Hide Player in Category Vlogroll</td><td class='content_column' style='vertical-align: middle;color: #777;border: 0'>No <div class="toggle_outside" onclick="toggle_hide_slider()" ><div class="toggle_inside" id="mastermind_hide_slider_toggle" style="left: <?php echo $toggle_hide_slider ?>"></div></div> Yes<input type='hidden' id='mastermind_hide_slider' name='mastermind_hide_slider' value='<?php echo $mastermind_hide_slider ?>'<div class='category_description'></div></td></tr>
     800<tr id='mastermind_hide_slider_wrap' ><td class='label_column' style='border: 0'>Hide Player in Category Vlog Roll</td><td class='content_column' style='vertical-align: middle;color: #777;border: 0'>No <div class="toggle_outside" onclick="toggle_hide_slider()" ><div class="toggle_inside" id="mastermind_hide_slider_toggle" style="left: <?php echo $toggle_hide_slider ?>"></div></div> Yes<input type='hidden' id='mastermind_hide_slider' name='mastermind_hide_slider' value='<?php echo $mastermind_hide_slider ?>'<div class='category_description'></div></td></tr>
    801801<tr id='mastermind_hide_share_wrap'><td class='label_column' style='border: 0'>Hide Share buttons</td><td class='content_column' style='vertical-align: middle;color: #777;border: 0'>No <div class="toggle_outside" onclick="toggle_hide_share()" ><div class="toggle_inside" id="mastermind_hide_share_toggle" style="left: <?php echo $toggle_hide_share ?>"></div></div> Yes<input type='hidden' id='mastermind_hide_share' name='mastermind_hide_share' value='<?php echo $mastermind_hide_share ?>'<div class='category_description'></div></td></tr>
    802802<tr id='mastermind_hide_date_wrap'><td class='label_column' style='border: 0'>Hide Post Date</td><td class='content_column' style='vertical-align: middle;color: #777;border: 0'>No <div class="toggle_outside" onclick="toggle_hide_date()" ><div class="toggle_inside" id="mastermind_hide_date_toggle" style="left: <?php echo $toggle_hide_date ?>"></div></div> Yes<input type='hidden' id='mastermind_hide_date' name='mastermind_hide_date' value='<?php echo $mastermind_hide_date ?>'<div class='category_description'></div></td></tr>
     
    810810?>
    811811<table id='category_urls_wrap' style='width: 100%;margin-top:4px;display: <?php echo $category_urls_wrap ?>' cellspacing='0' cellpadding='0'>
    812     <tr><td class='label_column' style='border: 0'>Category Vlogroll</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_blog_url'><a href='<?php echo $category_url ?>' target="_blank"><?php echo $category_url ?></a></div><p>Use this link on your site to link to the Category Vlogroll or add this Category to your menus in <a href='<?php echo $menu_url ?>'>Appearance &gt; Menus</a></p></div></td></tr>
     812    <tr><td class='label_column' style='border: 0'>Category Vlog Roll</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_blog_url'><a href='<?php echo $category_url ?>' target="_blank"><?php echo $category_url ?></a></div><p>Use this link on your site to link to the Category Vlog Roll or add this Category to your menus in <a href='<?php echo $menu_url ?>'>Appearance &gt; Menus</a></p></div></td></tr>
    813813    <tr><td class='label_column' style='border: 0'>Category RSS Feed</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_rss_feed'><a href='<?php echo $feed_url ?>' target="_blank"><?php echo $feed_url ?></a></div><p>Use this RSS Feed to automatically post to your social media management tools (e.g. Hootsuite).</p><span id='autopilot_category_message'></span></div></td></tr>
    814814    <tr><td class='label_column' style='border: 0'>Category RSS Feed with Hashtags</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_rss_feed'><a href='<?php echo $feed_url ?>?hashtags' target="_blank"><?php echo $feed_url ?>?hashtags</a></div><p>Use this RSS Feed to automatically post to your social media management tools and include any AutoPilot hashtags.</p><span id='autopilot_hashtag_message'></span></div></td></tr>
  • mondoplayer/trunk/js/web_player_v2.js

    r2583807 r2583810  
    456456                }
    457457                if (category_list[i].hide == 1) {
    458                     popup_message = popup_message + "<div style='text-align: left;font-size: 18px;margin-top: 8px'><b>Category set to Hide in Main Vlogroll:</b> Posts will not display in your vlog unless you create a menu link to this Category.</div>";
     458                    popup_message = popup_message + "<div style='text-align: left;font-size: 18px;margin-top: 8px'><b>Category set to Hide in Main Vlog Roll:</b> Posts will not display in your vlog unless you create a menu link to this Category.</div>";
    459459                }
    460460                if (popup_message != "") {
     
    26802680    }
    26812681    if (hide == 1) {
    2682         popup_message = popup_message + "<div style='text-align: left;font-size: 18px;margin-top: 8px'><b>Category set to Hide in Main Vlogroll:</b> Posts will not display in your vlog unless you create a menu link to this Category.</div>";
     2682        popup_message = popup_message + "<div style='text-align: left;font-size: 18px;margin-top: 8px'><b>Category set to Hide in Main Vlog Roll:</b> Posts will not display in your vlog unless you create a menu link to this Category.</div>";
    26832683    }
    26842684
     
    74467446
    74477447    if (document.getElementById("autopilot_create_category_hide").checked) {
    7448         var popup_message = "<div style='text-align: left;font-size: 18px;margin-top: 8px'><b>Category set to Hide in Main Vlogroll:</b> Posts will not display in your vlog unless you create a menu link to this Category.</div>";
     7448        var popup_message = "<div style='text-align: left;font-size: 18px;margin-top: 8px'><b>Category set to Hide in Main Vlog Roll:</b> Posts will not display in your vlog unless you create a menu link to this Category.</div>";
    74497449        show_confirm(popup_message, autopilot_create_category_finish, "Ok");
    74507450    } else {
  • mondoplayer/trunk/mondoplayer.php

    r2583807 r2583810  
    55    Description: Video Content Curation Plugin - automatically curate and share videos. Boost engagement on your website and in social media with compelling video.
    66    Author: MondoTag
    7     Version: 1.0.300
     7    Version: 1.0.301
    88    Tested up to: 5.7.2
    99    License: GPLv2 or later
     
    183183
    184184        wp_register_style( $this->mondoplayer_plugin_slug, plugins_url("css/web_player.css",__FILE__), false, '1.0.48' );
    185         wp_register_script( $this->mondoplayer_plugin_slug, plugins_url("js/web_player_v2.js",__FILE__), false, '1.0.93' );
     185        wp_register_script( $this->mondoplayer_plugin_slug, plugins_url("js/web_player_v2.js",__FILE__), false, '1.0.94' );
    186186        $db = get_option("mondoplayer_db_version", '');
    187187        if ($db != $db_version) {
     
    705705    }
    706706
    707 
    708707    private function get_login_key() {
    709708        $response = wp_remote_get("https://www.mondoplayer.com/player/wp.php?plugin_id=". $this->mondoplayer_registration->license_key );
Note: See TracChangeset for help on using the changeset viewer.