Quote:
Originally Posted by sv1cec
Somehow, I do not believe that these are the only locations that need to be changed. Did you check the plugins too?
|
yeah didn't find any that uses those RunError() or SendPM() i did found plugins that use warn_notify and warn_calculations but now John ... something else.I've found that if you want to remove a warning uing the "complete removal" option it will fail to function because the items are incorrectly linked i mean this code
PHP Code:
$cy="<a href='{$vbulletin->options[bburl]}/$admincpdir/admin_warn.php?act=completeremove&id={$warn[wid]}&userid={$warn[wuserid]}&uname={$warn[wusername]}&wname={$warn[warn_name]}&postid={$warn[warned_post]}&orderstring={$order}'>Complete Removal</a>";
$admincpdir variable doesn't excist anymore in 3.5.x this could be solved by
PHP Code:
$admincpdir=$vbulletin->config['Misc']['admincpdir'];
$cy="<a href='{$vbulletin->options[bburl]}/$admincpdir/admin_warn.php?act=completeremove&id={$warn[wid]}&userid={$warn[wuserid]}&uname={$warn[wusername]}&wname={$warn[warn_name]}&postid={$warn[warned_post]}&orderstring={$order}'>Complete Removal</a>";
now those links will work again as they should