Back to vBulletin 4.x Add-ons

8WayRun.Com - Addonchat Extension
Mod Version: 4.0.0, by Jaxel

vB Version: 4.0.x Rating: (0 vote - 0 average) Installs: 11
Released: 09 Sep 2010 Last Update: 09 Sep 2010 Downloads: 62
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files External Content  

The Official Addonchat Product is REQUIRED for this Extension
Official AddonChat Product

This is a simple mod I created to not only fill in the gaps of features in the official addonchat product for vBulletin, but also add a few features which are liked on my forum. You will need to make a few changes to some of the templates for Addonchat. I have asked AddonInteractive to make a few fixes in their files to support a mod like this; so hopefully less edits will be needed in the future.

Features:
  • Adds a "Who's Chatting" list ABOVE the forum, instead of in the WGO area. Who's Chatting area will now also sort by usernames, and give markup based on display usergroups.
  • Adds a "most chatters at one time" datastore; this is the same datastore used by Paul's Flashchat Integration script; so if you switch from Flashchat to Addonchat, or vice versa, you will retain this record.
  • Adds support for Streaming video and chats from within the embed page. (Only works with the embedded page, not the popup page; I have disabled the popup page on my forum in order to promote the use of this new feature.) With this, users can chat in your chatroom, while also viewing flash based streaming video (uStream, JustinTV, etc). Stream data is handled through AJAX; so if you change the stream location, users will not be forced to leave the chatroom in order to get the new location, they only need to hit the "Update" button.

Demos:
  • Who's Chatting: http://www.8wayrun.com/forum.php
  • Streaming Video: http://www.8wayrun.com/addonchat.php (click the "Show Stream Video and Chat" button)

Installation:
  • Make sure the Official Addonchat Product has already been installed.
  • Upload all files in the included ZIP file to their respective directories.
  • Install this product using the XML file within the included ZIP file.
  • Setup your settings in "Stream Settings" under AddonChat in AdminCP.
  • Replace the contents of the template "addonchat_embed" with this:
    Code:
    {vb:stylevar htmldoctype}
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
    <head>
    {vb:raw headinclude}
    <title>{vb:raw vboptions.bbtitle} - {vb:rawphrase addonchat_nav_link_title}</title>
    <link rel="stylesheet" type="text/css" href="{vb:var vbcsspath}vbulletin-formcontrols.css" />
    </head>
    <body<vb:if condition="$addonchat[embed_enable]"> onload="initstream();"</vb:if>>
    {vb:raw header}
    {vb:raw navbar}
    <div id="pagetitle">
    	<h1>{vb:rawphrase addonchat_nav_link_title, {vb:raw vboptions.bbtitle}}</h1>
    </div>
    <table class="tborder" border="0" width="100%" align="center" style="margin-top: 10px;">
    <tbody>
    	<tr>
    		<td align="center">
    			<vb:if condition="$addonchat[embed_enable]"><div id="streamHTML"></div></vb:if>
    			<script type="text/javascript">
    			   /*<![CDATA[*/
    				  var addonchat = { 
    					 server: {vb:raw addonchat.server_id}, 
    					 id: {vb:raw addonchat.account_id}, 
    					 width: "{vb:raw addonchat.width}",
    					 height: "{vb:raw addonchat.height}", 
    					 language: "{vb:raw addonchat.language}",
    					 ssl: {vb:raw addonchat.ssl}
    				  }
    				  var addonchat_param = {
    					 {vb:raw addonchat.code_parameters}
    					 autologin: {vb:raw addonchat.enable_auto_login},
    					 username: "{vb:raw addonchat.username}",
    					 password: "{vb:raw addonchat.password}"
    				  }
    			   /* ]]> */
    			</script><script type="text/javascript" src="clientscript/addonchat.js"></script><noscript>
    			<applet id="addonchat" code="Client.class" 
    			   codebase="{vb:raw addonchat.protocol}://{vb:raw addonchat.server_name}/current/"  
    			   archive="scclient_{vb:raw addonchat.language}.zip" width="{vb:raw addonchat.width}" height="{vb:raw addonchat.height}"
    			   alt="AddonChat Chat Software">
    			   <param name="room" value="{vb:raw addonchat.account_id}">   
    			   <param name="autologin" value="{vb:raw addonchat.enable_auto_login}">
    			   <param name="username" value="{vb:raw addonchat.username}">
    			   <param name="password" value="{vb:raw addonchat.password}">
    			   <param name="image" value="loader.gif">
    			   <param name="boxborder" value="false">
    			   <param name="centerimage" value="true">
    			   <param name="java_version" value="1.5+">
    			   <param name="codebase_lookup" value="false">
    			   {vb:raw addonchat.applet_parameters}
    			   This forum uses <a href="http://www.addonchat.com/">AddonChat Chat Software</a>.<br /> <br />
    			   To use this chat room, you will need to <a href="http://www.java.com/">Download Java</a>.
    			</applet></noscript>
    			<vb:if condition="$addonchat[embed_enable]"><br />
    				<input type="button" class="button" value="Show Stream Video and Chat" id="showstream" onclick="showstream()" style="margin: 0px 10px;" />
    			</vb:if>
    		</td>
    	</tr>
    </tbody>
    </table>
    {vb:raw forumjump}
    {vb:raw footer}
    <vb:if condition="$addonchat[embed_enable]">
    	<script type="text/javascript" src="clientscript/addonchat_ext.js"></script>
    	<script type="text/javascript">
    	<!--
    		addonchat['height'] = {vb:raw addonchat.height};
    	-->
    </script>
    </vb:if>
    </body>
    </html>

Thank you! Donations welcome!

Download

File Type: %1$s AddonchatExt-1.0.zip (10.9 KB, 66 downloads)

Similar Mods

Major Additions 8WayRun.Com - Media Library Modification Graveyard
Mini Mods 8WayRun.Com - Random Header vBulletin 4.x Add-ons
Administrative and Maintenance Tools 8WayRun.Com - Signature Check vBulletin 4.x Add-ons
vBulletin CMS Widgets 8WayRun.Com - XFBML Facebook Like Box vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024