vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Chat Modifications - MGC Chatbox (with AJAX) (https://vborg.vbsupport.ru/showthread.php?t=148472)

VBDev 07-16-2007 06:41 AM

Wow that's really really strange...

You don't show in the vB Wol when active in the chatbox ??

If you don't show in the vB wol then it's logical that you don't show either in the chatbox wol as it's based on it.

Did you show in the vB wol when active in the chatbox in the previous version ?

Which vB version do you use ?

Pottsy 07-16-2007 06:42 AM

Quote:

Originally Posted by furst (Post 1292238)

Also, when I have the inactivity mode enabled, SOME users only see "Idle" in the chatbox regardless of what they do.


This is fixed by the user forcing a refresh with CTRL+F5.


VBDev,

The WOL issue for me is this:

If a user is using the chatbox on forumhome, then they are "not online". So another user pressing WOL sees only "You are actually the only user connected to the chatbox". Right now I have about 5 users using chat, all on forumhome, and if I press WOL I see "you are actually the only user..."

If I get my test user to go to the dedicated chatbox page and he presses WOL then that user still sees "You are actually the only user...". But now I, still on forumhome, can see that one user in WOL.

So, the WOL logic only sees users who are using the dedicated page.

This behaviour seems unaffected by browser type.

VBDev 07-16-2007 07:24 AM

For the inactive thing, they experienced that as soon as they loaded the page with the new chatbox ?

Ok, then I'll have to investigate a bit on the wol thing.

When you are on the forumhome in the chatbox, do you appear in the vb wol ? (if yes what is your location ?)

Pottsy 07-16-2007 07:28 AM

Quote:

Originally Posted by VBDev (Post 1292549)
For the inactive thing, they experienced that as soon as they loaded the page with the new chatbox ?

Yes. Happened for me on all 3 browsers. Just says "idle" and nothing happens at all. Even jumping pages, pressing refresh, just says "idle".

Quote:

Originally Posted by VBDev (Post 1292549)
Ok, then I'll have to investigate a bit on the wol thing.

When you are on the forumhome in the chatbox, do you appear in the vb wol ? (if yes what is your location ?)

Yes, "Viewing index".

Thanks for your help!

VBDev 07-16-2007 08:16 AM

Quote:

Originally Posted by Pottsy (Post 1292550)
Yes. Happened for me on all 3 browsers. Just says "idle" and nothing happens at all. Even jumping pages, pressing refresh, just says "idle".

Even the refresh leaved you in idle state ? hum !

And after you have actualized the pages, you never encountered that again ?

Quote:

Originally Posted by Pottsy (Post 1292550)
Yes, "Viewing index".
Thanks for your help!

Do you have automatic refresh on ?

If you are in the chatbox and click on refresh, then do you still appear as Viewing index ?

Na that's normal to help, you help me to track the bugs to provide a free from bug products :)

Pottsy 07-16-2007 08:42 AM

Quote:

Originally Posted by VBDev (Post 1292573)
Even the refresh leaved you in idle state ? hum !

And after you have actualized the pages, you never encountered that again ?

Only when the chatbox is collapsed and the user first logs on. But it is OK, because when the chatbox is expanded, it works normally.



Quote:

Originally Posted by VBDev (Post 1292573)
Do you have automatic refresh on ?

Yes.

Quote:

Originally Posted by VBDev (Post 1292573)
If you are in the chatbox and click on refresh, then do you still appear as Viewing index ?

Yes, if you are using the chatbox in forumhome.

I also have put the chatbox in "search results". If you use the chat box there, vbWOL shows "Searching forums". If you go to the dedicated chatbox page, vbWOL shows ""MGC Chatbox".

Na that's normal to help, you help me to track the bugs to provide a free from bug products :)[/QUOTE]

VBDev 07-16-2007 08:55 AM

For the idle state you should have told me it was in collapsed mode :) That's an enormous clue for me, I'll check that out this evening.

Could you test it also on forumdisplay and showthread so that I can be sure that it's a global problem plz ?

Pottsy 07-16-2007 08:57 AM

The original idle fault was on both collapsed and expanded, but the odd recurring idle thing is only on collapsed.

PM sent... :)

Karabaja 07-16-2007 09:01 AM

Clicking a smiliey throws me to cyb's advanced stats, not to the bottom of the page. And it only seems to happen on first click. If I click two smilies in a row first one will jump the cursor down, on second click it stays where it is.
I also don't get anyone in channel wol, even though some members are shown as in mgc chatbox in board's who's online.
But regardless of the above still great hack and thx VBDev for providing support I haven't seen yet seen with any other hack. Hope you won't get too tired :)

