Changeset 945152
- Timestamp:
- 07/08/2014 07:13:41 PM (12 years ago)
- Location:
- advanced-post-slider/trunk
- Files:
-
- 4 edited
-
advanced-post-slider.php (modified) (13 diffs)
-
advps-admin.php (modified) (6 diffs)
-
advps-db.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-post-slider/trunk/advanced-post-slider.php
r939249 r945152 3 3 Plugin Name: Advanced post slider 4 4 Plugin URI: www.wpcue.com 5 Description: Responsive slideshow plugin powered with three built-in templates, lots of easy customizable options and many more to explore.6 Version: 2. 1.45 Description: A multipurpose responsive slideshow plugin powered with three built-in design template, lots of easy customizable options and many more to explore. 6 Version: 2.2.0 7 7 Author: digontoahsan 8 8 Author URI: www.wpcue.com … … 63 63 64 64 register_activation_hook(WP_PLUGIN_DIR.'/advanced-post-slider/advanced-post-slider.php','set_advps_options'); 65 register_deactivation_hook(WP_PLUGIN_DIR.'/advanced-post-slider/advanced-post-slider.php','unset_advps_options'); 66 67 add_action( 'plugins_loaded', 'set_advps_options' ); 65 register_deactivation_hook(WP_PLUGIN_DIR.'/advanced-post-slider/advanced-post-slider.php','unset_advps_options'); 66 68 67 69 68 function unset_advps_options(){ 70 69 } 70 71 function advps_update_db(){ 72 if(get_option('advps-db-version') < 2){ 73 set_advps_options(); 74 } 75 } 76 add_action( 'plugins_loaded', 'advps_update_db' ); 71 77 /* ---------------------------------------------------------------------------------------*/ 72 78 function advps_image_sizes(){ … … 239 245 240 246 if(is_array($atts) && array_key_exists('optset',$atts)){ 241 $q1 = "select * from ".$wpdb->prefix."advps_optionset where id = ". $atts['optset'];247 $q1 = "select * from ".$wpdb->prefix."advps_optionset where id = ".intval($atts['optset']); 242 248 $res1 = $wpdb->get_results($q1); 243 249 if($res1){ … … 320 326 ob_start(); 321 327 ?> 328 <!-- This slideshow output is generated with Advanced post slider a multipurpose responsive WordPress slideshow plugin version 2.2.0 - http://www.wpcue.com/wordpress-plugins/advanced-post-slider/ --> 322 329 <style> 323 # container<?php echo $sldshowID;?> .bx-wrapper .bx-viewport {330 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-viewport { 324 331 <?php if($container['advps_remove_shd'] == 'no'):?> 325 332 -moz-box-shadow: <?php echo $container['advps_bxshad1'].'px '.$container['advps_bxshad2'].'px '.$container['advps_bxshad3'].'px '.$container['advps_bxshadcolor'];?>; … … 331 338 background:<?php echo $container['advps_bgcolor'];?>; 332 339 } 333 # container<?php echo $sldshowID;?> .bx-wrapper .bx-pager{340 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager{ 334 341 text-align: <?php echo $navigation['advps_pager_align'];?>; 335 342 <?php if($navigation['advps_pager_align'] == 'right'){echo 'padding-right:5px';}elseif($navigation['advps_pager_align'] == 'left'){echo 'padding-left:5px';}?>; 336 343 } 337 # container<?php echo $sldshowID;?> .bx-wrapper .bx-pager344 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager 338 345 { 339 346 bottom:<?php echo $navigation['advps_pager_bottom'];?>px; 340 } 341 #container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto 347 z-index:999; 348 } 349 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto 342 350 { 343 351 bottom:<?php echo $navigation['advps_ppause_bottom'];?>px; 344 352 } 345 # container<?php echo $sldshowID;?> .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {353 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager { 346 354 text-align: <?php echo $navigation['advps_pager_align'];?>; 347 355 } 348 # container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto {356 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto { 349 357 z-index:99999; 350 358 <?php if($navigation['advps_ppause_align'] == 'left'){echo 'left:5px;width:35px;';}elseif($navigation['advps_ppause_align'] == 'right'){echo 'right:0px;width:35px;';}else{echo 'text-align:center;width:100%;';}?> … … 352 360 353 361 <?php if($navigation['advps_exclude_pager'] == 'no' && (isset($navigation['advps_pager_type']) && $navigation['advps_pager_type'] == 'number')):?> 354 # container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a {362 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a { 355 363 margin: 2px 2px 2px 0; 356 364 padding:3px 8px 3px 8px !important; … … 374 382 border-radius:2px; 375 383 } 376 # container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover, #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active{384 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover, #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active{ 377 385 color:#000000; 378 386 text-shadow: 0 1px 0 #FFFFFF; … … 385 393 } 386 394 <?php elseif($navigation['advps_exclude_pager'] == 'no' && (!isset($navigation['advps_pager_type']) || ($navigation['advps_pager_type'] == 'bullet' || ($slider['advps_slider_type'] != 'standard' && $navigation['advps_pager_type']=='thumb')))):?> 387 # container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a {395 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a { 388 396 background: #666; 389 397 text-indent: -9999px; … … 398 406 text-align:left; 399 407 } 400 # container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover,401 # container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active {408 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover, 409 #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active { 402 410 background: #000; 403 411 } … … 405 413 406 414 /* thumbnail pager*/ 407 # container<?php echo $sldshowID;?> #bx-pager415 #advps_container<?php echo $sldshowID;?> #bx-pager 408 416 { 409 417 width:100%; … … 413 421 z-index: 9999; 414 422 } 415 # container<?php echo $sldshowID;?> #bx-pager a img423 #advps_container<?php echo $sldshowID;?> #bx-pager a img 416 424 { 417 425 border: 1px solid #CCCCCC; 418 426 padding: 3px; 419 427 } 420 # container<?php echo $sldshowID;?> #bx-pager a:hover img, #container<?php echo $sldshowID;?> #bx-pager a.active img428 #advps_container<?php echo $sldshowID;?> #bx-pager a:hover img, #advps_container<?php echo $sldshowID;?> #bx-pager a.active img 421 429 { 422 430 border: 1px solid #666666; … … 471 479 }); 472 480 </script> 473 <div id=" container<?php echo $sldshowID;?>" class="advps-slide-container" style="max-width:<?php echo $container['advps_sld_width'];?>px;">481 <div id="advps_container<?php echo $sldshowID;?>" class="advps-slide-container" style="max-width:<?php echo $container['advps_sld_width'];?>px;"> 474 482 475 483 <div id="<?php echo "advpsslideshow_".$sldshowID;?>"> … … 600 608 <?php }?> 601 609 </div><!-- end advps-slide-container --> 610 <!-- / Advanced post slider a multipurpose responsive slideshow plugin --> 602 611 <?php 603 612 $advps_res = ob_get_contents(); -
advanced-post-slider/trunk/advps-admin.php
r938711 r945152 147 147 </script> 148 148 <style> 149 .form-table th 150 { 149 .metabox-holder { 150 width:72%; 151 } 152 .advps-col-right { 153 width:22%; 154 float:right; 155 position:relative; 156 background-color:#fff; 157 margin-top:30px; 158 padding:10px; 159 } 160 .advps-col-right li { 161 list-style:inside; 162 color:#0074a2; 163 text-decoration:underline; 164 } 165 .form-table th { 151 166 font-size:12px; 152 167 } … … 156 171 padding:0px 5px 10px 20px; 157 172 } 158 .advps-legend 159 { 173 .advps-legend { 160 174 background-color:#6E6E6E; 161 background-image:url(<?php echo advps_url?>images/up.png);175 background-image:url(<?php echo advps_url?>images/up.png); 162 176 background-repeat:no-repeat; 163 177 background-position: 96px 6px; … … 170 184 border-radius:4px; 171 185 } 172 .postbox .inside {186 .postbox .inside { 173 187 position:relative; 174 188 margin: 15px 25px; 175 189 } 176 .wp-admin select 177 { 190 .wp-admin select { 178 191 font-size:12px; 179 192 } … … 181 194 height: auto; 182 195 } 183 .form-table, .form-table td, .form-table th, .form-table td p, .form-wrap label 184 { 196 .form-table, .form-table td, .form-table th, .form-table td p, .form-wrap label { 185 197 font-size:12px; 186 198 } 187 .advps-optset-label 188 { 199 .advps-optset-label { 189 200 width:200px; 190 201 } 191 .ajx-sts 192 { 202 .ajx-sts { 193 203 color: #298A08; 194 font-size: 12px; 195 font-style: italic; 196 font-weight: bold; 197 padding-left: 20px; 198 } 199 .postbox .down 200 { 201 background-image:url(<?php echo advps_url?>images/downb.png); 204 font-size: 12px; 205 font-style: italic; 206 font-weight: bold; 207 padding-left: 20px; 208 } 209 .postbox .down { 210 background-image:url(<?php echo advps_url?>images/downb.png); 202 211 background-repeat:no-repeat; 203 212 background-position: 4px 10px; 204 213 } 205 .postbox .up 206 { 207 background-image:url(<?php echo advps_url?>images/upb.png); 214 .postbox .up { 215 background-image:url(<?php echo advps_url?>images/upb.png); 208 216 background-repeat:no-repeat; 209 217 background-position: 4px 10px; 210 218 } 211 .advps-highlight 212 { 219 .advps-highlight { 213 220 border: 1px solid #7AD03A !important; 214 221 } 215 .advps-hide {222 .advps-hide { 216 223 display:none; 217 224 } 218 .advps-fade 219 { 225 .advps-fade { 220 226 color:#D1D0CE; 221 227 } … … 227 233 </div> 228 234 <?php }?> 229 <h2 class="nav-tab-wrapper"> <a href="?page=advps-slideshow&tab=one" class="nav-tab <?php if($currTab == 'one'){echo 'nav-tab-active';}?>" title="Thumbnail and overlaid title excerpt">Template One</a> <a href="?page=advps-slideshow&tab=two" class="nav-tab <?php if($currTab == 'two'){echo 'nav-tab-active';}?>" title="Thumbnail only">Template Two</a> <a href="?page=advps-slideshow&tab=three" class="nav-tab <?php if($currTab == 'three'){echo 'nav-tab-active';}?>" title="Thumbnail, title, excerpt or simply full content">Template Three</a><a href="?page=advps-slideshow&tab=thumb" class="nav-tab <?php if($currTab == 'thumb'){echo 'nav-tab-active';}?>" title="Create or manage thumbnail size">Thumbnails</a> 230 </h2> 235 <h2 class="nav-tab-wrapper"> <a href="?page=advps-slideshow&tab=one" class="nav-tab <?php if($currTab == 'one'){echo 'nav-tab-active';}?>" title="Thumbnail and overlaid title excerpt">Template One</a> <a href="?page=advps-slideshow&tab=two" class="nav-tab <?php if($currTab == 'two'){echo 'nav-tab-active';}?>" title="Thumbnail only">Template Two</a> <a href="?page=advps-slideshow&tab=three" class="nav-tab <?php if($currTab == 'three'){echo 'nav-tab-active';}?>" title="Thumbnail, title, excerpt or simply full content">Template Three</a><a href="?page=advps-slideshow&tab=thumb" class="nav-tab <?php if($currTab == 'thumb'){echo 'nav-tab-active';}?>" title="Create or manage thumbnail size">Thumbnails</a> </h2> 231 236 <?php if($currTab == 'one'){ 232 237 require 'templates/template-one.php'; … … 236 241 require 'templates/template-three.php'; 237 242 }elseif($currTab == 'thumb'){?> 243 <div class="advps-col-right"> 244 <h2>Advanced post slider 2.2.0</h2> 245 <ul> 246 <li><a href="http://www.wpcue.com/wordpress-plugins/advanced-post-slider/" target="_blank">Plugin Homepage</a></li> 247 <li><a href="http://www.wpcue.com/support/forum/advanced-post-slider/" target="_blank">Help / Support</a></li> 248 <li><a href="http://www.wpcue.com/resources/advanced-post-slider-documentaion/" target="_blank">Getting Started</a></li> 249 <li><a href="http://www.wpcue.com/faq/" target="_blank">FAQ</a></li> 250 </ul> 251 <h3>Do you like this Plugin?</h3> 252 <p>I spend lots of free hours to develop, maintain and providing support to this plugin. Any kind of participation will be highly appreciated and real inspiration for me to work more.</p> 253 <ul> 254 <li>Write a small blog for Advanced post slider and give link to our site.</li> 255 <li>Share it to your social media.</li> 256 <li><a href="http://wordpress.org/support/view/plugin-reviews/advanced-post-slider" target="_blank">Give it a good rating and review</a></li> 257 <li><a href="http://wordpress.org/plugins/advanced-post-slider/" target="_blank">Vote that it work</a></li> 258 </ul> 259 </div> 238 260 <div class="metabox-holder" style="margin-top:20px;"> 239 <div class="postbox-container" style="width: 65%">261 <div class="postbox-container" style="width:100%"> 240 262 <div class="postbox" style="margin-bottom:15px;"> 241 263 <h3><strong>Thumbnail settings</strong></h3> -
advanced-post-slider/trunk/advps-db.php
r936029 r945152 156 156 $wpdb->query("DROP TABLE ".$advps_opt_table); 157 157 } 158 elseif( $wpdb->get_results("SHOW TABLES LIKE '".$advps_opt_table."'") && $db_version == 2 ){159 if( !$wpdb->get_results("SHOW COLUMNS FROM ".$advps_opt_table." LIKE 'plist'") ){160 $wpdb->query("DROP TABLE ".$advps_opt_table);161 }162 }163 158 164 159 $ins_q = "CREATE TABLE IF NOT EXISTS ".$wpdb->prefix."advps_optionset ( -
advanced-post-slider/trunk/readme.txt
r939249 r945152 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.9.1 7 Stable tag: 2. 1.47 Stable tag: 2.2.0 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Responsive slideshow plugin powered with three built-in templates, lots of easy customizable options and many more to explore.11 A multipurpose responsive slideshow plugin powered with three built-in design template, lots of easy customizable options and many more to explore. 12 12 13 13 == Description == … … 25 25 26 26 * You can create multiple slideshow with different options at single page or post. 27 * Create three different type (Standard, Carousel & Ticker) of slideshow with single plugin. 27 28 * Three built-in design format and each have a predefined optionset. 29 * Thumbnail pagination. 28 30 * You can customize this in many ways withour changing code. 29 31 * Supports post,custom post type and even page content … … 32 34 * Cross browser compatibility 33 35 34 Visit <a target="_blank" href="http://www.wpcue.com/">www.wpcue.com/</a>for more36 Visit [Wpcue](http://www.wpcue.com/) for more 35 37 36 38 == Installation == … … 122 124 * Small change for Advanced post slider built-in image resizing functionality. 123 125 126 = 2.2.0 = 127 * Database query optimization. 128 * Pager z-index issue resolved. 129 * More unique id for container. 130 124 131 == Upgrade Notice == 125 * Few modification. Upgrade isrecommended.132 * Upgrade is highly recommended.
Note: See TracChangeset
for help on using the changeset viewer.