VSys One: Volunteer Management Software

Previous Topic

Next Topic

Book Contents

Book Index

Mobile Browser Rules

Individual items on VSys Live pages can show or hide themselves based on whether the browser in use is a mobile one or not. This allows you to, for example, simplify a page intended for a mobile browser by hiding extraneous graphics, Facebook links, and other content. VSys Live uses the "User-agent" string sent by every browser to determine if that browser is running on a mobile device or not. The rules for this aren't hard-coded into VSys Live: instead, you can define your own rules and override the built-in ones.

What VSys Live does here to determine if a browser is mobile or not is:

  1. Looks at this list in order, with the lowest-numbered item coming first.
  2. Compares each item's Comparison to the "User-agent" value sent by the browser in request headers.
  3. When it finds a match, and if the Result is not "(no result)", VSys uses the Result field and stops searching.

(The Description field is only for your purposes; VSys doesn't look at that itself.)

In the example above, we're considering anything that has "android", "webos", "funky", "iphone", "blackberry" or "windows phone" to be mobile, but not "ipad" since its display is usually more than big enough to show the site's full content.

Comparison is actually a regular expression. For most purposes here you can just use simple text, but you can also get very creative if you want to.

To determine if a browser is eligible for VSys Live Kiosk reports, VSys:

  1. Looks at this list in order, with the lowest-numbered item coming first.
  2. Compares each item's Comparison to the "User-agent" value sent by the browser.
  3. When it finds a match, and if the VSys Live Kiosk reports is not "(no result)", VSys uses the VSys Live Kiosk reports value and stops searching.

Mobile browser rules are global, they don't apply to just one specific VSys Live site.

See Also

Global Options

Advanced Feature Enabling

Incoming Message Types for VSys Live

IP Geolocation Rules

Job Signup Restrictions

Job Time Periods

Login Settings