vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - 8WayRun.Com - Addonchat Extension (https://vborg.vbsupport.ru/showthread.php?t=250200)

Jaxel 09-08-2010 10:00 PM

8WayRun.Com - Addonchat Extension
 
1 Attachment(s)
The Official Addonchat Product is REQUIRED for this Extension
https://vborg.vbsupport.ru/showthread.php?t=233009

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:
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!

BadgerDog 09-09-2010 02:39 PM

Downloaded... :)

Thanks ... we really love the AddonChat product and the outstanding support given by the developer ....

Nice to see extensions being developed ...

Question: Before I install this, is it possible to have the option of keeping the Who's Chatting" list in the WGO area, instead of having it appear at the top of the forums? We're getting a little cluttered up there and it would be nice (at least for our site) to leave it in the WGO area.

Thanks for your efforts .. :up:

Regards,
Badger

Jaxel 09-09-2010 02:40 PM

This mod doesn't replace the existing WGO2 plugin, it adds a NEW one. So if you want to remove either of the two plugins (the above forum, and the WGO2), you simply need to disable the appropriate plugin.

BadgerDog 09-09-2010 02:45 PM

Quote:

Originally Posted by Jaxel (Post 2095866)
This mod doesn't replace the existing WGO2 plugin, it adds a NEW one. So if you want to remove either of the two plugins (the above forum, and the WGO2), you simply need to disable the appropriate plugin.

Thank you .... :up:

Regards,
Badger

djscoop 09-11-2010 01:51 PM

After uploading everything and changing the template nothing has changed and i don't see an option for "Stream Settings", any idea what might be wrong?

http://www.clankms.com/forum/addonchat.php

Jaxel 09-12-2010 11:50 AM

Stream settings is in you're admin cp... In the addonchat area.

djscoop 09-12-2010 06:53 PM

i have no idea why im having trouble but i dont see that option and it still doesnt show the whos chatting option.

djscoop 09-16-2010 03:57 PM

Ok still having an issue, as u can see in the pic the "whos chatting" is showing a bad link/pic and i still dont have the stream settings option! Can u help?


https://vborg.vbsupport.ru/external/2010/09/33.jpg

Cicada 10-24-2010 04:44 PM

is there any way to change the color of the header bar of "who's chatting" to match the rest of the forum?

does it autohide if there is noone in chat?

level8 12-30-2010 10:27 AM

please help... 2 requests....

# Setup your settings in "Stream Settings" under AddonChat in AdminCP.
Just cannot find this!?!?!? Looked in the forums Admin. Can see where I change the size of pop-up etc... but no "Stream" info?!!?

Can someone screenprint where this should be???


All times are GMT. The time now is 11:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05801 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete