WordPress.org

Support

Support » Plugins and Hacks » WP-PostRatings » [Resolved] Error when voting on iPhone

[Resolved] Error when voting on iPhone

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Lester Chan

    @gamerz

    Does it work on the desktop in the first place?

    Hi Lester. Yes voting works great on the desktop.

    Plugin Author Lester Chan

    @gamerz

    What is your site URL? Does it a load a different theme for mobile?

    Hi Lester. I narrowed it down to this: Seems to be an issue between your plugin and fastclick.js.

    https://github.com/ftlabs/fastclick

    It occurs when this script is loaded, which makes since that it doesn’t effect desktop browsers. I’m not sure what the true conflict is but I hope you may be able to determine.

    Thank you

    Plugin Author Lester Chan

    @gamerz

    Not too sure if you can add class="needsclick" to the vote button in WP-Admin -> Polls -> Polls Templates as mentioned in the docs

    Hi Lester. I’m not seeing how to add that to vote button. The only docs I have seen are in the read me. Is there another set of docs to reference? Currently my vote template has :

    %RATINGS_IMAGES_VOTE% (<strong>%RATINGS_USERS%</strong> votes, average: <strong>%RATINGS_AVERAGE%</strong> out of %RATINGS_MAX%)<br />%RATINGS_TEXT%

    Plugin Author Lester Chan

    @gamerz

    Technically you need to modify the plugin wp-postratings.php.

    Find: class=”post-ratings-image”
    Replace with: class=”post-ratings-image needsclick”

    If it does not work, I am afraid you can’t use both together.

    Lester,

    Adding class=”needsclick” to the following lines does remedy the issue.
    lines 1050,1053,1055, 1058, 1071,1074,1076,1079

    Would this make its way into your code someday or will I need to always edit after an update?

    Thank you for your help!

    Plugin Author Lester Chan

    @gamerz

    You have to make an updated every time since this is conflict which is not generic and specific to users who used fastclick.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Error when voting on iPhone’ is closed to new replies.
Skip to toolbar