Njm 07-16-2007 09:09 AM

hello agin thanx 4 every thing .... i have a problom

whene i wirhgt somting in the text and after i send it nothing happen ?

but whene i go to Archives i see all my text ?

how can i fixe it ?

my text it dosen`t show in the box ?

Adam21 07-16-2007 10:13 AM

When i clicked on the canal_wol icon ,it doesn't do anything.
Instead,a javascript error appears at the bottom of my screen,error message is "Done,but with errors on page".
Code:

Details:
Line 351
Char:5
Error:Object required
Code:0

By the way,great upgrade!Looks cooler with the new icons.:up:

sybakaos 07-16-2007 10:24 AM

Hi,

I've used MGCchat on my test forum and moved it to my active forum. I uninstalled mgc from my test forum but I can't update usergroups anymore, it gives a MySQL error. Your hack doesn't uninstall cleanly? There are still appearing radio buttons also but without text.

Code:

MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Greets,
SybaKaos.

VBDev 07-16-2007 10:36 AM

Quote:

Originally Posted by Pottsy (Post 1292592)
The original idle fault was on both collapsed and expanded, but the odd recurring idle thing is only on collapsed.

PM sent... :)

For the first appearance, this is strange coz it should not show that on first load, I'll dig through that and also through the collapsed one.

Quote:

Originally Posted by Karabaja (Post 1292593)
Clicking a smiliey throws me to cyb's advanced stats, not to the bottom of the page. And it only seems to happen on first click. If I click two smilies in a row first one will jump the cursor down, on second click it stays where it is.
I also don't get anyone in channel wol, even though some members are shown as in mgc chatbox in board's who's online.
But regardless of the above still great hack and thx VBDev for providing support I haven't seen yet seen with any other hack. Hope you won't get too tired :)

Regarding the smileys, it means that it send you to the top of the chatbox (which is the bottom of the cybstats) that's right ?

If this is the case this is what I explained but don't really know actually how to pass through this :(, I'll search !

Oh yes I am tired :D Na that's start of the week so that's good but waking up like this morning with 2 pages of message bumped my head down :eek:

But you know being nominated to the MOTM two times already is a great reward for me thus I will not win it ;)

Quote:

Originally Posted by Njm (Post 1292596)
hello agin thanx 4 every thing .... i have a problom

whene i wirhgt somting in the text and after i send it nothing happen ?

but whene i go to Archives i see all my text ?

how can i fixe it ?

my text it dosen`t show in the box ?

What happens after that if you try to refresh ?

Quote:

Originally Posted by Adam21 (Post 1292626)
When i clicked on the canal_wol icon ,it doesn't do anything.
Instead,a javascript error appears at the bottom of my screen,error message is "Done,but with errors on page".
Code:

Details:
Line 351
Char:5
Error:Object required
Code:0

By the way,great upgrade!Looks cooler with the new icons.:up:

If you look at the source code of the page in your browser, what is on line 351 (if this javascript code coz sometimes line in the error doesn't correspond the good line in the code).

Quote:

Originally Posted by sybakaos (Post 1292630)
Hi,

I've used MGCchat on my test forum and moved it to my active forum. I uninstalled mgc from my test forum but I can't update usergroups anymore, it gives a MySQL error. Your hack doesn't uninstall cleanly? There are still appearing radio buttons also but without text.

Code:

MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Greets,
SybaKaos.

Please have a look at the Readme file and ensure that you are following instructions as specified !

I think you have uninstalled the product before removing the xml files which is not what you should have done. To repair that, remove the xml files and then rebuild the bitfields manually (if you don't know how to do that, search for one of my previous message in this thread :)).

sybakaos 07-16-2007 10:44 AM

I should have done that, and actually, did it now with satisfaction. Thanks.

May I suggest a change?
- A server-push when sending a chatline. When a user sends a chatline, the chatbox should refresh for anyone active in the chat. I have a very active chat and a lot of times users type a message thinking they are the next in the chatbox, but after hitting "send", suddenly 10 new lines appear.

VBDev 07-16-2007 10:56 AM

There are no way I could do that, the only thing that could be done is to lower the refresh period time but this would become server intensive in my opinion (I think but never tested ;)).

Anyway, you know using it like that is like having a real chat an this is not really intended for that kind of use, there are some limitations I can't break through and this one is part of them. And I don't want my chatbox to become a enormous "factory" (which it is starting to be with all thos functionnalities :D).

sybakaos 07-16-2007 11:01 AM

Ok. Thanks for your reply.

I may found a small issue:
- when I disable the /team option and go to chat I see two buttons (good). When I click the wol button, it works (good) but when I click the "canal normal" button again, another "canal button" appears below it.

I like your chatbox a lot ;).

