vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Chat Modifications - Unofficial Addonchat Integration (https://vborg.vbsupport.ru/showthread.php?t=211910)

Jaxel 04-21-2009 10:00 PM

Unofficial Addonchat Integration
 
1 Attachment(s)
This mod is based on the mod found here: https://vborg.vbsupport.ru/showthread.php?t=179346

Sadly the official plugin has been unsupported for a long time and has a lot of dubious errors. This release fixes several issues:

1. Uncached templates have been fixed
2. Added support for the community submenu
3. Better templates that make more sense
4. Added who's chatting list on forumhome

Jaxel 04-22-2009 03:16 PM

first post

akee 04-22-2009 03:28 PM

Can I usergroup permission setup?

Snorqi 04-22-2009 05:05 PM

Thank you, works fine.

Another question: how can I display the online user to embed other pages?

Hugo Holbling 04-22-2009 07:08 PM

Can you add an option for where to display the "who's chatting" list or explain how to change it? I think it makes more sense to include it in the forumhome "what's going on?" box.

DarkStarr 04-22-2009 07:26 PM

Quote:

Originally Posted by Hugo Holbling (Post 1796923)
Can you add an option for where to display the "who's chatting" list or explain how to change it? I think it makes more sense to include it in the forumhome "what's going on?" box.

+1

Great mod!

DarkStarr 04-23-2009 04:30 AM

Anyone figure it out? I tried looking at the code and can't figure out what's what.. yet.

Jaxel 04-24-2009 08:37 AM

By request, I have added the feature where you can select to show the who's chatting box on top of the forum home, or on top of the WHAT'S GOING ON box.

Videx 04-24-2009 10:27 AM

Can someone remind me? I only get "who's chatting" with the pay versions, correct?

Hugo Holbling 04-24-2009 12:39 PM

Quote:

Originally Posted by Jaxel (Post 1797985)
By request, I have added the feature where you can select to show the who's chatting box on top of the forum home, or on top of the WHAT'S GOING ON box.

Thanks for the upgrade. :) [Edit - got it]

DarkStarr 04-24-2009 02:10 PM

Quote:

Originally Posted by Jaxel (Post 1797985)
By request, I have added the feature where you can select to show the who's chatting box on top of the forum home, or on top of the WHAT'S GOING ON box.

Thank you so much dude, this is a great mod! ...nominated!!

Forumi Shqiptar 04-26-2009 03:54 AM

tagged this mod... will check it later...

Slugger00001 04-27-2009 08:18 PM

tagged will check later

reotto 05-13-2009 06:39 PM

Has anyone figured out how to globalize this add-on so if I use the following piece of code it will work in cmps, dyna, and vb?

PHP Code:

<if condition="$addonchat[vb_enable_popup]">
    <
tr><td class="vbmenu_option"><a href="#" onClick="window.open('addonchat.php?$session[sessionurl]do=popup', 'addonchat', 'width=$addonchat[width_float],height=$addonchat[height_float],statusbar=no,scrollbars=no,toolbar=no,menubar=no,resizable=yes'); return false">$vbphrase[addonchat_enter_float]</a></td></tr>
</if> 


Jaxel 05-13-2009 07:58 PM

You SHOULDN'T globalize this mod. This mod adds a .5 second load time to your forumhome as it goes to the addonchat servers to retrieve the who's chatting information. Any page you put this on will load .5 seconds slower.

Grim77 05-29-2009 05:26 PM

Jaxel -- We're gearing up to do another official update. I don't see any license on your modifications, and since it appears as though you used our original code, I assume you're OK with us borrowing some of your improvements? Let me know :) Any other feature requests -- especially anything tying into our systems -- are also greatly appreciated!

whitetigergrowl 05-31-2009 02:43 AM

Keep up the good work!

Digital Jedi 06-01-2009 05:58 AM

Hay Jaxel. Got an error during import of the product. First error I forgot to copy, but it said something about one of the tables not able to be created.

Second import I got this Database Error.

Code:

Database error in vBulletin 3.8.2:

