SiteKiosk: Bug Fix for critical error
On kiosk machines with SiteKiosk versions earlier than 8.7 under Windows 7, the system will in most cases become unusable after Internet Explorer 10 is installed. The affected SiteKiosk versions are 7.1 - 8.6. Any Windows 7 computers that have automatic updates enabled will be affected because Internet Explorer 10 is installed automatically as part of Windows updates.

All software resellers are strongly encouraged to forward this information to the operators of the kiosks. PROVISIO has no information about the end user and therefore cannot directly inform them!

Additional information...
Software Customization: SiteCafe deposit/add funds event
Article ID: 17725
ArticleType d´article: Software Customization
Niveau: Fermé
Langue: Anglais
Date de création: 15/03/2012 11:31
Dernière modification: 12/04/2012 14:57
Produit: SiteCafe
Version: -
Adressages: 5356
Annexe: -
Créé par: Anonymous (User)
Modifié par: Anonymous (User)
Description
Hello, I'm looking for a way to capture the even when user receives money from sitcafe manage or enter prepaid code.

Something like: SiteKiosk.Plugins("SiteCash").OnInpayment
which works perfect for cctalk devices, but not for SiteCafe. Is there any way to capture the deposit when using prepaid code and/or login/password?
OnBeginSession was looking good until I found that it always carry the balance from the last session and I can't find any way to identify if it's a new deposit.
Commentaires (1): SiteCafe deposit/add funds event
Re: SiteCafe deposit/add funds event PROVISIO\olbrich (Provisio) 15/03/2012 14:37
Hello,

I am sorry but there is no direct event for this case.

But you may have a look at the “OnDisplayTextChange Event“ which fires when the text displayed in the progress bar that shows the remaining credit changes
http://www.provisio.com/en-US/Help/ObjectModel/sitekiosk_object/sitecash_ondisplaytextchange_evt.html

Then you can add a function which calculates the added balance and put it into the log file (or you add any other functionality you like).

Here an example (without any further support) that you can use as external script:

SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
var gk_before = SiteCafe.Balance;
var gk_now;

SiteKiosk.Plugins("SiteCash").OnDisplayTextChange = ODTChange;
function ODTChange()
{
gk_now = SiteCafe.Balance;
if (gk_now > gk_before)
	{
	var gk_diff = gk_now - gk_before;
	SiteKiosk.Logfile.Notification("Added:" + gk_diff);
	}
gk_before = gk_now;
}

The example creates a log file entry displaying the added credit.
Installation:
- Copy & Paste the lines into an editor and then savie it as JS file (e.g. Add.js) to the folder “…\SiteKiosk\Html”-
- Then add the JS file to the SiteKiosk configuration (Browser Designs-->Advanced).

Regards,
Michael Olbrich
© 1996-2013 PROVISIO. Tous droits réservés. Mentions légales Contact Conditions générales d´affaires Protection des données