All this "look on this page for the answer" stuff is confusing.
Xenon, I have this phrase:
Code:
// at first check if there is at least the possibility to be a doublepost
if ($custcond AND $type != 'thread'
AND $dp_threadinfo['lastpost'] > TIMENOW - $vbulletin->options['xen_dp_timespan'] * 60
AND $dp_threadinfo['lastposter'] == $vbulletin->userinfo['username']
AND $dataman->fetch_field('attach') == 0)
{
If I change that to:
Code:
// at first check if there is at least the possibility to be a doublepost
if ($custcond AND $type != 'thread' AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))
AND $dp_threadinfo['lastpost'] > TIMENOW - $vbulletin->options['xen_dp_timespan'] * 60
AND $dp_threadinfo['lastposter'] == $vbulletin->userinfo['username']
AND $dataman->fetch_field('attach') == 0)
{
That will disable it for mods/admins, correct?
Edit: Yep, that seemed to do it.