Hey Guys. I have listed the changes i have made to the NextGen Voting plugin, in order to use the Like / Dislike option, but to REMOVE the Dislike part of it, ending up with only a LIKE option.
I have also changed my word Like, to the word Vote instead, but i did not list those changes in here, but that is really really super easy.
Q: Why did i want to change this?
A: I am developing a website, where none of the other options worked for me. I simply needed the like / dislike option to be changed to like only.
It is important to give credit to the original developer/s of this awesome plugin, don’t ever take things for granted. I am NOT an expert in php, simply a jack of all trades with a tiny bit of PHP knowledge.
Version of WordPress: 3.3.2
Version of NextGen Voting Pluging: V1.10.1
Files to change:
Please note!! Copy your original 2 files somewhere as a backup. I have listed the line numbers of the ORIGINAL file! So after you have made your changes, the line numbers WILL vary! Do search and replace and ignore white space to get the correct code. I can NOT help you with this! Be smart lol
File to change: nextgen-gallery-voting\ngg-voting.php
23 changes (if i did this correctly)
Thats it!! Hope it helps someone.
I just want to ask if anyone reads this far, does anyone know how to add confirmation to this option. Im looking for a popup that asks the user, Are you very very very sure you want to vote (like) that image? Because once you vote (or like), you cant change your mind.
Basically just an ajax confirmation popup or something. Thanks guys have fun and good luck!
- The topic ‘[Plugin: NextGEN Gallery Voting] Change Like / Dislike to Like only ;)’ is closed to new replies.