2014-01-10, 12:54 PM
you can try adding global $db; in a new line after function groupinvite_install(){ (looks like below)
function groupinvite_install(){
global $db;
$db->query("CREATE TABLE IF NOT EXISTS `".TABLE_PREFIX."usergroup_invites` (