Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Totals for Sponsorkliks

Description

Deze plugin toont het totaalbedrag dat verdiend is via SponsorKliks.
Het totaalbedrag kan op twee manieren worden getoond:

  • Via een shortcode op elke willekeurige plek op pagina’s of berichten;
  • Via een widget die in een sidebar of een footer getoond kan worden.

Gebruik plugin

Een shortcode
Bij gebruik van de shortcode is de syntax

[totals-for-sponsorkliks club="12345"]

waarbij het eigen clubnummer moet worden ingevuld. Standaard wordt het totaalbedrag getoond met Euro-teken er voor. De plugin houdt rekening met de standaard numerieke notatie van de local settings. Deze shortcode kan overal op de website geplaatst worden, in berichten of op pagina’s.

Voorbeeld:

Onze club heeft dankzij jullie [totals-for-sponsorkliks club="12345"] verdiend

Extra!
Er kunnen ook andere bedragen worden getoond, door aan de shortcode de parameter ‘commission’ toe te voegen. De bijbehorende bedragen kunnen interessant zijn om in verslag te tonen. De beschikbare commissie-codes zijn: transferred, qualified, pending en total.

Voorbeeld:

Er is nog [totals-for-sponsorkliks club="12345" commission="pending"] in afwachting van goedkeuring

Een widget
De widget kan na activatie van de plugin in de widgetlijst worden gevonden. Standaard zal rekening worden gehouden met de lay-out die het actieve thema gebruikt.

  • Vul het clubnummer in die u gekregen heeft van SponsorKliks
  • Vul een titel in voor de widget die op de gekozen plek zal worden getoond
  • Kies er wel of niet voor om het SponsorKliks logo te tonen in de widget
  • Het totaalbedrag in euro’s zal worden getoond. Vul een tekst in die voorafgaat aan het getoonde bedrag

Captures d’écrans

Installation

  1. Installeer de plugin door gebruik te maken van het WordPress plugin scherm en kies ‘Nieuwe plugin’
  2. Activeer de plugin op de plugin pagina

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Totals for Sponsorkliks » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Totals for Sponsorkliks” a été traduit dans 1 locale. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Totals for Sponsorkliks » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

V0.1.5

The widget showed ‘transferred’ amount only, which actually should be ‘total’. Added a dropdown box where you can
select what commission type you want to show.

V0.1.4

A nested function that converted money string to float, was called several times and therefor redeclared.
Moved the nested function to make it standalone

V0.1.3

Changed the result of the default call to SponsorKliks API. Default commission_type was « transferred », now set to « total ».
Reduced the commission_types to 4: « transferred », « qualified », « pending » and « total », due to the fact that « qualified » actually contains « accepted », « qualified » and « sponsorkliks ».
This solution is more in line with the way SponsorKliks itself propagates its values.

V0.1.0

First version of plugin