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 - MGC Chatbox Evo (https://vborg.vbsupport.ru/showthread.php?t=168992)

Greenskull 01-05-2009 03:10 AM

I have one question. How can I make it so that by default the scrollbar is at the bottom? I want the first thing you see to be the newest chat (which is at the bottom for me)

gpc10347 01-05-2009 03:14 AM

Anyone else experiencing Private Chat not submitting with the Enter key but working fine if Save is clicked in the dialog box?

I wouldn't be the least bit surprised to learn I am the only one...

Wheemer 01-05-2009 03:17 AM

I second that greenskull... It works perfect in firefox and like you say in IE.

I think the last version didn't have this problem.

Greenskull 01-05-2009 03:21 AM

and how do you get the sound to work? I don't see an option for it

VBDev 01-05-2009 04:08 AM

Quote:

Originally Posted by Cybershaolin (Post 1701478)
Regarding this error, what do I need to remove exactly between the first ; and the last ; ?

OK I know I have to remove the error message but it ends with )}}... so do I remove the whole thing, even after until the other ; ?

Just want to be sure about what to remove...

Code:

;function vBulletin_AJAX_Error_Handler(a){alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin")}}YAHOO.util.Event.onDOMReady(function(){YAHOO.initChatbox=new function(){var a=function(){this.cancel();

Remove :
Code:

alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin")
Quote:

Originally Posted by entertain (Post 1701570)
When clicking on "View all chats of ..." in the menu of a shout (from an other user), I can always only see my own shouts.

Quote:

Originally Posted by The Realist (Post 1701696)
Same here.

The code I see is:

mgc_cb_evo.php?do=search&what=userchats&u=1

Ok to fix this, search in the mgc_cb_evo.php file for :
PHP Code:

if ($vbulletin->GPC['what'] == 'userchats'

Some lines below search for :
PHP Code:

$where_clause "coidentifier IN (" implode(',',$identifier_array) . ") AND fromuid='" $vbulletin->userinfo['userid'] . "'"

Replace it by :
PHP Code:

$where_clause "coidentifier IN (" implode(',',$identifier_array) . ") AND fromuid='" $user['userid'] . "'"

Quote:

Originally Posted by zelnik (Post 1701722)
VBDev,

I'm hoping you can help me on this matter but since installing the latest version of your chatbox I've been notice people have been having to following error on while i'm watching the whois online page..

Unknown Location:

/forum/config.txt

can you please confirm this has nothing to do with your application so I can help narrow down what it could be?

Thanks

There is no config.txt in my mod so I don't think that it comes from the chatbox. Have you been installing another mod lately ?

VBDev 01-05-2009 04:16 AM

Quote:

Originally Posted by Greenskull (Post 1702004)
I have one question. How can I make it so that by default the scrollbar is at the bottom? I want the first thing you see to be the newest chat (which is at the bottom for me)

Quote:

Originally Posted by Wheemer (Post 1702011)
I second that greenskull... It works perfect in firefox and like you say in IE.

I think the last version didn't have this problem.

Known bug ;) Check bug list, there is a bug with IE.

Quote:

Originally Posted by gpc10347 (Post 1702006)
Anyone else experiencing Private Chat not submitting with the Enter key but working fine if Save is clicked in the dialog box?


I wouldn't be the least bit surprised to learn I am the only one...

Well it's not a bug it's not supposed to be working in the way you want it.
I have to check however if it's possible to make it work like that (See requested features list).

Quote:

Originally Posted by Greenskull (Post 1702014)
and how do you get the sound to work? I don't see an option for it

There are two options in the Advanced options of the chatbox.

SnapOff Racing 01-05-2009 04:50 AM

Quote:

Originally Posted by apiasto (Post 1701882)
nice work,very impressive/is there a way that user can set their default font n color?thnx

Yes it's already an option for each user. They have to go into the
USER CP > Edit Options > Then you will see Miscellaneous Options at the very bottom of the page. This is where you set your color.

427mouse 01-05-2009 04:56 AM

Is it possible to make it so that the chatbox will not appear for members unless they have posted in the forum within the last x amount of days?

Problem... In the "ChatBox Command options" the default entered messages are all in French... ??

427mouse 01-05-2009 06:10 AM

Help...

When I refresh the page the formatting of the date, name and text message are displayed (spaced)correctly across the chatbox page. When I open the chatbox by toggling the +- in order to open the chat prompt the name and text are moved (squished) to the right together. Now if I toggle the +- again to get out of the chat they stay to the right. Then if I refresh the page they all move back to their correct location and spacing.

Greenskull 01-05-2009 08:20 AM

Quote:

Originally Posted by VBDev (Post 1702049)
Known bug ;) Check bug list, there is a bug with IE.


