PDA

View Full Version : Can the following mod


as-i-said
12-30-2009, 10:37 AM
be used by regular users, has anyone had experiance of it being used by regular users?

https://vborg.vbsupport.ru/showthread.php?t=92815

I fear`my PM system has been compromised, want to check before i put a warning up

one point, im using 3.8

kall
12-30-2009, 11:29 AM
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)))
{
print_cp_message('You have to be a super administrator to read private messages, this can be set within config.php');
}
Not by the looks of the code, unless that 'regular user' happens to also be a Super Admin.

as-i-said
12-30-2009, 02:43 PM
thanks Kal, i didnt think so, they would also need to upload to the sever