If you’re using Openinviter, you probably got this error while trying to use the Twitter service:
'Unable to get contacts'
Same thing will happen using the online demo.
This is due to a recent Twitter update forcing SSL on mobile version (The Openinviter plugin is not using the official API methods but a clever interaction with the mobile version of Twitter).
To fix that issue, just open the /OpenInviter/plugins/twitter.plg.php file and change all the http references to https.
Btw, this will also fix the send invitations problem (if you ever succeeded to get contacts).
It should work flawlessly ![]()




How to do a Chrome/Opera specific stylesheet
Tags: chrome specific css, chrome-only stylesheet, css conditional comments, css hacks, In-CSS hacks, Opera specific Css, opera-only stylesheet, specific stylesheets
You’ve probably wondered how to load specific CSS stylesheets for Chrome, Safari and Opera, some kind of <!–[if Chrome]> CSS conditional comment. Unfortunately these conditional comments work only with the IE Series.
There’s an easy PHP solution to recreate this behaviour for other browsers, the excellent browser detecting script remade by Chris Schuld, this script will let you use this kind of code in your XHTML views:
<?php $browser = $browser->getBrowser();?>
<?php if($browser == Browser::BROWSER_CHROME || $browser == Browser::BROWSER_SAFARI):?>
<link href=”css/chrome-safari.css” type=”text/css” rel=”stylesheet” />
<?php endif;?>
In this example I deliberately took Chrome/Safari: Using a very similar version of Webkit HTML Engine, both render quite closely web pages, so you can use the same CSS file for both of them.
There’s an exhaustive list of supported browsers, even the iPhone Safari version and Lynx
are handled by the script.