Your users are now able to create invitations and go on Virtual Dates. If you are having trouble with your installation, please visit our "Having Trouble?" section to ensure your site is 100% compliant with our product.
If you were comfortable with the installation and would like to further customise the experience for your users, we offer additional features you may like to take advantage of. The below features are completely optional, but provides some functionality you may find useful.
Online User List
Our database keeps up to the minute online stats for all users who are currently available for a Virtual Date on your site. Providing a section where users can view only available daters allow for convenience and ease of use - thus greater usage, time on site, and overall dating success!
<Users>
<OnlineUsers>
<OnlineUser>
<UserID>347854</UserID>
<DatingStatus>Online</DatingStatus>
<Requesting />
<RequestedBy />
</OnlineUser>
<OnlineUser>
<UserID>546285</UserID>
<DatingStatus>Online</DatingStatus>
<Requesting />
<RequestedBy />
</OnlineUser>
</OnlineUsers>
</Users>
In addition to a list of all users online, we can also provide information on one specific user’s availability if you so desire.
To learn how to see an XML list for online users, please contact us at support@omnidate.com.
Custom Hover Text
By default, when you hover your mouse over the invitation buttons, each state provides a different message.
| Style Name |
Default Hover Text |
| online |
Invite This User on a Virtual Date Now! |
| inactive |
You cannot Invite this User right now. |
| dating |
This User is on a Virtual Date. |
| offline |
Unavailable for a Virtual Date. Message Them Now to Schedule a Date. |
Not sure you like the wording? You can change it yourself copying the following code and place it in inside the <body> of your site HTML, before the Omni_Initialize() function.
<script type="text/javascript">
var MyText = new Object;
MyText.online = " "; <!-- Online State Text -->
MyText.inactive = " "; <!-- Inactive State Text -->
MyText.dating = " "; <!-- Dating State Text -->
MyText.offline = " "; <!-- Offline State Text -->
</script>
Once you have filled in the text for each of the button states, take the name of the Object you have defined and pass it into the Omni_Button() function without the surrounding quotes, to the 'hover' parameter:
<script type="text/javascript">
if (typeof(Omni_Button) != 'undefined') {
Omni_Button('userid',' ', 'hover',MyText);
}
</script>
Change Avatar Button
Users are able to select and customize their Virtual Dating Avatar through our user-friendly interface that pops over your existing content without disturbing your flow or layout. To display a button that will trigger that popover, use the following function call:
<script type="text/javascript">
if (typeof(Omni_Avatar) != 'undefined') {
Omni_Avatar(
'style',' ',
'gender',' '
);
}
</script>
The gender only needs to be specified for buttons styles that contain a male/female version. Passing in 'male' or 'female', will show the appropriate button where applicable. Failing to pass in gender will result in the default button being shown.
The available style values are shown in the chart:
| Style Name |
Male/Default |
Female |
| Avatar01 |
 |
 |
Prompt Non-Premium Members
Some client sites prefer to use Virtual Dating as a means to encourage their users to upgrade their accounts to a premium membership. We have built in some functionality to allow you to do so.
To flag a Non-Premium users, pass values 'premium' (for regular page redirection) or 'premiumpop' (for a popup style registration) to Omni_Initialize(), followed by the URL to your registration page. When a user attempts to initiate an invitation, they will be prompted with a popover reminding them to register for a premium account in order to have access to virtual dating and continue that invitation.
<script type="text/javascript">
window.onload = function () {
if (typeof(Omni_Initialize) != 'undefined') {
Omni_Initialize(
'userid','347854',
'username','Jessi123',
'gender','female',
'account','TESTACCOUNT',
'premiumpop','http://www. .com/RegPremium.aspx'
);
}
};
</script>
As well as disallowing non-premium users to initiate invitations, the same prompt will appear after the date as well for non-premium users who were invited by premium members**
**Typically the best way to use a premium-required setup is to allow premium members to invite ANY user on a date (non-premium included), and restrict non-premium users from initiating invitations by using the 'premium'/'premiumpop' value.
Custom Non-Premium Member Prompt
If you wish to customize the wording of the premium membership popover, we have built that ability into our application as well!
Along with passing the values 'premium' or 'premiumpop' to the Omni_Initialize() function, also passing the name of a file containing "Well-Formed XML" after the value 'premiumxml' will push that custom XML content into the popover box. The name of the file passed MUST reside on the same domain-name as the page the user will be viewing it on. You do not pass the domain name, as it will be picked up automatically, just the relative file name, as below:
<script type="text/javascript">
window.onload = function () {
if (typeof(Omni_Initialize) != 'undefined') {
Omni_Initialize(
'userid','347854',
'username','Jessi123',
'gender','female',
'account','TESTACCOUNT',
'premiumpop','http://www. .com/RegisterPremium.aspx',
'premiumxml','xmlfiles/MyCustomDesign.xml'
);
}
};
</script>
HTML is allowed within the XML tags, but must be wrapped inside of the character data tag's opening <![CDATA[ and closing ]]>
The box itself will always use the same general layout and design, but will allow custom wording. The popover lays out like this:

The XML file that would result in the above-right design would look like this:
<?xml version="1.0" encoding="utf-8" ?>
<premium>
<maintext>
<![CDATA[Please upgrade your account to invite someone on a
<a href='javascript:MoreInfo(\"1\")'>virtual date</a> now.<br />
<img src='http://www.omnidate.net/images/screen2a.jpg' />
<img src='http://www.omnidate.net/images/asseenon.gif' />]]>
</maintext>
<subtext>
<![CDATA[<a href='javascript:MoreInfo("2")'>Choose your virtual
character now</a>]]>
</subtext>
<question>Would you like to register?</question>
<button-yes>Yes, Please</button-yes>
<button-no>Maybe Later</button-no>
</premium>
Turning Sound Off By Default
Our product features fully licensed music by independent artists from around the globe that users will listen to as minimum volume background ambiance to enhance their dating experience. However, you may wish to have users start the experience with music turned off by default. To do so, include the 'sound','false' parameters to the Omni_Initialize() function:
<script type="text/javascript">
window.onload = function () {
if (typeof(Omni_Initialize) != 'undefined') {
Omni_Initialize(
'userid','347854',
'username','Jessi123',
'gender','female',
'account','TESTACCOUNT',
'sound','false'
);
}
};
</script>
In addition to turning off the music and alerts within the date itself, the familiar "You have been invited on a date", will change to a faint digital beep so users will know they have been invited on a Virtual Date.
Virtual Dating Information Center
If you are looking for a way to tell you users about the benefits of Virtual Dating, you may like to setup a Virtual Dating Information Page. We can provide you the necessary HTML, complete with images and language that your users can understand. Email support@omnidate.com for details or resources.
We are always looking for ways to make our product better. Different sites have different needs, and we would like to accommodate you as best we can. If you have any idea suggestions, be sure to drop us a line and let us know how we can make our product work for your business.
We're always glad to assist with any installation questions and can walk you through an install or provide example scripts where necessary. Call us at (416) 623-7445 or email support@omnidate.com.