
03-15-2007, 10:26 AM
|
|
|
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by lierduh
If you want to have shoutbox on all forumdisplay pages:
1) Change the hook location for 'vBShout [Template Alteration]' to: forumdisplay_complete
2) Edit the plugin code for 'vBShout [Template Alteration]'
Find: '$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);'
Replace it with:
$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);
This is a quick and dirty hack. The shoutbox will only show up under navbar!
3) If you want the shoutbox to show up only in certain forums:
a. add
if ($forumid ==13)
{
In the beginning of the above plugin. 13 is the forum ID you want the shoutbox to show.
b. add
}
in the end of the code.
|
This is really cool in theory, but I'm sorry to say, it didn't work for me.
|