View Full Version : Chatbox to appear in a thread / its own page?
anthroforum
11-22-2008, 02:50 PM
To save on server load, how would I have a chatbox exist only on one page of the forum, via a clickable link, rather than consuming resources on the index page, where many users may not be interested in the chat facility.
TheLastSuperman
11-22-2008, 03:07 PM
Hmm, I like that idea... I might explore later on via a DL of a current chatbox etc IF it has re-usable code I'll provide a link. (Later as in not sure when I'll have time so basically think out loud lol).
Bilderback
11-22-2008, 03:48 PM
To save on server load, how would I have a chatbox exist only on one page of the forum, via a clickable link, rather than consuming resources on the index page, where many users may not be interested in the chat facility.
Add some form of conditional around the chatbox display
<if condition="$forum[forumid] == X">CHATBOX</if>
<if condition="in_array($forum['forumid'], array(1,2,3,6))">CHATBOX</if>
Good Article here (http://forum.vbulletinsetup.com/f18/vbulletin-template-conditionals-list-2185.html)
There are also chatbox addons which have full page views.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.