Linux 软件免费装

NextGEN Gallery Voting

开发者 shauno
更新时间 2023年4月23日 15:48
捐献地址: 去捐款
PHP版本: 2.9.1 及以上
WordPress版本: 4.0.1

标签

gallery nextgen rating ratings voting nextgen-gallery nextgen-gallery-voting

下载

1.7.1 1.7.2 1.10 1.7 2.4.1 2.5.1 2.6 2.6.1 2.7 2.7.1 2.7.2 1.1 1.10.1 1.2 1.3 1.3.1 1.4 1.5 1.6 1.6.1 1.6.2 1.0 1.8 1.8.1 1.8.2 1.9.0 1.9.1 1.9.2 1.9.3 2.0 2.0.1 2.1 2.2 2.2.1 2.2.2 2.3 2.3.1 2.3.2 2.4 2.5 2.7.3 2.7.4 2.7.5 2.7.6

详情介绍:

Features NGG Voting was inspired by a request from Troy Schlegel of Schlegel Photography. Please read the FAQ for more info on how it works. If you want even more features and functionality, be sure to check out the Premium add-on. Please read the FAQ, as you are required to add a tag to gallery templates for certain functionality to work!

安装:

  1. Unzip the plugin to your wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to 'Manage Gallery' in NextGEN, and select a gallery to see the new options
  4. Remember to add the tag to the gallery template for image voting to work (see the FAQ)!

屏幕截图:

  • The image settings for an actual image in the NextGEN Gallery 'Manage Gallery' screen
  • Voting types available (more available in the Premium add-on!)
  • Voting results for an image
  • Top Voted screen showing you images and their votes
  • Images with voting enabled

升级注意事项:

2.7.6 Security patch to stop unauthorized access to certain features 2.7.5 CSS fix for stopping numeric values of stars showing under certain conditions 2.7.4 Changed NGG template cache invalidation to use built in NGG method instead of massive hack used in 2.7.2 2.7.3 Voting options have been restored in "Manage Gallery" screens in NGG >= 2.0.57. 2.7.2 I have disabled NGG v2.x caching class entirely. It creates many problems with the dynamic content the voting adds to gallery pages 2.7.1 Added code to flush the NextGEN Gallery display template cache when vote is saved, so vote shows on next page refresh 2.7 Fixed gallery voting on NGG v2.x. Also added code to make NGG Voting work with NGG Public Uploader 2.6.1 Minor updates to improve NextGEN Gallery version 2 compatibilty, and installs in a sub directory 2.6 Minor update adding hooks and filters for next Premium add-on version to use. 2.5.2 This update fixes an issue stopping the vote form showing for certain setups. 2.5.1 Fixed minor bug that was stopping 'thank you' message showing when you don't allow users to see the results. 2.5 This update optimizes the voting process code, and adds filter options to the Top Voted screen. Lots of hooks and filters have been added for Premium features coming soon. 2.4.1 This update fixes a bug that stopped the drop down voting type working for images 2.4 This update adds a database autoupdater, as well as many new hooks and filters for new Premium features coming soon 2.3.2 Fixes a bug where new images weren't taking on all the default settings correctly. 2.3.1 Fixed a bug that stopped fresh installs from builing the tables correctly. 2.3 Updates required for NextGEN Gallery Voting Premium 1.2 to run. 2.2.1 This update fixes a small conflict that stopped voting working with the [nggtags] shortcode, or if "The gallery will open the ImageBrowser instead the effect" option is on. 2.2 This update makes AJAX voting play nicely with themes that use WordPress' auto formatting. 2.1 Updates to voting engine for future compatibility. 2.0 Version 2.0 is a big restructure of the plugin. If you have made customizations or are calling APIs externally, please test thoroughly before updating your live site!

常见问题:

In a nutshell, what is this?

This plugin adds options that can allow your users to vote on (more like rate) your Galleries and Images. There are options to limit which Gallery/Image to allow voting on, if the user needs to be registered and logged in, if they can vote more that once, and if they can see the current results.

How do I show the voting form?

You need to add a small tag to the gallery display template. For image voting: For image voting, add the following tag: <?php echo nggv_imageVoteForm($image->pid); ?>, to the gallery display template. For gallery voting: For gallery voting, add the following tag: <?php echo nggv_galleryVoteForm($displayed_gallery, $gallery); ?>, to the gallery display template. For NGG 1.x, you can find the gallery templates in the /plugins/nextgen-gallery/view/ directory. For the default shortcode, [nggallery id=x], you add the tag to the gallery.php file. If you add the template attribute to your shortcode, you need to alter the appropriate template. eg: If you use the [nggallery id=x template="caption"], you need to add the tag to the gallery-caption.php template. For NGG version 2.x, you need to add the tag to the /nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php template. This will only work for galleries inserted WITHOUT selectiong a template from the gallery display options. NGG v2.x templating system can be confusing for some users. Please see this page for more info on which templates are used. Please be aware, for image voting, the form needs to be placed inside the foreach() loop in those templates, as that loop is outputting each image. I find the best place to put the tag is AFTER the <div class="ngg-gallery-thumbnail"> is CLOSED. For gallery voting, be sure to place the tag outside of the foreach, or it will show more than once on the page.

Can I style it?

Absolutely. This plugin intentionally adds very little styling to the voting forms, but it does provide plenty of ids and classes allowing you to style it to fit in with your site.

Where are the results

Under the Gallery or Image options, the current average vote show along with how many votes have been cast. Click on the number of votes cast to view more info on those votes. You can also see more information on the voting results under the 'Top Voted' menu option.

更新日志:

2.7.6 2.7.5 2.7.4 2.7.3 2.7.2 2.7.1 2.7 2.6.1 2.6 2.5.2 2.5.1 2.5 2.4.1 2.4 2.3.2 2.3.1 2.3 2.2.2 2.2.1 2.2 2.1 2.0 1.10.1 1.10 1.9.3 1.9.2 1.9.1 1.9.0 1.8.2 1.8.1 1.8 1.7.2 1.7.1 1.7 1.6.2 1.6.1 1.6 1.5 1.4 1.3.1 1.3 1.2 1.1 1.0