DrHUS
11-20-2006, 10:41 AM
Okay i would like for some reasons to customize the postbit for some special forums, so i do
plugin Hook Location: postbit_display_complete
if ($this->forum['forumid']==XX){
$this->templatename = 'postbit_NEW';
}
(that work great and every thing is okay..)
Now i need to customize the SHOWTHREAD template for some forums,
so i do
plugin Hook Location: showthread_complete
if ($this->forum['forumid']==XX)
$this->templatename = 'SHOWTHREAD_NEW';
}
(i try this plugin, with all Hook Location of showthread .. ) but i get nothing ...
can you please help me ..
* i need to do heavy customization on SHOWTHREAD, so it's defecult to do this template side with conditioner .. and for that i decide to make new SHOWTHREAD template and so on ..
plugin Hook Location: postbit_display_complete
if ($this->forum['forumid']==XX){
$this->templatename = 'postbit_NEW';
}
(that work great and every thing is okay..)
Now i need to customize the SHOWTHREAD template for some forums,
so i do
plugin Hook Location: showthread_complete
if ($this->forum['forumid']==XX)
$this->templatename = 'SHOWTHREAD_NEW';
}
(i try this plugin, with all Hook Location of showthread .. ) but i get nothing ...
can you please help me ..
* i need to do heavy customization on SHOWTHREAD, so it's defecult to do this template side with conditioner .. and for that i decide to make new SHOWTHREAD template and so on ..