Dragonsys |
10-11-2010 06:57 PM |
I am trying to do this to hide/remove a section from the template, but it does not work for me...
My code for the plugin is this:
Code:
$find = '<div class=\"block\" id=\"foldercontrols\">';
$replace = '/* ';
$vbulletin->templatecache['pm_messagelist'] = str_replace($find, $replace . $find, $vbulletin->templatecache['pm_messagelist']);
$find2 = '<div id=\"pmlist_info\" class=\"floatcontainer\">';
$replace2 = '*/ ';
$vbulletin->templatecache['pm_messagelist'] = str_replace($find2, $replace2 . $find2, $vbulletin->templatecache['pm_messagelist']);
and I am using hook: private_complete
I have also tried private_start
but there is no change to what is displayed
This should hide the PM Folder Controls, but they are still displayed without change.
|