Yes, there seems to be a bug in the instructions for the file includes/functions_showthread.php. It's located in that part of the code, which decides if the Warn XYZ button and View XYZ's Warnings button will be shown. It's not that you can't alert the user, it's that the buttons do not show.
Until a better fix is provided, in the next version, please use the following:
Open includes/functions_showthread.php and find:
PHP Code:
$useradmin = preg_match("/^(.*|)?$bbuserinfo[usergroupid](|.*)?$/",$vboptions['warn_admingroups']);
$postadmin = preg_match("/^(.*|)?$post[usergroupid](|.*)?$/",$vboptions['warn_admingroups']);
$usermod = preg_match("/^(.*|)?$bbuserinfo[usergroupid](|.*)?$/",$vboptions['warn_modgroups']);
$postmod = preg_match("/^(.*|)?$post[usergroupid](|.*)?$/",$vboptions['warn_modgroups']);
$usersmod = preg_match("/^(.*|)?$bbuserinfo[usergroupid](|.*)?$/",$vboptions['warn_smodgroups']);
$postsmod = preg_match("/^(.*|)?$post[usergroupid](|.*)?$/",$vboptions['warn_smodgroups']);
Replace that with:
PHP Code:
$admgroups=explode("|",$vboptions['warn_admingroups']);
$modgroups=explode("|",$vboptions['warn_modgroups']);
$smodgroups=explode("|",$vboptions['warn_smodgroups']);
if($admgroups[0])
{
foreach($admgroups as $adm)
{
if ($adm==$bbuserinfo['usergroupid'])
{
$useradmin=1;
}
}
}
if($modgroups[0])
{
foreach($modgroups as $mod)
{
if ($mod==$bbuserinfo['usergroupid'])
{
$usermod=1;
}
}
}
if($smodgroups[0])
{
foreach($smodgroups as $smod)
{
if ($smod==$bbuserinfo['usergroupid'])
{
$usersmod=1;
}
}
}
if($admgroups[0])
{
foreach($admgroups as $adm)
{
if ($adm==$post['usergroupid'])
{
$postadmin=1;
}
}
}
if($modgroups[0])
{
foreach($modgroups as $mod)
{
if ($mod==$post['usergroupid'])
{
$postmod=1;
}
}
}
if($smodgroups[0])
{
foreach($smodgroups as $smod)
{
if ($smod==$post['usergroupid'])
{
$postsmod=1;
}
}
}
Please apply the same change in the file member.php
Let me know if everything works now.
Rgds and tnx
Update
Please check the sticky thread, I created with instructions on how to permanently fix the problem. If you have used the above instructions, first reverse them and then apply the correct ones. If you have a problem, please let me know.