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)
-   -   Integration with vBulletin - Official AddonChat Product (https://vborg.vbsupport.ru/showthread.php?t=233009)

Stefan118 12-12-2011 11:01 PM

1 Attachment(s)
Please help...

I'm trying to install this chat, followed all the instructions, but I cant pass step 4:

1. Upload the files in your upload/ folder to their appropriate locations
2. Using the VB product manager, import the product-addonchat.xml product
3. Click over to AddonChat -> Account Settings in your vBulletin AdminCP
4. Enter your AddonChat account number and password and click 'Automatic
Lookup' If required (allow_url_fopen is not set for example) please
adjust your 'Account Details' and save.

5. Modify forum integration and authentication settings to suit your needs
6. If vBulletin authentication is enabled, you may modify chat room
permissions from your Usergroup editor (Usergroups -> Usergroup Manager)

The error I get is provided in the image below.
Help?

tommyxv 03-23-2012 01:38 AM

This addon is not reading my additional.css template. Any fix for this?

tommyxv 03-24-2012 09:27 PM

This is a great product and I am running this without any problems on my vBulletin 4.1.11 site.

I decided to fix a few problems with this addon. First, the product here is the old version. Go here to download the updated 4.0.2 version.

http://www.addoninteractive.net/inde...4-integration/

FIX #1
The Who's Chatting in the WGO area on the forum home page is causing a XHTML validation error because it is using that same CSS ID wgo_onlineusers that was already defined earlier.

To fix this, you need to call this something different and add it to your Additional.css template. So I added this to my Additional.css template:

Code:

/* XHTML fix for addonchat using same css id as #wgo_onlineusers */

#wgo_onlinechatusers .commalist li {
        margin-{vb:stylevar left}: 1px;
}


Now go to the addonchat_who template and change wgo_onlineusers to wgo_onlinechatusers, as shown in red below. This will fix the XHTML validation error.


Code:

<vb:if condition="$addonchat['enabled'] == 1">
  <vb:if condition="$addonchat['user_count'] > 0">
      <div id="wgo_onlinechatusers" class="wgo_subblock section">
      <h3 class="blocksubhead"><img src="images/addonchat/wgo.png" alt="{vb:rawphrase addonchat_whos_chatting}" />{vb:rawphrase addonchat_whos_chatting}</h3>
        <div>
                <p>
                  {vb:rawphrase addonchat_users_online, {vb:raw addonchat.user_count}}
                </p>
                <ol class="commalist" id="wgo_addonchat_list">
                        {vb:raw addonchat_activeusers}
                </ol>
          </div>
      </div>
  </vb:if>
</vb:if>



FIX #2
The comma is missing that separates the usernames who are chatting. I tried many ways to get it to display with no luck. {vb:raw row.comma} didn't work. I simply added an actually comma just before the closing </li> in the addonchat_loggedinuser template and it worked. LOL
Code:

  <li> {vb:stylevar dirmark}<a class="username" href="member.php?{vb:raw acloggedin.uid}">{vb:raw acloggedin.musername}</a>,</li>


FIX #3
Note: If you are using the stock vbulletin style AND/OR have not added any custom css to your additional.css template, then you do not have to do this fix.

The addonchat.php page where the chat room is embedded is not using my additional.css template, which caused my custom footer and other customization not to show correctly. To fix this, simply add what I have in red in the addonchat_embed template just above the closing head tag.

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" />
{vb:cssfile additional.css}
</head>
<body>
{vb:raw header}

{vb:raw navbar}


Hope this helps! Maybe i can get a free year from the developer, when my renewal comes up. ;)

paulket 03-25-2012 03:16 PM

I hope I'm just overlooking a simple setting, I do not see the Who's Chatting in the WGO area at all on either my custom or default vb style. Is there a setting somewhere to show this?

tommyxv 03-25-2012 07:26 PM

Quote:

Originally Posted by paulket (Post 2313158)
I hope I'm just overlooking a simple setting, I do not see the Who's Chatting in the WGO area at all on either my custom or default vb style. Is there a setting somewhere to show this?

Yes there is....

vB AdminCP --->AddonChat --->Account Settings --->Enable Who's Chatting Feature ----> Set to Yes
(Professional, Professional PLUS, or Enterprise account required.)

watershed 04-29-2012 02:02 PM

1 Attachment(s)
Hi, i've installed the module and purchased the Proffesional plus edition (with added mobile support and avatars) and i'm running into a problem when trying to integrate my forum with the chat module.

I'm running a hebrew speaking forum and for the users that have Hebrew characters in their nicknames the chat says that they have inputted a wrong username/password. This also happens when i disable the automatic login and they need to type it in themselves. For my users who have english characters the login goes normally. Can i fix this somehow?

Additionally i'm having some problems with my avatars:

When the avatar display is on for users, the whole line of the sentence moves to the left. If they are off it is on the right (as it should be for hebrew :) ), i'm pretty sure this could be fixed through the control panel and i think i found where but i'm not really knowledgable in how to define the values there and i'd like to get some help.

The second problem is that the avatar link between the forum and the chat doesn't work, so when i have this on there is a blank instead of an avatar. I'll post some print screens to show my problems.

Thanks for your help :)

watershed 04-29-2012 02:41 PM

1 Attachment(s)
Regarding the hebrew character names, when i try to test the script (as explained here http://support.addoninteractive.com/...-comprehensive) this is what i get (printscreen).

DJCC 04-30-2012 07:03 AM

Quote:

Originally Posted by tommyxv (Post 2313235)
Yes there is....

vB AdminCP --->AddonChat --->Account Settings --->Enable Who's Chatting Feature ----> Set to Yes
(Professional, Professional PLUS, or Enterprise account required.)

Doing this on my site, does not show at all..? Seems I am having same problem as above

ywwz 05-03-2012 12:23 AM

does it work on 4.1.12???

Parture 05-19-2012 08:32 PM

I'd be afraid to try or it could screw things up. Waiting for a compatible version with 4.1.2 or 4.2 vBulletin.


All times are GMT. The time now is 04:01 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.01386 seconds
  • Memory Usage 1,752KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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