View Single Post
  #8 (permalink)  
Old 06-14-2007, 12:29 PM
lumpen5 lumpen5 is offline
Pligg Donor
 
Join Date: Mar 2007
Posts: 54
Thanks: 7
Thanked 1 Time in 1 Post
Force disable?

Hmmm.. I have tried looking for the code in:

cooment.php in libs and found this:

// does the person logged in have admin or god access?
$canIhaveAccess = 0;
$canIhaveAccess = $canIhaveAccess + checklevel('god');
$canIhaveAccess = $canIhaveAccess + checklevel('admin');
if($canIhaveAccess == 1){$smarty->assign('isadmin', 1);}

But i am not sure what to change it to. If the number for the anonymous user is say 50, would I replace the 0 with 50 (yes I tried it but nothing happened) and then edit somewhere else?

Seriously, if anyone has an idea and this is not a trade secret I would really appreciate some help.
Reply With Quote