Back to Programming Articles

How To Move anything, including shoutboxes, into any forum
by HPIA 29 Oct 2006

I have asked so many people and the task was a simple if condition code and moving a template. It took me forever to figure out, but here I am.

First, go to your vbshout template. Copy it all.

Now go to the FORUMDISPLAY template. You can put it in two places. You can put it in many places: exactly under $navbar, or exactly right above $forumbits. I recomend right above $forumbits. Fill in the code then past that down wherever you want it to show up in your forum.

Code:
<if condition="$forumid==XXX">
Code here...
</if>
Change the XXX to the forum id you want to move this to.

This will work for anything, not just shoutboxes, cboxes, etc. But I thought I'd post this up since no one could tell me the answer.

Plus, now the vbshout template is no longer needed. You can delete the template if you want. If you do delete it, the shoutbox on the main index will then disappear, which you most likely want.

I am not sure, but there is probably a way to just put like $vbshout instead of deleting the current template and pasting that long code, but I am not a coder, and couldn't tell you that. I will do some studying, as I have a hunch.

Enjoy .

vblts.ru supports vBulletin®, 2022-2024