Quote:
Originally posted by hellsatan
So what exactly can you do then?
Log in as the user and do exactly what they can?
Can you login as other Admins or Mods?
Satan
|
You can login as any user you want.
Quote:
Originally posted by malc
great hack ... but don't work
|
Try adding the "if ($action=="loginas"){" - Code before "cpheader();" at the beginning of the file (near line 42)
Quote:
Originally posted by hellsatan
Is there any way to restrict this function to just Userid 1?
Or is it already?
Satan
|
All Admins can do that. But for a quick solution you can add the following code directly after "if ($action=="loginas"){" (not tested)
PHP Code:
if($bbuserinfo[userid]!=1)show_nopermission();