Also, I'm a bit of a n00b to editing but I believe I've found something..
For 2.2.4 For Step 2 In usergroup.php, you want to find:
Quote:
if ($HTTP_POST_VARS['action']=="insert") {
$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,cancontrolpanel,canmo difyprofile,canviewmembers,canview,showgroup,canse arch,canemail,canpostnew,canmove,canopenclose,cand eletethread,canreplyown,canreplyothers,canviewothe rs,caneditpost,candeletepost,canusepm,canpostpoll, canvote,canpostattachment,ismoderator,canpubliceve nt,canpublicedit,canthreadrate,cantrackpm,candenyp mreceipts,maxbuddypm,maxforwardpm,canwhosonline,ca nwhosonlineip,cangetattachment)
VALUES (NULL,'".addslashes($title)."','".addslashes($user title)."',$cancontrolpanel,$canmodifyprofile,$canv iewmembers,$canview,$showgroup,$cansearch,$canemai l,$canpostnew,$canmove,$canopenclose,$candeletethr ead,$canreplyown,$canreplyothers,$canviewothers,$c aneditpost,$candeletepost,$canusepm,$canpostpoll,$ canvote,$canpostattachment,$ismoderator,$canpublic event,$canpublicedit,$canthreadrate,$cantrackpm,$c andenypmreceipts,$maxbuddypm,$maxforwardpm,$canwho sonline,$canwhosonlineip,$cangetattachment)");
|
And replace it with:
Quote:
// Star Hack
if ($HTTP_POST_VARS['action']=="insert") {
$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,starlevel,starimg,can controlpanel,canmodifyprofile,canviewmembers,canvi ew,cansearch,canemail,canpostnew,canmove,canopencl ose,candeletethread,canreplyown,canreplyothers,can viewothers,caneditpost,candeletepost,canusepm,canp ostpoll,canvote,canpostattachment,ismoderator,canp ublicevent,canpublicedit,canthreadrate,cantrackpm, candenypmreceipts,maxbuddypm,maxforwardpm,canwhoso nline,canwhosonlineip)
VALUES (NULL,'".addslashes($title)."','".addslashes($user title)."','$starlevel','$starimg',$cancontrolpanel ,$canmodifyprofile,$canviewmembers,$canview,$canse arch,$canemail,$canpostnew,$canmove,$canopenclose, $candeletethread,$canreplyown,$canreplyothers,$can viewothers,$caneditpost,$candeletepost,$canusepm,$ canpostpoll,$canvote,$canpostattachment,$ismoderat or,$canpublicevent,$canpublicedit,$canthreadrate,$ cantrackpm,$candenypmreceipts,$maxbuddypm,$maxforw ardpm,$canwhosonline,$canwhosonlineip,$cangetattac hment)");
// Star Hack End
|
Tell me If I'm wrong, but I noticed that 2.2.4 has $cangetattatchment, and I knew that was at least somewhat important..
|