Register  |  Login
WhosOn
 
Start Chat Click To Chat Now

This is a demonstration of the WhosOn DNN Module working in a DotNetNuke Page. The HTML displayed in this module is completely customisable.

Welcome visitor from United States

Number of operators waiting to take support chats: 2

 
  Print    
     
Not what you were looking for?
 

If you just need information on Live Chat or Website  Tracking solutions, go to:

WhosOn Logo

Click here for a free trial    Download Free Trial Image

 

If you need advanced e-mail processing or auto-responders, look at:

Email2Db Logo

 
  Print    
     
Enter Title
 

 

send_whoson_info

send_whoson_info - Send tracking information to WhosOn

 

 

Description

array send_whoson_info ( string $gateway_addr, int $port, string $domain, string $authentication, array $parameters )

send_whoson_info sends tracking information to the WhosOn gateway operating on $gateway_addr:$port for $domain.

 

Parameters

gateway_addr

The IPv4 or DNS address of the WhosOn Gateway Server.

port

The port number of the Gateway HTTP connection.

domain

The domain that this tracking data is for, inside WhosOn.

authentication

The Authentication String of the WhosOn server.

params

 

Associative array of additional parameters acceptable by the code.

Parameter Name Parameter Type Parameter Meaning
page string The page or event to show in WhosOn.
Default: requested URI
response boolean

If FALSE, then no status information is retrieved from the Gateway.
Default: TRUE

username string Username or ID used for grouping hint on visitor.
Default: Cookie value
cost double Amount that this visit has cost
Default: 0
revenue double

Amount of revenue generated from visit
Default: 0

name string Name of visitor, recorded in contact information
company string Company name of visitor, recorded in contact information
phone string Phone number of visitor, recorded in contact information
email string Email Address of visitor, recorded in contact information
return_geoip boolean If TRUE then GeoIP information about the IP address is returned.
Default: FALSE

 

Return Value

Associative Array:

Index Name Value Type Value Meaning
operators_online integer The number of operators with status set to online currently logged on to the site.
chat_url string

Full URL to the chat page for this site.

chat_message string The message set in the site properties for online / offline status
script_url string Full URL to the javascript include for the invite.
country string

GeoIP Country

region string GeoIP Region (State / County)
city string GeoIP City
organization string Organization / Company Name / ISP Name
is_isp boolean TRUE if WhosOn thinks this organization is an ISP.
lattitude double Geographical Lattitude
longitude double Geographical Longitude

 Colour Code:

yellow: always returned.  0 if 'response' parameter == FALSE

green: returned when 'response' parameter != FALSE

purple: returned when return_geoip == TRUE

 
  Print