WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] NextGEN Voting Plugin Problems (10 posts)

  1. Mrinal Kanti Roy
    Member
    Posted 2 years ago #

    Here is my problem.

    1.On my page http://captureimaging.com.au/photo-voting when I click the vote button, it takes forever to refresh the vote. I have the same nextgen gallery voting code here (3 images below video), http://www.brentmailphotography.com/test-video and it works fine. How to solve this

    2. I Want the vote and (number of votes) to be on the same line, right below the thumbnail, like on http://www.brentmailphotography.com/test-video

    Please help me quickly!

  2. shauno
    Member
    Posted 2 years ago #

    1) The vote is happening in under a second, the problem is your theme has messed with the quotes and is breaking the AJAX. This has happened before, and it was fixed by wrapping the shortcode with [raw]. See http://wordpress.org/support/topic/plugin-nextgen-gallery-voting-stars-javascript-error?replies=7

    2) It seems that site have made the changes themselves to add the number of votes. You can call the API nggv_getImageVotingResults($pid, array("likes"=>true)); to get an array of results back per image.

    [ Signature moderated. ]

  3. Mrinal Kanti Roy
    Member
    Posted 2 years ago #

    Hi! Shauno,

    Thanks for your response! I have used [raw][/raw] & find some changes.

    Can you tell me how & where to put AJAX in right place as I am completely newbie with NextGEN.

    How it's possible to make my Gallery page like http://www.brentmailphotography.com/test-video?

    Tell me where to place the codes nggv_getImageVotingResults($pid, array("likes"=>true));

    I want to make donation for you but I don't have PayPal as it's not available in our country. Tell me if you have MoneyBookers account.

    Can I suggest you to make some plugin as some beautiful ideas surrounding in my mind.

  4. shauno
    Member
    Posted 2 years ago #

    I haven't tested the [raw] thing, I just saw it in the forum. I will investigate once I have access to my test installs.

    You need to understand a little PHP to get the results and display them. I will try give you a copy/paste example when I can.

    Feel free to give your plugin ideas. As long as they aren't too specific and have a large appeal, I'm sure lots of developers are looking for ideas.

  5. shauno
    Member
    Posted 2 years ago #

    You can add this below the image voting tag to show the results the same way as the example you gave:

    <?php
    $results = nggv_getImageVotingResults($image->pid, array("likes"=>true));
    echo $results['likes'].' Votes';
    ?>

    I have no idea why some themes break the quotes. But because I don't have access to any themes that do it, so I can't fix it easily.
    I will look into it, but can't promise anything.

  6. Mrinal Kanti Roy
    Member
    Posted 2 years ago #

    Thanks! Shauno, I have solved all the problems.

    Let me know where to submit my ideas about WordPress Development (Most likely plugin as you are a plugin Developer).

    I am doing freelance work & had a research about WordPress & it's tools as I am using it about more than 3yrs.

  7. Mrinal Kanti Roy
    Member
    Posted 2 years ago #

    Thanks again for your assistance & guidance.

  8. mindykoch
    Member
    Posted 2 years ago #

    How did you get the "vote" option instead of the like/dislike, stars, rate??

    That is exactly what I am looking for! I love it!!

    http://captureimaging.com.au/photo-voting - this is formatted exactly how I would like mine to be.

  9. Mrinal Kanti Roy
    Member
    Posted 2 years ago #

    Hi! Mindy,

    Thanks for your message!

    It's a website of my client Brent Mailman who is a Australian Photographer.

    He hired me in oDesk for that I have wrote some custom PHP codes, edited CSS of NextGEN Gallery & NextGEN Voting Plugin & designed Vote Button for that to work.

    Let me know in which website do you need to work it?

    Kind Regards
    Mrinal

  10. mindykoch
    Member
    Posted 2 years ago #

    http://thosecallawaysblog.com

    The pages are in draft, so I don't know how to show them to you at this time - but I am needing to have the "vote" option very much. Client doesn't want "dislike" or ratings. He just wants a "like" or a "vote" option.

Topic Closed

This topic has been closed to new replies.

About this Topic