SOLUTION: How to show voting
-
I know a lot of you have been stuck on this as have I. I finally got it to work today and wanted to post real instructions. I have created a gallery with captions, individual voting for each image. This is how it was done:
1. You must know how to access your cPanel or FTP File Manager because you have to edit the actual code. This is easier than it sounds if you know where to put things.
2. Once you have accessed the PHP files, for me this was in /public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules
3. Now it is time to add the voting code <?php echo nggv_imageVoteForm($image->pid); ?>
into the various files to enable voting.4.The FIRST file to add this to is: /public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/view/gallery.php If you do not add it here, it WILL NOT WORK placed in any of the gallery templates, even if added in the correct location!
5. In the above PHP file – add the voting code here under Thumbnails: (I have copied from line 1 until where the inserted code ends…
[excessive code removed – use a pastebin for that much code –
https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]9. SAVE!
10. Once you have added and saved the voting code to all the templates you will be using, return to WordPress and create a gallery with enabled voting.
11. Navagate to the page where you would like the gallery to diplay. Click on the green button and add the gallery. In the pop up window select a template, under the “Customize the Display settings”. Choose the PHP that you added the voting code to!
12. After this, it worked for me! – I hope it does for you!
https://www.ads-software.com/plugins/nextgen-gallery-voting/
- The topic ‘SOLUTION: How to show voting’ is closed to new replies.