No announcement yet.

Hook the SHOWTHREAD template..

  • Filter
  • Time
  • Show
Clear All
new posts

  • Hook the SHOWTHREAD template..

    Okay i would like for some reasons to customize the postbit for some special forums, so i do

    PHP Code:
    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
    PHP Code:
     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 ..

  • #2
    Fort help with custom coding please ask over at


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.