Invalid SQL:

  CREATE TABLE addonchat_settings
  (
      account_id INT UNSIGNED NOT NULL DEFAULT 0,
      login_md5pass VARCHAR(32) NOT NULL DEFAULT '',
      language VARCHAR(8) NOT NULL DEFAULT 'en',
      settings_retrieved TINYINT(1) NOT NULL DEFAULT 0,
      login_email VARCHAR(64) NOT NULL DEFAULT '', 
      edition INT UNSIGNED NOT NULL DEFAULT 0,
      modules VARCHAR(128) NOT NULL DEFAULT '',
      ras_capable TINYINT(1) NOT NULL DEFAULT 0,
      edition_name VARCHAR(128) NOT NULL DEFAULT 'Unknown',
      expire_date DATE NOT NULL DEFAULT 0,
      ras_enabled TINYINT(1) NOT NULL DEFAULT 0,
      ras_url VARCHAR(128) NOT NULL DEFAULT 'http://',
      server_name VARCHAR(64) NOT NULL DEFAULT 'client0.addonchat.com',
      server_port INT UNSIGNED NOT NULL DEFAULT 8000,
      cpanel_login VARCHAR(255) NOT NULL DEFAULT 'http://',
      title VARCHAR(48) NOT NULL DEFAULT 'My Chat Room',
      account_id_fq VARCHAR(32) NOT NULL DEFAULT 'SC-0',
      customer_id_fq VARCHAR(32) NOT NULL DEFAULT 'RC-0',
      enable_auto_login TINYINT(1) NOT NULL DEFAULT 1,
      allow_unregistered_guests TINYINT(1) NOT NULL DEFAULT 0,
      url_exit VARCHAR(128) NOT NULL DEFAULT 'http://',
      width INT UNSIGNED DEFAULT 585,
      height INT UNSIGNED DEFAULT 400,
      width_float INT UNSIGNED DEFAULT 620,
      height_float INT UNSIGNED DEFAULT 420,
      forum_url VARCHAR(255) NOT NULL DEFAULT 'http://',
      ef_profile TINYINT(1) NOT NULL DEFAULT 1,
      ef_find_posts TINYINT(1) NOT NULL DEFAULT 1,
      ef_email TINYINT(1) NOT NULL DEFAULT 1,
      ef_pm TINYINT(1) NOT NULL DEFAULT 1,
      ef_add_buddy TINYINT(1) NOT NULL DEFAULT 1,
      ef_forum_ignore TINYINT(1) NOT NULL DEFAULT 0,
      vb_enable_menu TINYINT(1) NOT NULL DEFAULT 1,
      vb_enable_embed TINYINT(1) NOT NULL DEFAULT 1,
      vb_enable_popup TINYINT(1) NOT NULL DEFAULT 1,
      vb_enable_whos_chatting TINYINT(1) NOT NULL DEFAULT 1,
      vb_enable_whos_chatting_main TINYINT(1) NOT NULL DEFAULT 0   
  )
  ENGINE=MyISAM CHARACTER SET utf8;

MySQL Error  : Table 'addonchat_settings' already exists
Error Number  : 1050
Request Date  : Monday, June 1st 2009 @ 02:56:22 AM
Error Date    : Monday, June 1st 2009 @ 02:56:22 AM
Script        : http://www.cogonline.net/forums/admincp/plugin.php?do=productimport
Referrer      : http://www.cogonline.net/forums/admincp/plugin.php?do=productadd
IP Address    : XXXXXXXXX
Username      : Digital Jedi
Classname    : vB_Database
MySQL Version : 5.0.77-community-log

Is it safe to just drop the tables and try importing again?

silentdub 06-01-2009 07:50 PM

Quote:

Originally Posted by Jaxel (Post 1796784)
first post

Ok, My connection dropped while I was installing, I got back in, it doesn't show up as installed. I tried to reinstall, and then get a few DB errors in regards to tables already being there.

Do you have a script to manually uninstall the changes?

silentdub 06-01-2009 07:53 PM

