ok i fixed this myself. I have to change a little for the sql query in the "e-steki Karma profile field part 2" to get rid of this error for some reason
Code:
$isthere = mysql_num_rows($db->query_read("SELECT karma FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND karma=1"));
to
Code:
$isthere = $db->num_rows($db->query_read("SELECT karma FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND karma=1"));