Not working at all
]]>Hi there,
i just downloaded an activated the plugin, but it doesn’t work.
i can’t find the gallery display template, where i am supposed to add that php code as shown in the description. And i can′t add a gallery. No other settings but the default is available.
Can anybody give me a hint what might be wrong?
Thanks!
Bernhard
Hello all!
I’m sorry but I do not speak English so Google explained me … ??
Wordpress I have installed on the computer’s disk using the XAMPP server
I am only interested in how to solve the problem with asterisks that would appear after the vote for a given photo.
If I vote for a photo of eg 1 or 3 stars I click, then after the vote the number: D under the rated picture and not an asterisk is displayed.
How to solve it?
I have a second problem with what to do to make the results visible after the vote? I have marked out the options in the Gallery, but it does not give me anything.
Thank you and best regards
]]>I noticed a conflict where uploading new images via NG Gallery was triggering an error message. I’m on NG Galleries v2.3.
My Apache error log was showing this error:
PHP Fatal error: Call to undefined method stdClass::id() in /httpdocs/wp-content/plugins/nextgen-gallery-voting/ngg-voting.php on line 1584, referer: /wp-admin/admin.php?page=ngg_addgallery
The solution was to patch ngg-voting.php like this:
Index: wp-content/plugins/nextgen-gallery-voting/ngg-voting.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- wp-content/plugins/nextgen-gallery-voting/ngg-voting.php (revision 31b8a5811e09b558932b2a0def0480453a8a92b4)
+++ wp-content/plugins/nextgen-gallery-voting/ngg-voting.php (revision 6a35ca82d9c1389c29a04bb39128c31704130338)
@@ -1581,23 +1581,29 @@
*/
function addNewImage($image) {
if(defined('NEXTGEN_GALLERY_PLUGIN_VERSION') && NEXTGEN_GALLERY_PLUGIN_VERSION >= 2 && is_object($image)) {
- if($image->id() && $image->__get('galleryid')) {
+ if('stdClass' === get_class($image)) {
+ $pid = $image->pid;
+ $gallery_id = $image->galleryid;
+ } elseif($image->id() && $image->__get('galleryid')) {
$pid = $image->id();
- $post = array();
- $post['nggv_image'] = array();
- $post['nggv_image'][$pid] = array();
-
- $criteria = $this->getImageCriteria();
- foreach ((array)$criteria as $key=>$val) {
- $post['nggv_image'][$pid][$val->id] = array();
- $post['nggv_image'][$pid][$val->id]['enable'] = get_option('nggv_image_enable');
- $post['nggv_image'][$pid][$val->id]['force_login'] = get_option('nggv_image_force_login');
- $post['nggv_image'][$pid][$val->id]['force_once'] = get_option('nggv_image_force_once');
- $post['nggv_image'][$pid][$val->id]['user_results'] = get_option('nggv_image_user_results');
- $post['nggv_image'][$pid][$val->id]['voting_type'] = get_option('nggv_image_voting_type');
- }
- $this->onGalleryUpdate($image->__get('galleryid'), $post);
- }
+ $gallery_id = $image->__get('galleryid');
+ }
+ if(isset($pid) && isset($gallery_id)) {
+ $post = array();
+ $post['nggv_image'] = array();
+ $post['nggv_image'][$pid] = array();
+
+ $criteria = $this->getImageCriteria();
+ foreach ((array)$criteria as $key=>$val) {
+ $post['nggv_image'][$pid][$val->id] = array();
+ $post['nggv_image'][$pid][$val->id]['enable'] = get_option('nggv_image_enable');
+ $post['nggv_image'][$pid][$val->id]['force_login'] = get_option('nggv_image_force_login');
+ $post['nggv_image'][$pid][$val->id]['force_once'] = get_option('nggv_image_force_once');
+ $post['nggv_image'][$pid][$val->id]['user_results'] = get_option('nggv_image_user_results');
+ $post['nggv_image'][$pid][$val->id]['voting_type'] = get_option('nggv_image_voting_type');
+ }
+ $this->onGalleryUpdate($gallery_id, $post);
+ }
}else{
if($image['id']) {
$post = array();
]]>
Hi,
The plugin doesn’t work anymore with Last version of nextgen gallery 2.2.3. Is It a Known issue ?
Thanks
Hi, I have activated the plugin and set to stars and later tried dropdown but neither voting system will show? It just shows as a normal gallery. I have activated under settings, gallery settings, and on individual image. Thanks!
]]>Hello, is it possible to change voting interval for example to 30 minutes per user? I can see 1 day in pro version, but is it possbile to change it to lower value than 1 day?
]]>I followed all the step by step Mentioned in the FAQ, but the index (path: /nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php), but only found the “<div class =” ngg- gallery-thumbnail “>”, but I found the foreach. Where should I put the tag “<? Php echo nggv_galleryVoteForm ($ displayed_gallery, gallery $);?>”? because in my index does not appear the foreach?
]]>Hi all,
I got the plugin running, but there are commas at/under each thumbnail, that I don’t want to have there. What can I do? This ist the test-site: Test
]]>Hello.
Do you have any experience with “NextGEN Gallery Voting” beeing used in combination with enfold theme?
It’s not in the description.
]]>Hi,
i had a look at the FAQ and followed the instructions. But unfortunately the star rating is displayed incorrectly. You can see it here: mainbloc.de
Can someone help me?
Thank a lot,
Martin
Lately (not sure when it started), when I upload an image, they show stars, as if they are already voted on, which is impossible, of course. Also, all images seem to be rated exactly the same now, three stars.
What can be causing this issue? Thanks for any help.
Example gallery: https://www.humortimes.com/1571/surveillance-caricatures/
]]>I have several galleries in place where users can vote on individual photos. However, when you click to open a photo, it opens two separate image viewers (that look different). It seems like another plug-in is functioning at the same time? Any advice or thoughts? (Be aware, I’m fairly new to WP/php files/coding). Thank you.
]]>I have this page:
https://christianboyce.com/murchison3rdgrade
This is a basic gallery, and the thumbnails show the voting underneath them (as stars). That makes me feel as if I added the code in the right spot. But, when I click on a thumbnail and the bigger version displays, there are no stars to click on.
Using NextGEN Gallery Plug-in Version 2.1.31 and NextGEN Gallery Voting Version 2.7.6.
Thanks for your help.
]]>I need to know how to enable my images with the default settings all at once I have 150 images in a gallery and do not have time to do each image manually. Any help greatly appreciated
]]>Is it possible to change the star colour?
]]>I placed and linked Gallery A and Gallery B at two different pages but when clicked on filter, the results display images of both galleries together. How can I filter ratings for only the gallery on that page itself?
]]>Здравствуйте! Установил плагин на свой сайт babykhv, но голосования не появилось!!! Куда вставлять тег, в какой шаблон? Где он находится?
]]>I’m setting up two galleries of 60 models for an event. There will be about 700 people who will be instructed to vote on their favorite model at once by accessing the voting page on their phones. The site is hosted on GoDaddy with their basic WordPress hosting.
Will the plugin support this?
Thanks!
]]>For anyone concerned about the new version of Nextgen now taken over by Photocrati… The basic thumbnail gallery voting works exactly the same. But the pro version does too if you follow similar instructions and add <?php echo nggv_imageVoteForm($image->pid); ?> into the foreach loop of /public_html/wp-content/plugins/nextgen-gallery-pro/modules/nextgen_pro_thumbnail_grid/templates/nextgen_pro_thumbnail_grid.php. It looks good too
]]>I have 5 drop down (numbers) voting criteria on a photo. I need to be able to ADD the chosen numbers on all 6 and have the result field store the added results so I can use that as a composite result for each image, kind of like Olympic skating results. I then need to be able to show the photo with the highest combined result by adding each voting criteria per picture.
Certainly someone has done that. I am hosting a photo contest where internal judges (pros) are judging the photos and we need to be able to calculate who got the highest accumulative ratings across all criteria and by all the judges combined. We’re giving prize awards for winners in several categories and need a fairly quick way to do that. We used to calculate it all by had but we’ve added a “mobile device” category and expect 20x more participants.
Any ideas.
Here is the code I’ve added to the viewer:
Color/Tone: <?php echo nggv_imageVoteForm($image->pid, 1); ?>
<!– Notice criteria ID: 1 –>
Clarity: <?php echo nggv_imageVoteForm($image->pid, 2); ?>
<!– Notice criteria ID: 2 –>
Composition: <?php echo nggv_imageVoteForm($image->pid, 3); ?>
<!– Notice criteria ID: 3 –>
Essence of Green Cay: <?php echo nggv_imageVoteForm($image->pid, 4); ?>
<!– Notice criteria ID: 4 –>
Overall Appeal: <?php echo nggv_imageVoteForm($image->pid, 5); ?>
<!– Notice criteria ID: 5 –>
Thanks in advance if you have any ideas.
Jon-Mark
[email protected]
Hi there,
you mentioned “You need to add a small ‘tag’ to the NGG templates to get voting on images working” in which NGG template should I add ? where can I find the NGG template ?
]]>I suspect my problem is that Nextgen Plus not compatible. I can show stars and change the rating but once a like or dislike is clicked there is no interface to change it, is this correct? https://photoclubmeteorite.patbell.co.uk/competition/
Is anyone there in fact afaics there have been no answers for some months.
]]>Hello,
I’ve purchased premium version (v1.6.1). I can’t find how to see voting on images.
Can you help me please.
My Nextgen version is 2.1.15 Free
]]>Hi,
Is there away to limit the number of votes per day/week/month to a certain number instead of one?
For example: allowing the users to vote 3 images per gallery a during a week?
I’m planning to buy the premium version, so if this is solved with that it would help too.
Thanks.
]]>I installed the plugin, but does not appear in individual photos.
I read several times the tutorial, I ran several test, but not enabled.
Where exactly I have to insert a line of code?
Use the gallery template (NextGEN Basic Thumbnails = Nextgen Legacy: gallery-capition.php).
Version Plugin – 2.7.6
Thank you!
]]>Hi,
I can see this is a long shot since many tickets are not answered, but I thought I should give it a try. Everything is working fine, but then need the voter to vote more than once in case he changed his mind. Changed all the settings and tried, but you can only vote again if you refresh the page. Honestly I tried scavenging the code, but it is too much for my limited knowledge so, how can I make more than one vote without having to refresh the page once again??? All settings are fine, checked img by img in gallery management.
]]>I need help.
I do not understand the instructions .
Where should I enter what in what file .
The vote does not appear in the lightbox .
The stars are only seen in the Gallery . Under a picture are five stars, if I want to vote , there are only four .
https://images.mp-11.net/image/L
https://images.mp-11.net/image/w
Drop down is not at all . if I want to choose something from the dropdown immediately opens the picture. Voting is impossible.
Who can help me?
]]>