Status
Not open for further replies.

impaktZygo

Customer
Is there a way to specify where an instance of a shoutbox appears? We are looking for a way to put a specific instance in a forum on the site.

Thoughts?

Thanks!
 
To put vBShout in a custom location, do the following:


Step 1: AdminCP -> DBTech - vBShout-> Instance Management -> [Edit].

Step 2: Change the Auto-Display Shoutbox setting to Disabled.

Step 3: Write down the the Varname setting. For the default shoutbox, it's instance1. The rest of this guide will assume you replace instance1 with the actual Varname if it is different.

Step 4: Enter the Style Manager and add either {vb:raw show.vbshout_instance1} (vB4) or {$show[vbshout_instance1]} (vB3) to the templates you wish the shoutbox to appear in.


Follow these steps as described and you will have total control over the position of the Shoutbox.
Please note that some locations may not work as intended on vBulletin 3.8, and also note that it is not designed to go in the Forum Blocks side-bar (vBulletin 4).

Hope that helps :)
 
Got ya, one question. Do you have a recommendation for what template I would use for this instance if I wanted it to only show on forum ID 39?
 
And for the specific forum, you would need to wrap the instance in a conditional.

Code:
<vb:if condition="$forum[forumid] == [COLOR="#FF0000"]x[/COLOR]">{vb:raw show.vbshout_instance[COLOR="#0000FF"]X[/COLOR]}</vb:if>

x being your forum id

X being your instance id
 
In the FORUMDISPLAY template, and this is the correct conditional.

Code:
<vb:if condition="$foruminfo[forumid] == [COLOR="#FF0000"]x[/COLOR]">{vb:raw show.vbshout_instance[COLOR="#0000FF"]X[/COLOR]}</vb:if>
 
Status
Not open for further replies.

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,174
Customer rating
5.00 star(s) 1 ratings
Back
Top