There are two options in the Advanced options of the chatbox.

The post warning one? But isnt that for forum posts? And thanks for the reply. I guess I'll have to live with it until you release a fix.

entertain 01-05-2009 08:25 AM

Quote:

Originally Posted by VBDev (Post 1702046)
Remove :
Code:

alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin")

wouldn't it be better to fix this, what causes the error and not delete the error message? ;)

apiasto 01-05-2009 10:08 AM

Quote:

Originally Posted by SnapOff Racing (Post 1702067)
Yes it's already an option for each user. They have to go into the
USER CP > Edit Options > Then you will see Miscellaneous Options at the very bottom of the page. This is where you set your color.

thnx i saw it

VBDev 01-05-2009 10:09 AM

Quote:

Originally Posted by steve427 (Post 1702068)
Is it possible to make it so that the chatbox will not appear for members unless they have posted in the forum within the last x amount of days?

Problem... In the "ChatBox Command options" the default entered messages are all in French... ??

I think (if my memory is correct :)) that a usergroup permission is there for that purpose.

Quote:

Originally Posted by steve427 (Post 1702088)
Help...

When I refresh the page the formatting of the date, name and text message are displayed (spaced)correctly across the chatbox page. When I open the chatbox by toggling the +- in order to open the chat prompt the name and text are moved (squished) to the right together. Now if I toggle the +- again to get out of the chat they stay to the right. Then if I refresh the page they all move back to their correct location and spacing.

Well can you make a screenshot of what you are encountering ?

Quote:

Originally Posted by Greenskull (Post 1702138)
The post warning one? But isnt that for forum posts? And thanks for the reply. I guess I'll have to live with it until you release a fix.

No the auto scroll in IE when chats are at the bottom.

Quote:

Originally Posted by entertain (Post 1702141)
wouldn't it be better to fix this, what causes the error and not delete the error message? ;)

Ajax error can happen if the server is not responding or so on.
It's not a problem of code just network stuff.

I'll be changing things in the next version. That fix is only to stop bothering your users ;)

gpc10347 01-05-2009 12:05 PM

Quote:

Originally Posted by VBDev (Post 1702049)
Well it's not a bug it's not supposed to be working in the way you want it.
I have to check however if it's possible to make it work like that (See requested features list).


I went back to the prior version and verified that this was the way it functioned at that point -
No matter I suppose but old habits die hard! Thanks for a great release

pedroenf 01-05-2009 12:07 PM

Quote:

Originally Posted by VBDev (Post 1702046)
Ok to fix this, search in the mgc_cb_evo.php file for :
PHP Code:

if ($vbulletin->GPC['what'] == 'userchats'

Some lines below search for :
PHP Code:

$where_clause "coidentifier IN (" implode(',',$identifier_array) . ") AND fromuid='" $vbulletin->userinfo['userid'] . "'"

Replace it by :
PHP Code:

$where_clause "coidentifier IN (" implode(',',$identifier_array) . ") AND fromuid='" $user['userid'] . "'"


Confirmed, it works. Thanks again VBDev

VBDev 01-05-2009 01:14 PM

Quote:

Originally Posted by gpc10347 (Post 1702238)
I went back to the prior version and verified that this was the way it functioned at that point -
No matter I suppose but old habits die hard! Thanks for a great release

It was perhaps working in version prior to 2.0.2 as it wasn't using yui for popups.

427mouse 01-05-2009 01:48 PM

When this user error message pops up if they click "enter/ok" without typing anything: "Error: You must enter a chat !" The background color of the error box is white and also the text is white, so the error box looks empty.

Cybershaolin 01-05-2009 02:33 PM

Quote:

Originally Posted by VBDev (Post 1702046)
Remove :
PHP Code:

alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin"


You mean remove this:
PHP Code:

alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin"

or this:
PHP Code:

{alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin")} 

So, do I have to also include the { and } or just like you said?

If I follow what you said, the remaining code should be:
PHP Code:

{var vB_Default_Timeout=15000;function vBulletin_AJAX_Error_Handler(a){}} 

Is that correct? I just want to make sure...

Imperator 01-05-2009 03:01 PM

Hi there,

anyone knows how to make the [img] bb code work in the Chat Box (latest version)?

Thanks!

adnedarn 01-05-2009 03:12 PM

Quote:

Originally Posted by Imperator (Post 1702352)
Hi there,

anyone knows how to make the [img] bb code work in the Chat Box (latest version)?

Thanks!

Admin control pannel > MGC Chatbox Evo : Chats formatting and sending > Activate the BBCODE IMG > select yes button and save. May also have to activate Can us the BBCODE (if active) in usergroup permisisons.. not sure :p

Andrew

VBDev 01-05-2009 03:59 PM

Quote:

Originally Posted by Cybershaolin (Post 1702324)
You mean remove this:
PHP Code:

alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin"

or this:
PHP Code:

{alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin")} 

So, do I have to also include the { and } or just like you said?

If I follow what you said, the remaining code should be:
PHP Code:

{var vB_Default_Timeout=15000;function vBulletin_AJAX_Error_Handler(a){}} 

Is that correct? I just want to make sure...

Yes that is :)

Wheemer 01-05-2009 10:02 PM

Can the chat please somehow work with the arcade and zoints?

KevinL 01-05-2009 10:04 PM

It already works with the arcade...its in the install instructions(read them) and whats wrong with zoints?

Wheemer 01-05-2009 10:19 PM

Thanks I got it working in the arcade now, I had not seen those instructions prior.

On all my zoints pages the chatbox never displays any content, it always says loading.

Wheemer 01-05-2009 10:20 PM

Actually now it doesn't display at all on my zoints pages..

Cybershaolin 01-05-2009 10:43 PM

Quote:

Originally Posted by VBDev (Post 1702399)
Yes that is :)

OK thanks VBDev. I'll try that.

Quote:

Originally Posted by Imperator (Post 1702352)
Hi there,

anyone knows how to make the [img] bb code work in the Chat Box (latest version)?

Thanks!

Quote:

Originally Posted by adnedarn (Post 1702362)
Admin control pannel > MGC Chatbox Evo : Chats formatting and sending > Activate the BBCODE IMG > select yes button and save. May also have to activate Can us the BBCODE (if active) in usergroup permisisons.. not sure :p

Andrew

Yep that works but I have noticed that JPG files show up but it does not work with PNG files. I did not try GIF files yet.

Alexvanleeuwen 01-05-2009 11:08 PM

hmmm, thanks for helping??

Cybershaolin 01-06-2009 02:45 AM

Quote:

Originally Posted by VBDev (Post 1702046)
Remove :
Code:

alert("Ajax error: an error has occured in an ajax request of the chatbox, please report your admin")

OK tried it... and it seems to work (removing the Javascript error) but brings up another issue. Not sure if it's related but I started to receive double messages when writing one chat sometimes... Could it be related? I don't have any idea.

VBDev 01-06-2009 05:44 AM

Quote:

Originally Posted by Wheemer (Post 1702707)
Actually now it doesn't display at all on my zoints pages..

Well I don't know zoint pages at all so I can't tell why it's not working.

If those pages are built with a function then it's normal as the chatbox var is not globalized in that function.

Quote:

Originally Posted by Cybershaolin (Post 1702733)
OK thanks VBDev. I'll try that.

Yep that works but I have noticed that JPG files show up but it does not work with PNG files. I did not try GIF files yet.

Well it's using vB bbcode parsing so if png files don't work in the chatbox it's certainly not working elsewhere on the forum.

Quote:

Originally Posted by Alexvanleeuwen (Post 1702746)
hmmm, thanks for helping??

Woot do that mean ?

Quote:

Originally Posted by Cybershaolin (Post 1702921)
OK tried it... and it seems to work (removing the Javascript error) but brings up another issue. Not sure if it's related but I started to receive double messages when writing one chat sometimes... Could it be related? I don't have any idea.

No I don't think. I noticed that once but when you refresh things are just fine.

Alexvanleeuwen 01-06-2009 07:29 AM

Ill posted a error here in this post that the chat gives a lot of error mail end ill get no answer??
That's what i maent;)

Skyrider 01-06-2009 07:53 AM

Love the new update, thanks. Your copyright is really small though, I can barely read it. I think it an be a little bit better readable. Also, replied to make a small bug report:

All posts/threads that are set to "moderation" is being displayed in the chat box. All moderated posts shouldn't be displayed by any of the normal members in my opinion ^^_. I've double checked it, it also shows for public users:

Quote:

<Anonyme> Created thread : ???????? ?????? ???!
While the thread is "waiting to be accepted".

entertain 01-06-2009 09:55 AM

Another feature wish:

In the new version there is a global option, that users hear a sound when there is a new shout.

Wouldn't it be better when each user could decide theirselves if they want to here this sound?
Maybe with a command?
/sound on
/sound off

:D

bocek 01-06-2009 10:02 AM

Quote:

Originally Posted by entertain (Post 1703119)
Another feature wish:

In the new version there is a global option, that users hear a sound when there is a new shout.

Wouldn't it be better when each user could decide theirselves if they want to here this sound?
Maybe with a command?
/sound on
/sound off

:D

In fact, there is already an option for that.
Each user can turn on/off sound forum their "UserCP - > Edit Options"

But I agree with you, it could be easier.
May be with a button on the chatbox???

Imperator 01-06-2009 11:08 AM

Quote:

Originally Posted by adnedarn (Post 1702362)
Admin control pannel > MGC Chatbox Evo : Chats formatting and sending > Activate the BBCODE IMG > select yes button and save. May also have to activate Can us the BBCODE (if active) in usergroup permisisons.. not sure :p

Andrew

Thanks a lot!

Greenskull 01-06-2009 12:33 PM

I still can't find the sound option. What's it called specifically?

pedroenf 01-06-2009 02:29 PM

Quote:

Originally Posted by entertain (Post 1703119)
Another feature wish:

In the new version there is a global option, that users hear a sound when there is a new shout.

Wouldn't it be better when each user could decide theirselves if they want to here this sound?
Maybe with a command?
/sound on
/sound off

:D


That option is already there in each one CP. Just enable the option in the MGC CP.

Cybershaolin 01-06-2009 03:10 PM

Quote:

Originally Posted by VBDev (Post 1703014)
Well it's using vB bbcode parsing so if png files don't work in the chatbox it's certainly not working elsewhere on the forum.

I can assure you PNG files are showing on my forum. I'll test it again in the ChatBox again and report later.

Quote:

Originally Posted by VBDev (Post 1703014)
No I don't think. I noticed that once but when you refresh things are just fine.

I had refresh everything and it happened maybe 3 times. But since then, it did not happen again. I'll cross my fingers.

Markos 01-06-2009 05:54 PM

I've uninstalled this till theres a new update im getting to many errors since i upgraded to the new one

SnapOff Racing 01-06-2009 09:38 PM

Quote:

Originally Posted by FF|Skyrider (Post 1703057)
Love the new update, thanks. Your copyright is really small though, I can barely read it. I think it an be a little bit better readable.

HAHAHA WTF are you serious? Man some people are just beyond me with the things they say LMAO!! People complain when it's too big and now cause it's too small lol WOW!:erm:

shavedaccord 01-06-2009 10:14 PM

Installed everything several times, looked over all settings but it doesn't show up on my forum anywhere.


All times are GMT. The time now is 11:38 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.08065 seconds
  • Memory Usage 1,889KB
  • 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
  • (13)bbcode_php_printable
  • (37)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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