Changeset 2583810
- Timestamp:
- 08/16/2021 11:31:57 PM (5 years ago)
- Location:
- mondoplayer/trunk
- Files:
-
- 3 edited
-
includes/class_mondoplayer_categories.php (modified) (5 diffs)
-
js/web_player_v2.js (modified) (3 diffs)
-
mondoplayer.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mondoplayer/trunk/includes/class_mondoplayer_categories.php
r2583807 r2583810 177 177 "slug" => array("Slug", ""), 178 178 "mastermind" => array("Gated", "70px"), 179 "hide" => array("Hide in Main Vlog roll", "100px"),179 "hide" => array("Hide in Main Vlog Roll", "100px"), 180 180 "hide_menu" => array("Hide in Menu", "100px"), 181 181 "days" => array("Days to Keep Posts", "100px"), … … 722 722 723 723 <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> 725 725 <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> 726 726 <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> … … 755 755 ?> 756 756 <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 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 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> 758 758 <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> 759 759 <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> … … 798 798 799 799 <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 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>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> 801 801 <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> 802 802 <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> … … 810 810 ?> 811 811 <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 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 Vlogroll or add this Category to your menus in <a href='<?php echo $menu_url ?>'>Appearance > 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 > Menus</a></p></div></td></tr> 813 813 <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> 814 814 <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 456 456 } 457 457 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 Vlog roll:</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>"; 459 459 } 460 460 if (popup_message != "") { … … 2680 2680 } 2681 2681 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 Vlog roll:</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>"; 2683 2683 } 2684 2684 … … 7446 7446 7447 7447 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 Vlog roll:</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>"; 7449 7449 show_confirm(popup_message, autopilot_create_category_finish, "Ok"); 7450 7450 } else { -
mondoplayer/trunk/mondoplayer.php
r2583807 r2583810 5 5 Description: Video Content Curation Plugin - automatically curate and share videos. Boost engagement on your website and in social media with compelling video. 6 6 Author: MondoTag 7 Version: 1.0.30 07 Version: 1.0.301 8 8 Tested up to: 5.7.2 9 9 License: GPLv2 or later … … 183 183 184 184 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.9 3' );185 wp_register_script( $this->mondoplayer_plugin_slug, plugins_url("js/web_player_v2.js",__FILE__), false, '1.0.94' ); 186 186 $db = get_option("mondoplayer_db_version", ''); 187 187 if ($db != $db_version) { … … 705 705 } 706 706 707 708 707 private function get_login_key() { 709 708 $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.