ok guys I need help ASAP.
I added a new button for a link to the chatroom I want to add. Here is the code I added:
<!-- Chat -->
<td width="80">
<table width="80" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_chat.gif);">
<a href="$vboptions[bburl]/" rel="nofollow"
onmouseover="JSFX.fadeIn('chat')"
onmouseout="JSFX.fadeOut('chat')"><img
src="$stylevar[imgdir_misc]/bouton_chat.gif" name="chat" width="80" height="40" border="0" class="imgFader" id="chat" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Chat -->
Now, here are the chat company's instructions. I don't understand how to do this since I am on a custom style.
Step 8.1.
Scroll (or use your browser's Find feature) to find the following code:
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Just below the above code, add the following:
<!-- START NEW PARACHAT CODE -->
<td id="chat" class="vbmenu_control">
<a href="$show[nojs_link]#usercptools">$vbphrase[parachat_link]</a> <script type="text/javascript"> vbmenu_register("chat"); </script></td>
<!-- STOP NEW PARACHAT CODE -->
Step 8.2.
Scroll (or use your browser's Find feature) to find the following code:
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>
Just below the above code, add the following:
<!-- START NEW PARACHAT CODE -->
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['member']">
<!-- chat menu -->
<div class="vbmenu_popup" id="chat_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_control"><a href="chat.php?$session[sessionurl]">$vbphrase[parachat_embed]</a></td></tr>
<tr><td class="vbmenu_control"><a href="chat.php?$session[sessionurl]&do=popup" target="parachat" onClick="window.open('chat.php?$session[sessionurl]&do=popup', 'parachat', 'width=600,height=400,status=no,scrollbars=no,menu bar=no,resizable=yes'); return false"> $vbphrase[parachat_popup]</a></td></tr>
</table>
</div>
<!-- / chat menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
<!-- STOP NEW PARACHAT CODE -->
Then, after that, I want to be able to display the number of users chatting. I need to do that:
Double-click on navbar to edit the template. Scroll (or use your browser's Find feature) to find the following code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
Just below the above code, add the following code.
<!-- New ParaChat Code -->
<br>$vbphrase[parachat_chatting]
<!-- Begin Counter Code -->
<applet codebase="http://host7.parachat.com/pchat/applet"
archive=counter.jar code="count.ChatCounter.class" width=20 height=10>
<param name="query.Site" value="$vbphrase[parachat_siteid]">
<param name="ui.bg" value="E1E4F2">
<param name="ui.fg" value="000000">
<param name="ui.FontSize" value="12">
<param name="ui.FontName" value="Arial">
Sorry, your browser is not Java enabled, please visit
<a href="http://www.parachat.com/faq/java.html">our java support pages
</applet>
<!-- End Counter Code -->
<!-- End New Code -->
Can someone help?
|