Changeset 883545
- Timestamp:
- 03/28/2014 01:32:00 PM (12 years ago)
- Location:
- nextgen-gallery-voting
- Files:
-
- 34 added
- 2 edited
-
tags/2.7.4 (added)
-
tags/2.7.4/css (added)
-
tags/2.7.4/css/jquery-ui (added)
-
tags/2.7.4/css/jquery-ui/images (added)
-
tags/2.7.4/css/jquery-ui/images/animated-overlay.gif (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-icons_222222_256x240.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-icons_2e83ff_256x240.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-icons_454545_256x240.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-icons_888888_256x240.png (added)
-
tags/2.7.4/css/jquery-ui/images/ui-icons_cd0a0a_256x240.png (added)
-
tags/2.7.4/css/jquery-ui/jquery-ui-1.10.3.custom.css (added)
-
tags/2.7.4/css/jquery-ui/jquery-ui-1.10.3.custom.min.css (added)
-
tags/2.7.4/css/star_rating.css (added)
-
tags/2.7.4/images (added)
-
tags/2.7.4/images/loading.gif (added)
-
tags/2.7.4/images/star.gif (added)
-
tags/2.7.4/images/thumbs_down.png (added)
-
tags/2.7.4/images/thumbs_up.png (added)
-
tags/2.7.4/js (added)
-
tags/2.7.4/js/admin_gallery.js (added)
-
tags/2.7.4/js/ajaxify-likes.js (added)
-
tags/2.7.4/js/ajaxify-stars.js (added)
-
tags/2.7.4/js/top-voted.js (added)
-
tags/2.7.4/ngg-voting.php (added)
-
tags/2.7.4/readme.txt (added)
-
tags/2.7.4/voting-types.php (added)
-
trunk/ngg-voting.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nextgen-gallery-voting/trunk/ngg-voting.php
r883525 r883545 4 4 Plugin URI: http://shauno.co.za/wordpress/nextgen-gallery-voting/ 5 5 Description: This plugin allows you to add user voting and rating to NextGEN Galleries and Images 6 Version: 2.7. 36 Version: 2.7.4 7 7 Author: Shaun Alberts 8 8 Author URI: http://shauno.co.za … … 123 123 */ 124 124 125 add_action('load_nextgen_gallery_modules', array(&$this, 'nggLoadModules')); 125 //add_action('load_nextgen_gallery_modules', array(&$this, 'nggLoadModules')); 126 add_filter('ngg_displayed_gallery_cache_params', array(&$this, 'set_voting_cache_params')); 126 127 127 128 add_action('init', array(&$this, 'wpInit')); … … 814 815 815 816 //remove NGG's caching, as we are adding user's dynamic content to the gallery templates 817 //deprecated 816 818 function nggLoadModules($registry) { 817 819 if(class_exists('C_Photocrati_Cache')) { … … 819 821 } 820 822 } 821 // } 823 824 //invalidate the cache every mirco second. Too many variables about serving the cache to try worry about it for now 825 function set_voting_cache_params($arr) { 826 $arr['nggvoting_time'] = microtime(); //will invalidate the cache every request 827 828 return $arr; 829 } 830 // } 822 831 823 832 // Admin Functions { -
nextgen-gallery-voting/trunk/readme.txt
r883525 r883545 5 5 Requires at least: 2.9.1 6 6 Tested up to: 3.8.1 7 Stable tag: 2.7. 37 Stable tag: 2.7.4 8 8 9 9 Adds the ability for users to vote and rate your NextGEN Images. Simple options give you the ability to limit who can vote on what. … … 77 77 78 78 == Changelog == 79 80 = 2.7.4 = 81 * Quick hack to invalidate the NGG template cache using the built in NGG functions. 79 82 80 83 = 2.7.3 = … … 224 227 == Upgrade Notice == 225 228 229 = 2.7.4 = 230 Changed NGG template cache invalidation to use built in NGG method instead of massive hack used in 2.7.2 231 226 232 = 2.7.3 = 227 233 Voting options have been restored in "Manage Gallery" screens in NGG >= 2.0.57.
Note: See TracChangeset
for help on using the changeset viewer.