VBDev 07-16-2007 11:15 AM

Quote:

Originally Posted by sybakaos (Post 1292654)
Ok. Thanks for your reply.

I may found a small issue:
- when I disable the /team option and go to chat I see two buttons (good). When I click the wol button, it works (good) but when I click the "canal normal" button again, another "canal button" appears below it.

I like your chatbox a lot ;).

Ok, I'll have a look to that issue in the next version, todo list will be available very soon.

Don't forget to click install if you want to be warned when a new version is available.

sybakaos 07-16-2007 11:24 AM

Thanks, I'll keep updating you and hit install right away.

'issue 1' I found is (using oldest lines on top):
- The scrollbar only goes to bottom when you yourself makes a new chatline. If anyone else makes a chatline, the scrollbar doesn't go to bottom.

'issue 2'
- when a user disables chatbox from withtin their UserCP, the entire bit is gone (ie. can't enable anymore because the option to do so is gone). This the value added in SQL (mgc_cb_params):
Code:

a:7:{s:13:"mgc_cb_police";s:0:"";s:13:"mgc_cb_taille";i:0;s:14:"mgc_cb_couleur";b:0;s:8:"mgc_cb_b";i:0;s:8:"mgc_cb_u";i:0;s:8:"mgc_cb_i";i:0;s:11:"mgc_cb_show";i:0;}

Adam21 07-16-2007 11:27 AM

Quote:

Originally Posted by VBDev (Post 1292636)

If you look at the source code of the page in your browser, what is on line 351 (if this javascript code coz sometimes line in the error doesn't correspond the good line in the code).

Line 351 relates to some template codes,i dont think it causes that
Quote:

/* ***** Rounded Footer ***** */
.rzone {
display: block;
}
Any ideas please?:confused:

matDDH 07-16-2007 11:47 AM

I went back in and reinstalled / overwrite some the files and i still have the same issues.

WOL is not showing anything its just blank

Team chat doesnt blink either.

Even if these issues can not be fix im sticking with your chatbox its the best.

Anhyeu12000 07-16-2007 12:02 PM

<font color="Red">Why MGC Chatbox 1.3 don't Auto refresh, I chose Yes on MGC Chatbox : General Options with Refresh Time (in seconds) : 30, I use Firefox 2.0.0.4 and IE 7 ?
How can you fix it ?</font>

sybakaos 07-16-2007 12:43 PM

Quote:

Originally Posted by J1755EC6A244 (Post 1292706)
Why MGC Chatbox 1.3 don't Auto refresh, I chose Yes on MGC Chatbox : General Options with Refresh Time (in seconds) : 30, I use Firefox 2.0.0.4 and IE 7 ?
How can you fix it ?

Goto vBulletin Options, MGC Chatbox: Advanced Options

There's are two options:
Inactive mode activation & Inactive mode time period

Those determine whether autorefresh works after given minutes.

VBDev 07-16-2007 01:01 PM

Quote:

Originally Posted by sybakaos (Post 1292667)
Thanks, I'll keep updating you and hit install right away.

'issue 1' I found is (using oldest lines on top):
- The scrollbar only goes to bottom when you yourself makes a new chatline. If anyone else makes a chatline, the scrollbar doesn't go to bottom.

'issue 2'
- when a user disables chatbox from withtin their UserCP, the entire bit is gone (ie. can't enable anymore because the option to do so is gone).

It seems the statistics on index are 'live'. Can you make those stats fixed like for example, postcount? The stats are gone after a /dell all for example.

Issue 1 : Yes this is known issue already reported by others, I have to search the cause.

Issue 2 : Ok, will check that out !

Stats : stats are calculated dynamically and are not stored anywhere, this is the reason :) The problem with doing no dynamical stats would be the add of one query at each new shout which is really anoying coz 1 query + 1 query + ... makes a lot of queries.

Quote:

Originally Posted by Adam21 (Post 1292676)
Line 351 relates to some template codes,i dont think it causes that

Any ideas please?:confused:

Ok, I'll have a look :) (So much things to have a look I hope I won't forget any ;))

Quote:

Originally Posted by matDDH (Post 1292697)
I went back in and reinstalled / overwrite some the files and i still have the same issues.

WOL is not showing anything its just blank

Team chat doesnt blink either.

Even if these issues can not be fix im sticking with your chatbox its the best.

It don't even tells you that your are the only user in the chatbox ?

For the blinking, how did you test it ?

Quote:

Originally Posted by J1755EC6A244 (Post 1292706)
Why MGC Chatbox 1.3 don't Auto refresh, I chose Yes on MGC Chatbox : General Options with Refresh Time (in seconds) : 30, I use Firefox 2.0.0.4 and IE 7 ?
How can you fix it ?

Quote:

Originally Posted by sybakaos (Post 1292735)
Goto vBulletin Options, MGC Chatbox: Advanced Options

There's are two options:
Inactive mode activation & Inactive mode time period

Those determine whether autorefresh works after given minutes.

Actually you are not exactly right sybakaos.

The auto refresh is not dependant of the idle mode this is the idle mode which block the auto refresh and then show an idle message.


J1755EC6A244, when you say that autorefresh doesn't work, what have you done to tell that ?

What happens when you click on the refresh button ?

Quantnet 07-16-2007 01:05 PM

When using smilies, I have one that uses \ : D /
and : D is another smiley :D. When i enter \ : D /, it displays \ then the :D smiley then /
something is not right with the \ / thing

dirty68 07-16-2007 01:24 PM

some of my members have told me that when they do a shout the text ends up half over the screan
Like this...
any idea?

VBDev 07-16-2007 01:30 PM

Quote:

Originally Posted by Quantnet.org (Post 1292746)
When using smilies, I have one that uses \ : D /
and : D is another smiley :D. When i enter \ : D /, it displays \ then the :D smiley then /
something is not right with the \ / thing

I think this is maybe due to the fact that \ is an escape character but what's strange is that you should experience the same problem with post in vbulletin as I use the vbulletin parse function.

A quick solution would be to rename your smiley :D (what ?!? you think I am lazy ? :D)

Quote:

Originally Posted by dirty68 (Post 1292761)
some of my members have told me that when they do a shout the text ends up half over the screan
Like this...
any idea?

This might come from the delete cross thing, could you deactivate that functionnality and tell me if this is still wrong ?

If not then you have successfully find a bug, congratulations ;)

dirty68 07-16-2007 01:34 PM

Iv deactivate it and its all ok, can you fix this problem as i would like it for my members to be able to edit and delete there own posts

sybakaos 07-16-2007 01:36 PM

Thanks vbDev. Found another convience issue (IE7):
- when quick editing a chatline (doubeclick) you get the edit box, but you can't hit enter, you must click next to area for it to save. Can that be changed?

matDDH 07-16-2007 01:38 PM

Quote:

Quote:

Originally Posted by matDDH
I went back in and reinstalled / overwrite some the files and i still have the same issues.
WOL is not showing anything its just blank

Team chat doesnt blink either.

Even if these issues can not be fix im sticking with your chatbox its the best.
It don't even tells you that your are the only user in the chatbox ?

For the blinking, how did you test it ?
Nope it doesnt even tell im the only user, its just blank

I tested it numerous ways but today many of my members have been chatting on both the regular and team chat channels I have not touched anything and just let my box remain idle and nothing happens even after many mins, and no one is listed on the WoL....

If other ppl have gotten these functions to work then could it be a server side issue or something?

Here is a screenshot of the WOL channel https://vborg.vbsupport.ru/external/2007/07/30.jpg

My forums are at http://the-darkhand.com/vb/index.php

snapshotz 07-16-2007 01:46 PM

Just upgraded off 1.2 and getting this error when clicking on the team icon.
Line:333
Char:4
Error:'can_team' is undefined
Code:0

sybakaos 07-16-2007 02:04 PM

Found another minor issue:
- when inserting a smilie, the page goes to (index.php#chatbox). So basicly, the browser window starts at the chatbox

VBDev 07-16-2007 02:11 PM

Quote:

Originally Posted by dirty68 (Post 1292767)
Iv deactivate it and its all ok, can you fix this problem as i would like it for my members to be able to edit and delete there own posts

I will I will :)

Quote:

Originally Posted by sybakaos (Post 1292769)
Thanks vbDev. Found another convience issue (IE7):
- when quick editing a chatline (doubeclick) you get the edit box, but you can't hit enter, you must click next to area for it to save. Can that be changed?