[QUOTE=Digital Jedi;1821140]Hay Jaxel. Got an error during import of the product. First error I forgot to copy, but it said something about one of the tables not able to be created.

Second import I got this Database Error.

[CODE]Database error in vBulletin 3.8.2:

Invalid SQL:



I am in the same boat as you are. Some of the tables and such are there so it won't proceed.

We need to back out this mod manually.

How?

silentdub 06-01-2009 08:06 PM

Ok, In order to uninstall you need to remove the two 'addonchat' tables.

you also need to remove the column addonchat from the vb_usergroups.

That will put you back to square 1.

silentdub 06-02-2009 01:52 PM

I am getting an error on install about addon_settings not found.

I guess that is why my first install failed.

anyone?

reotto 06-04-2009 03:16 AM

There is a mistake in the addonchat_popup template highlighted in red:

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[addonchat_nav_link_title]</title>
</head>
<body>

<center>

<applet code="Client.class" codebase="http://$addonchat[server_name]/current/" archive="scclient_$addonchat[language].zip" width="100%" height="100%" alt="AddonChat Chat Software" MAYSCRIPT>
        <param name="room" value="$addonchat[account_id]"> 
        <param name="autologin" value="$addonchat[enable_auto_login]">
        <param name="username" value="$addonchat[username]">
        <param name="password" value="$addonchat[password]">
        <param name="url.exit.enable" value="yes">
        <param name="url.exit" value="$addonchat[exit_url]">
        <param name="iconsize" value="0">
        <param name="timestamp" value="yes">
        <param name="audio" value="yes">
        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> 

</center>

</body>
</html>

WM3 does not recognize height and width set as percentages, and this make Firefox work abnormally. Those values need to be changed as required like below:

width="1024" height="768"

Bounce 08-16-2009 01:19 PM

how do you move the box from the top of the forum to the bottom?

I-Mode 08-28-2009 08:18 PM

Altering Table addonchat_settings ...vB_Database_Alter: fetch_table_info() has not been called successfully.
Table 'DB604617.vbaddonchat_settings' doesn't exist

It doesnt work at mine,, can someone help me out plz??:confused:

Bluefin221 09-11-2009 03:15 AM

Quote:

Originally Posted by I-Mode (Post 1875997)
Altering Table addonchat_settings ...vB_Database_Alter: fetch_table_info() has not been called successfully.
Table 'DB604617.vbaddonchat_settings' doesn't exist

It doesnt work at mine,, can someone help me out plz??:confused:

I get the same as you.

GoTTi 09-14-2009 05:02 PM

im getting this error:

Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/init.php(298) : eval()'d code on line 613
on this version of the mod also, just like in the original mod. any ideas?

atcspaul 09-15-2009 11:17 PM

Quote:

Originally Posted by I-Mode (Post 1875997)
Altering Table addonchat_settings ...vB_Database_Alter: fetch_table_info() has not been called successfully.
Table 'DB604617.vbaddonchat_settings' doesn't exist

It doesnt work at mine,, can someone help me out plz??:confused:

i got the same messege. anyone figure it out

atcspaul 09-16-2009 05:37 PM

1 Attachment(s)
for those that couldn't get it to work they have a place in your control panel at adon you can make a box. i did that and also a button to get in the chat. works like a dream

xLYNZx 09-21-2009 06:26 PM

does this allow only members to join in the chat? Does it work with the free chat?

Bluefin221 10-01-2009 04:10 AM

Quote:

Originally Posted by Bluefin221 (Post 1882943)
I get the same as you.

Has anyone solved this yet?

angeljs 10-10-2009 04:58 PM

I'm getting this error:
Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/init.php(304) : eval()'d code on line 735
Apart from that, it seems to be working ok.

sKippah 10-10-2009 09:44 PM

sry, but is it usable for irc? or am i just to stupid to see?

realmr 10-11-2009 07:29 AM

will it take more page consumption time and bandwidth, do the admins/mods have control to delete chat msgs ?


All times are GMT. The time now is 09:50 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.01326 seconds
  • Memory Usage 1,816KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete