WordPress.org

Ready to get started?Download WordPress

Forums

Vote My Post
Vote images not showing (4 posts)

  1. davidp.murphy
    Member
    Posted 1 year ago #

    Hello,

    I've installed the plugin however the images do not display - only two plain boxes with '0' in the middle.

    Also, is there a way to display the voting images on the blog page without having to click into the individual blog?

    Great concept. Hopefully I can get it working on my site.

    Kind regards,

    David

    http://wordpress.org/plugins/vote-my-post/

  2. naveenbos
    Member
    Posted 1 year ago #

    I have the same issue. <a href="javascript:void(0)' id='up_count' title='Click to like this post'><img valign='middle' src='http://www.saaspie.com/wp-content/plugins/vote-my-post/images/upvote.gif"></a> when a non logged in user, inside the div it is showing this, so the thumb image not appearing, after i logged as admin i can see the thumb image correctly, but other users can't see the thumb image. what is the problem ?

  3. naveenbos
    Member
    Posted 1 year ago #

    Finally find out the bug. In vote-my-post.php file line no 605 we can see this code $html = "<div class='" . $class_1 . "'><div class='first'><a href='javascript:void(0)' id='up_count' title='Click to like this post'><img valign='middle' src='" . plugins_url( '/images/upvote.gif', __FILE__ ) . "'/></a><div class='counter' id='vmp_up_counter'>" . $up_count . "</div></div><div class='other'><a href='javascript:void(0)' id='down_count' title='Click to dislike this post'><img valign='middle' src='" . plugins_url( '/images/downvote.gif', __FILE__ ) . "'/></a><div class='counter' id='vmp_down_counter'>" . $down_count . "</div></div> </div><div class='" . $class_2 . "' id='vmp_message'></div><br/><br/><br/> ";
    i have just replaced this code to

    $html = '<div class="' . $class_1 .'">
    			 	<div class="first"><a href="javascript:void(0)" id="up_count" title="Click to like this post"><img valign="middle" src="' . plugins_url( "/images/upvote.gif", __FILE__ ) . '"/></a><div class="counter" id="vmp_up_counter">' . $up_count . '</div></div>
    				<div class="other"><a href="javascript:void(0)" id="down_count" title="Click to dislike this post"><img valign="middle" src="' . plugins_url( "/images/downvote.gif", __FILE__ ) . '"/></a><div class="counter" id="vmp_down_counter">' . $down_count . '</div></div>
    			 </div>
    			 <div class="' . $class_2 . '" id="vmp_message"></div>
    			 <br/><br/><br/>
    			';
    now it is working fine

  4. Greybox
    Member
    Posted 1 year ago #

    naveenbos:
    Thank you for fixing this bug!!

    I was wondering if you could help with this question: http://wordpress.org/support/topic/frame

    Unfortunately in 4 months from now there is no help from the plugin author.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.