i installed this hack https://vborg.vbsupport.ru/showthread.php?t=59617&highlight=read+user+pm
but how do i make it so all admins can read and not just super admins
Marco van Herwaarden
01-19-2005, 12:39 PM
Change in pm.php the following line:
if (!in_array($bbuserinfo['userid'], preg_split('#\s*,\s*#s', $superadministrators, -1, PREG_SPLIT_NO_EMPTY)))
And replace by:
if ((!in_array($bbuserinfo['userid'], preg_split('#\s*,\s*#s', $superadministrators, -1, PREG_SPLIT_NO_EMPTY))) AND ($bbuserinfo['usergroupid'] != 6))
This is untested, but should work.
Next time please ask your question in the support thread of that hack.
PS Are you 100% sure that this is a good move?
well i realy need it so admins can read
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.