Changeset 755230
- Timestamp:
- 08/12/2013 06:55:01 PM (12 years ago)
- Location:
- nextgen-gallery-voting
- Files:
-
- 34 added
- 2 edited
-
tags/2.6.1 (added)
-
tags/2.6.1/css (added)
-
tags/2.6.1/css/jquery-ui (added)
-
tags/2.6.1/css/jquery-ui/images (added)
-
tags/2.6.1/css/jquery-ui/images/animated-overlay.gif (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-icons_222222_256x240.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-icons_2e83ff_256x240.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-icons_454545_256x240.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-icons_888888_256x240.png (added)
-
tags/2.6.1/css/jquery-ui/images/ui-icons_cd0a0a_256x240.png (added)
-
tags/2.6.1/css/jquery-ui/jquery-ui-1.10.3.custom.css (added)
-
tags/2.6.1/css/jquery-ui/jquery-ui-1.10.3.custom.min.css (added)
-
tags/2.6.1/css/star_rating.css (added)
-
tags/2.6.1/images (added)
-
tags/2.6.1/images/loading.gif (added)
-
tags/2.6.1/images/star.gif (added)
-
tags/2.6.1/images/thumbs_down.png (added)
-
tags/2.6.1/images/thumbs_up.png (added)
-
tags/2.6.1/js (added)
-
tags/2.6.1/js/admin_gallery.js (added)
-
tags/2.6.1/js/ajaxify-likes.js (added)
-
tags/2.6.1/js/ajaxify-stars.js (added)
-
tags/2.6.1/js/top-voted.js (added)
-
tags/2.6.1/ngg-voting.php (added)
-
tags/2.6.1/readme.txt (added)
-
tags/2.6.1/voting-types.php (added)
-
trunk/ngg-voting.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nextgen-gallery-voting/trunk/ngg-voting.php
r740007 r755230 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.6 6 Version: 2.6.1 7 7 Author: Shaun Alberts 8 8 Author URI: http://shauno.co.za … … 1533 1533 */ 1534 1534 function addNewImage($image) { 1535 if($image['id']) { 1536 $post = array(); 1537 $post['nggv_image'] = array(); 1538 $post['nggv_image'][$image['id']] = array(); 1539 1540 $criteria = $this->getImageCriteria(); 1541 foreach ((array)$criteria as $key=>$val) { 1542 $post['nggv_image'][$image['id']][$val->id] = array(); 1543 $post['nggv_image'][$image['id']][$val->id]['enable'] = get_option('nggv_image_enable'); 1544 $post['nggv_image'][$image['id']][$val->id]['force_login'] = get_option('nggv_image_force_login'); 1545 $post['nggv_image'][$image['id']][$val->id]['force_once'] = get_option('nggv_image_force_once'); 1546 $post['nggv_image'][$image['id']][$val->id]['user_results'] = get_option('nggv_image_user_results'); 1547 $post['nggv_image'][$image['id']][$val->id]['voting_type'] = get_option('nggv_image_voting_type'); 1548 } 1549 1550 $this->onGalleryUpdate($image['galleryID'], $post); 1535 if(defined('NEXTGEN_GALLERY_PLUGIN_VERSION') && NEXTGEN_GALLERY_PLUGIN_VERSION >= 2) { 1536 if($image->id() && $image->__get('galleryid')) { 1537 $pid = $image->id(); 1538 $post = array(); 1539 $post['nggv_image'] = array(); 1540 $post['nggv_image'][$pid] = array(); 1541 1542 $criteria = $this->getImageCriteria(); 1543 foreach ((array)$criteria as $key=>$val) { 1544 $post['nggv_image'][$pid][$val->id] = array(); 1545 $post['nggv_image'][$pid][$val->id]['enable'] = get_option('nggv_image_enable'); 1546 $post['nggv_image'][$pid][$val->id]['force_login'] = get_option('nggv_image_force_login'); 1547 $post['nggv_image'][$pid][$val->id]['force_once'] = get_option('nggv_image_force_once'); 1548 $post['nggv_image'][$pid][$val->id]['user_results'] = get_option('nggv_image_user_results'); 1549 $post['nggv_image'][$pid][$val->id]['voting_type'] = get_option('nggv_image_voting_type'); 1550 } 1551 $this->onGalleryUpdate($image->__get('galleryid'), $post); 1552 } 1553 }else{ 1554 if($image['id']) { 1555 $post = array(); 1556 $post['nggv_image'] = array(); 1557 $post['nggv_image'][$image['id']] = array(); 1558 1559 $criteria = $this->getImageCriteria(); 1560 foreach ((array)$criteria as $key=>$val) { 1561 $post['nggv_image'][$image['id']][$val->id] = array(); 1562 $post['nggv_image'][$image['id']][$val->id]['enable'] = get_option('nggv_image_enable'); 1563 $post['nggv_image'][$image['id']][$val->id]['force_login'] = get_option('nggv_image_force_login'); 1564 $post['nggv_image'][$image['id']][$val->id]['force_once'] = get_option('nggv_image_force_once'); 1565 $post['nggv_image'][$image['id']][$val->id]['user_results'] = get_option('nggv_image_user_results'); 1566 $post['nggv_image'][$image['id']][$val->id]['voting_type'] = get_option('nggv_image_voting_type'); 1567 } 1568 1569 $this->onGalleryUpdate($image['galleryID'], $post); 1570 } 1551 1571 } 1552 1572 } -
nextgen-gallery-voting/trunk/readme.txt
r748902 r755230 4 4 Tags: nextgen-gallery, nextgen, gallery, voting, rating, ratings, nextgen-gallery-voting 5 5 Requires at least: 2.9.1 6 Tested up to: 3. 5.27 Stable tag: 2.6 6 Tested up to: 3.6 7 Stable tag: 2.6.1 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.6.1 = 81 * Changed the way voting URLs are generated for better compatibility with sub directory installs 82 * Tweak new image catch to work with NextGEN Gallery 2 79 83 80 84 = 2.6 = … … 207 211 == Upgrade Notice == 208 212 213 = 2.6.1 = 214 Minor updates to improve NextGEN Gallery version 2 compatibilty, and installs in a sub directory 215 209 216 = 2.6 = 210 217 Minor update adding hooks and filters for next Premium add-on version to use.
Note: See TracChangeset
for help on using the changeset viewer.