Beschrijving
GamiPress – Button let’s you add activity triggers filtered by button clicks adding new activity events on GamiPress!
Note: This add-on is designed to award users for button clicks, if you want to award them for link clicks, then you should check the GamiPress – Link add-on.
Nieuwe gebeurtenissen
- Click any button: When a user clicks on any button.
- Click a button with a specific ID: When a user clicks on any button with a specific identifier (button id attribute).
- Click a button with a specific Class: When a user clicks on any button with a specific class (button class attribute).
- Krijg een klik op een knop: wanneer de auteur van het bericht/reactie op een knop klikt.
- Get a click on a button with a specific ID: When the post/comment author gets clicks on any button with a specific identifier (button id attribute).
- Get a click on a button with a specific Class: When the post/comment author gets clicks on any button with a specific class (button class attribute).
Important: The unique buttons that trigger this activities are the buttons generated by [gamipress_button] shortcode.
Installatie
Vanuit WordPress back-end
- Navigeer naar Plugins -> Nieuwe toevoegen.
- Click the button “Upload Plugin” next to “Add plugins” title.
- Upload the downloaded zip file and activate it.
Directe upload
- Upload het gedownloade zipbestand naar je
wp-content/plugins/
map. - Pak het geüploade zipbestand uit.
- Navigeer naar het plugins menu in je WordPress beheer gebied.
- Activeer deze plugin.
FAQ
-
[gamipress_button] shortcode ondersteunt:
- label: de tekst van het knoplabel.
- type: The button type. Accepts ‘submit’, ‘button’ or ‘reset’
- id: de identifier van de knop.
- klasse: de knop CSS klassen.
- form: The button form attribute. If you don’t know exactly what is the purpose of this attribute leave it blank.
- name: The button name attribute. If you don’t know exactly what is the purpose of this attribute leave it blank.
- value: The button value attribute. If you don’t know exactly what is the purpose of this attribute leave it blank.
- url: The URL to redirect the user after click the button.
Example:
[gamipress_button type="submit" label="Click here!" id="my-button" class="awesome-buttons one-class other-class" url="https://gamipress.com/"]
-
[gamipress_button] shortcode has the attribute “url” that will redirect the user after click the button.
Voorbeeld:
[gamipress_button label="GamiPress website" url="https://gamipress.com/"]
-
Yes, contact to your theme author to meet the CSS classes that your theme uses and add them to the “class” attribute.
-
Yes, contact to your page builder author to meet the CSS classes that page builder uses and add them to the “class” attribute.
-
Can this plugin work with custom elements?
-
Yes! GamiPress – Button is looking for elements with the class
gamipress-button
, you can make it work with a custom element using the following code:<div id="{optional-id}" class="gamipress-button {optional-class} {optional-class-2}">Click Here!</div>
If you set an id attribute, triggers limited by specific ID will be triggered too.
Also, if you define more classes to the class attribute, triggers limited by specific class will be triggered too.
Beoordelingen
Bijdragers & ontwikkelaars
“GamiPress – Button” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “GamiPress – Button” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0.5
- Nieuwe functies
- Added the “url” attribute to the [gamipress_button] shortcode.
- Added the “URL” option to the Button block and widget.
- Verbeteringen
- De onclick attribuut/optie verwijderd wegens veiligheid.
1.0.4
- Verbeteringen
- Added the label attribute on the shortcode generated on the requirements UI.
1.0.3
- Fouten opgelost
- Opgelost type op de onderscheidingen engine controle.
1.0.2
- Fouten opgelost
- Fixed undefined text on the shortcode preview.
1.0.1
- Nieuwe functies
- Een shortcode sectie toegevoegd aan de vereisten UI om de vereiste shortcode beter te begeleiden.
- Verbeteringen
- Performance improvements by limiting the number of requirements to check to only those who match with the event parameters.
1.0.0
- Initiële versie.