Support » Plugin: GamiPress - Link » Link not adding points

  • Resolved cudworth

    (@cudworth)


    Hi,
    I have embedded an articulate storyline 360 quiz on a page. Depending on the result of the quiz, I have assigned an amount of points. I have created a button in storyline and assigned a specific URL. In Gamipress, I have designated this url to award points based on the link, so when the user clicks it they SHOULD receive an amount of points. However, this does not work.
    How can I get this to work, please?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rubengc

    (@rubengc)

    Hi @cudworth

    GamiPress – Link only works for links generated through [gamipress_link] shortcode (or block if you are using Gutenberg)

    There is a list of attributes supported:
    https://wordpress.org/plugins/gamipress-link/#which%20attributes%20support%20%5Bgamipress_link%5D%20shortcode%3F

    Other links won’t trigger the awards

    Other way you can get it working is to award the user for visit the page instead of click the link but this only will work if the link you want to award sends the user to a page of your site

    Best regards

    Hi,
    Thanks for the quick response. I’ve got a link working using a shortcode in a block. However, i would prefer to award when users visit a particular page of my site. I’ve looked into it but can’t find correct shortcode. Any help would be gratefully received.
    Thanks in advance.

    Plugin Author rubengc

    (@rubengc)

    Hi @cudworth

    To award your users for visit a page you don’t need any shortcode

    GamiPress includes the event “Daily visit a specific post” that lets you setup any automatic reward when the user visit this page

    Best regards

    Hi,
    I have decided to use gamipress button to achieve my desired outcome. However, I have tried using the following shortcode. The button id correctly adds the points but the link to the url is not working.

    [gamipress_button type=”submit” label=”Click here!” id=”test_btn” onclick=”location.href=’https://mywebsite/’;”]

    Thanks

    Plugin Author rubengc

    (@rubengc)

    Hi @cudworth

    Is exactly the same issue as an user reported here:
    https://wordpress.org/support/topic/onclick-not-working-3/

    Issue comes that, when you copy a shortcode from wordpress or from a website there is a small issue and is that double quotes gets formatted

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.