Users will just deduced one times of the goals if he click the button enought quikly, but the receiver will get the click times of the goals.
]]>I am trying to implement gamipress with TutorLMS to increase student engagement. My intention is to award points when they create a new Q&A on a course, or reply to a question already there.
I am using the “Click a button with a specific Class” and trying to apply the css class “sidebar-ask-new-qna-submit-btn” but it does not appear to be registering as an event.
Has anyone had any luck with this or can guide me to the correct class to be used (the class for the reply button would also be much appreciated)
]]>Hello, I am using your plugin to give an achievement to my users when they click on a button.
I noticed that they don’t get the achievement at all because the AJAX request is canceled before executing. I found that you are using location.href = url;
directly after the ajax call and not waiting for it to succeed.
To fix it I would suggest to move the redirect code in the ajax success callback instead of calling it in parallel.
You can reproduce the bug on Windows, Firefox 120.0.1 (and maybe other browsers but I haven’t tested it).
]]>Hi,
I’m using your button shortcode to give points for downloads or video views. I setup it with specific classes like ‘deck-download’ or ‘ps23-video-1’ then I trigger those with javascript function with might be attached to different elements on the page using thisdocument.querySelector('.deck-download').click();
or for videos:
document.querySelectorAll('.ps23-video').forEach((video, index) => video.onplay = function(){ pageVideosPlayed[index] ? console.log(
video ${index} played already
) : document.querySelector(.ps23-video-${index}
).click(); }) })
This approach seemed to work perfectly fine till now… when above causes instant page reload when any video is played.
Any suggestions?
]]>Hello!
I’ve been using your plugin in the last days in my website and i’ve set a list of achievement linked to the ID of different buttons.
Problem is: some button triggers the achievement and some don’t. To make the broken button work i need to clean completely the cache of the browser, then they work again.
Can you help me to understand how to fix this problem?
thank you so much! Hope you’ll reply soon as i’ll have an event this saturday and i don’t know how to fix this by myself!
]]>On my German language learning site, I’m using GamiPress Buttons at the bottom of explanatory pages so that users can reward themselves after having read the explanation. The button is wrapped in WP-Members shortcode so that only logged-in users can see and access the button. Everything has been working fine for a long period on many pages.
Now suddenly on only one page
https://ondaz.de/zweiteilige-konnektoren/
the button appears as a long column on the right side of the page instead of at the bottom. The button is still active and delivering points when clicked.
For the time being, I have removed the button’s WP-Members wrapping on this particular page to make sure the problem is not caused by WP-Members and in order to allow you to inspect the problem without having to create an account. I cannot find any difference between this page and other pages where Button is displayed properly.
After the latest WordPress update, Gamipress buttons not working.
I have this error in the console:
Uncaught TypeError: gamipress_button is undefined
All plugins are updated to the latest versions.
Do you know what it can be?
]]>Is there a way to let users know that they’ve just earned a point (or more) once they’ve clicked the button? I have a button setup and when I click it I get points. I can see the points on the back end but as the user I don’t know that anything has happened.
]]>Hello, I’m trying to put target attribute (target=”_blank”) to the GamiPress Link but I can’t, ?could you help me?
]]>Hello:
I have used the [gamipress_button] shortocde inside achievements without any problem, it works great! However, when you use the gamipress general shortcode [gamipress_achievemnts] shortcode, which will read the achievemnts, then the [gamipress_button] is not interpreted and is shown as is. With some other plugins like Nominations it doesn’t happen.
Could it be possible to correct it?
Thanks a lot for such a useful plugin!!
hi, i’m using this plugin to create a true-false game.
On every post there are 2 buttons, one for the correct selection and one for the wrong selection. When a user select the correct button receive one point etc.
The problem is this: the user today select the correct button on a question and receive +1 point. Tomorrow the user select the same (correct) button on the same question and receive another one point and the same scenario repeats every day. I can’t set to receive +1 point only once cause there are the 2 buttons on every post.
Do you have any answer? Is it possible to allow the user to select one of two buttons only once per post?
hi, can i use (into a shortcode) a value of a variable instead of a static text into a button label text?
]]>Can anyone help me please how to use button ?
I am adding automatic point and it doesn’t work.
I wonder if is it possible to reate a button in order to and admin trigger points to an user
]]>Hi there,
I want my users to be redirected when clicking the button but when I click I am not redirected:
[gamipress_button label=”I completed Goal 1″ id=”goal-1″ onclick=“location.href=’https://rubyseed.co.za/acwrimo/profile/’;”%5D
Am I doing something wrong?
Thanks in advance!
]]>The button doesn’t seem to trigger anything achievement or points.
I need better documentation then “If you don’t know exactly what is the purpose of this attribute leave it blank”.
I made a badge
When:Get Click on button with a specific identifier Button id Attribute: Test1 1 times limited to: unlimited
[gamipress_button id=”Test1″ label=”GamiPress website” onclick=”location.href=’https://gamipress.com/’;”]
It did not do anything apart from goto the link
]]>How can I make a gamipress button redirect to another url on my site when clicked so the user knows they’ve earned the badge, or at least something to take them somewhere if they’ve already earned it?
]]>