//php print_r($this); ?>
If you are planning to use myClub in an iFrame on your existing web site, there is an issue with this in Safari on a Mac. All other browsers should work fine without issues.
To fix this issue, the code below should be copied into your existing web site join.php page. This code is appending a hidden iframe and auto-posting to a page on our site where we start a session, then when the user links from your join page to ours, the session will already bet set and Safari will use the existing session.
The first line of the code adds a reference to the jQuery library from Google’s CDN so if you already have jQuery embedded in your page you can skip it.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> var MOSO = MOSO || {}; MOSO.isSafari = (/Safari/.test(navigator.userAgent)); MOSO.firstTimeSession = 0; MOSO.SubmitSessionForm = function() { if (MOSO.firstTimeSession == 0) { MOSO.firstTimeSession = 1; $("#moso_sessionform").submit(); } } $(document).ready(function() { if (MOSO.isSafari) { $("body").append('<iframe id="moso_sessionframe" name="moso_sessionframe" onload="MOSO.SubmitSessionForm()" src="https://{yoursitename}.mosoportal.com/blank.aspx" style="display:none;"></iframe><form id="moso_sessionform" enctype="application/x-www-form-urlencoded" action="https://{yoursitename}.mosoportal.com/startsession.aspx" target="moso_sessionframe" method="post"></form>'); } }); </script>
myClub | ||
---|---|---|