The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
say that you have a reserved forum, and you just wanted a vbchatbox within that section. is it possible to do? if so can you please share
|
|
#2
|
||||
|
||||
|
Have you successfully placed the code in a forum (using FORUMDISPLAY template)? If yes, then you could wrap a conditional such as:
Code:
<if condition="$foruminfo[forumid] == X"> <!-- Chat code here --> </if> |
|
#3
|
|||
|
|||
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=93097" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=93097</a>
could you tell me where to make modifications for this specific vbshout box, i'd really appreciate it |
|
#4
|
||||
|
||||
|
Ahh...You're using the Ajax version. I haven't installed it so I wouldn't know. You may want to request it at that specific thread.
|
|
#5
|
|||
|
|||
|
which version of you speaking of using? i havent installed anything as of yet, i was just looking around and came across that one
bump |
|
#6
|
||||
|
||||
|
I've briefly played with Chatbox Lite, though it's not currently installed on my board. The script is very light and straightforward.
|
|
#7
|
|||
|
|||
|
i installed the the chatboxlite, it works just fine. but the condition you suggested didnt work. anyother suggestion?
|
|
#8
|
||||
|
||||
|
I forgot to add an <else /> there. I've tested this on IE and Firefox:
In FORUMDISPLAY template under $navbar: Code:
<!-- CHATBOX LITE CONDITIONAL -->
<if condition="$foruminfo[forumid] == x">
<!-- Chatbox Lite -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatboxlite')"><img id="collapseimg_forumhome_chatboxlite" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatboxlite].gif" alt="" border="0" /></a>
<a href="#" onclick="return openChatboxLite()">$vbphrase[chatboxlite_chatbox]</a>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatboxlite" style="$vbcollapse[collapseobj_forumhome_chatboxlite]">
<tr>
<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox_lite.php?nofocus=1" width="100%" style="border: 0px"></iframe></div></td>
</tr>
</tbody>
</table>
<!-- / Chatbox Lite -->
<else />
</if>
<!-- / CHATBOX LITE CONDITIONAL -->
|
|
#9
|
|||
|
|||
|
that specific code isnt in nav, but in my forum template. i added it with no luck. you just wanted me to add <else />
bump!! |
|
#10
|
||||
|
||||
|
The $navbar is a template call that's inside the FORUMDISPLAY template. Please give me the template and code bit you've implemented.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|