Not it can't. I think this is the same for the thread title editing in vb.

I think it can't be done due to the multiple possibilities (user keyboard, os ...).

anyway I might try to search on the web if that's possible.

Quote:

Originally Posted by matDDH (Post 1292770)
Nope it doesnt even tell im the only user, its just blank

I tested it numerous ways but today many of my members have been chatting on both the regular and team chat channels I have not touched anything and just let my box remain idle and nothing happens even after many mins, and no one is listed on the WoL....

If other ppl have gotten these functions to work then could it be a server side issue or something?

Here is a screenshot of the WOL channel http://s124.photobucket.com/albums/p...t=untitled.jpg

My forums are at http://the-darkhand.com/vb/index.php

I don't really think it could be server side thing as other ajax functionnalities of the chatbox works.

but what's strange is that it don't show anything at all :/ Maybe we'll have to work together to make some debug.

VBDev 07-16-2007 02:13 PM

Quote:

Originally Posted by snapshotz (Post 1292777)
Just upgraded off 1.2 and getting this error when clicking on the team icon.
Line:333
Char:4
Error:'can_team' is undefined
Code:0

This due to the fact that you had modified chatbox templates and you didn't revert it for the new changes to be taken into account. You must revert it and apply your modifications again.

Quote:

Originally Posted by sybakaos (Post 1292791)
Found another minor issue:
- when inserting a smilie, the page goes to (index.php#chatbox). So basicly, the browser window starts at the chatbox

This is actually not really an issue as this is wanted ! But depending on the browser, it should not go to this link as I return false in my javascript to avoid that (anyway maybe I didn't... I'll check it).

matDDH 07-16-2007 02:19 PM

Quote:

Originally Posted by VBDev (Post 1292796)
I will I will :)



Not it can't. I think this is the same for the thread title editing in vb.

I think it can't be done due to the multiple possibilities (user keyboard, os ...).

anyway I might try to search on the web if that's possible.



I don't really think it could be server side thing as other ajax functionnalities of the chatbox works.

but what's strange is that it don't show anything at all :/ Maybe we'll have to work together to make some debug.

Sure just let me know what you need me to do. Again thank you!

dirty68 07-16-2007 02:28 PM

Cheers Dev matey i hope you sort it all out soon

sybakaos 07-16-2007 02:31 PM

I have a fix to position scrollbar at bottom when a new message is posted by anyone:


1) open template mgc_chatbox and change
Code:

overflow-y
to
Code:

overflow


2) open up mgc_chatbox.js and change
Code:

if (currentRefreshType == 'forced' && chats_order) {
to
Code:

if (1) { // if (currentRefreshType == 'forced' && chats_order) {


Enjoy it!

snapshotz 07-16-2007 03:01 PM

hey VBDev, my bad..the revert templates fixed it..thanks for the great support on this mod and all the added features..still really wanting the random smilies, users keep bothering me about it :)

VBDev 07-16-2007 03:06 PM

Quote:

Originally Posted by sybakaos (Post 1292810)
I have a fix to position scrollbar at bottom when a new message is posted by anyone:

1) open template mgc_chatbox and change
Code:

overflow-y
to
Code:

overflow
2) open up mgc_chatbox.js and change
Code:

if (currentRefreshType == 'forced' && chats_order) {
to
Code:

if (1) { // if (currentRefreshType == 'forced' && chats_order) {
Enjoy it!

I might have badly understand the problem.

What your telling me is that you want the scroll to go down when there are new messages ?

If yes then, I disagree with that coz if you're scrolling along all messages, and you're reading them you would really not appreciate that the scroll goes down while you're reading.

And your fix seems odd to me, changing a condition to just 1 could mess up with other functionnalities. However I might not have understood your problem so let's see !

Desmo 07-16-2007 03:09 PM

I've been playing about with this Chatbox on my dev machine and it's great for the forum I want to use it on. But can it do one thing I need or am I missing a setting somewhere?

Basically, some of my users read the chatbox whilst at work and the forum style makes it obvious. Can I assign a different forum style just for the chatbox page? I could then have a much plainer style that the user can select if they wish to.

VBDev 07-16-2007 04:17 PM

Hum no you can't assign a new style but what you can do is add the style id in the link to the full page


All times are GMT. The time now is 02:31 AM.

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.03535 seconds
  • Memory Usage 1,883KB
  • 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
  • (13)bbcode_code_printable
  • (33)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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