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)

Jeweetog 06-17-2010 10:26 AM

Quote:

Originally Posted by ti07shadow (Post 2054642)
lets see

+. Multiple Users unable to see all chats
+. Users get the following error


On Line 358


Try to reupload that file.

Chewy954 06-18-2010 02:23 AM

how would I go about creating a custom command for this version? I used to use <1.0 which had built in custom commands, not sure how I'd add it here.

Datenpapst 06-18-2010 02:58 PM

any possiblity to show specific channels only for specific languages?

ProFifaLeagues 06-18-2010 08:00 PM

A few users are reporting that the chat doesn't refresh for them very well and they have a spinning icon for ages and then it wont refresh???
Any ideas as its working fine for myself and other users.

ebt 06-19-2010 06:04 PM

Whenever I try to change my profile options the shoutbox completely disappears off the forum index. I have installed and uninstalled numerous times and this keeps happening.

Jeweetog 06-20-2010 01:57 PM

Quote:

Originally Posted by ebt (Post 2055960)
Whenever I try to change my profile options the shoutbox completely disappears off the forum index. I have installed and uninstalled numerous times and this keeps happening.


Which options did you change?

DragonlordP 06-22-2010 09:31 AM

OK, here's my problem:
I have two styles installed, one white and one black. At the beginning, a user's font in the chatroom looks white if you have the black style and black if you have the white style, just like it should be. Now, if the user goes to his control panel and changes the color and then changes back to "use default color", it becomes black - or whatever color is set as default in that user's usergroup permissions. This means that users with the black style can't see what he's writing. I've currently set the default color to green, so that it's visible in both styles, but I'd like to get it to work like it should - white on black, black on white.
Also, is there a way to exclude specific colors from the users selection? So that I can exclude black and white (or any color that isn't viewable in both styles)?
Thanks in advance, great piece of software.

Gn_Snake 06-22-2010 06:30 PM

Hello,
I have the same problem I had with the previous version for vb3.x then resolved with a patch.
Chat if I write a word with the accent, the chat does not write the message, but remains on standby

What can be?

jgruberman 06-23-2010 08:28 PM

I looked and looked and looked AND looked...

How the heck does this get on the top of all pages? I've tried all different options, changing the global_start, just about anything I can think of.

Is there a solution buried here that I missed?

EasyTarget 06-24-2010 02:42 AM

Possible bug?

Searching for * (asterisk) gives
Quote:

Warning: preg_replace() [function.preg-replace]: Compilation failed: nothing to repeat at offset 1 in [path]/mgc_cb_evo/classes/class_formatting.php on line 508

Warning: preg_replace() [function.preg-replace]: Compilation failed: nothing to repeat at offset 1 in [path]/mgc_cb_evo/classes/class_formatting.php on line 508
x 30

Jeweetog 06-24-2010 07:54 AM

Quote:

Originally Posted by jgruberman (Post 2058422)
I looked and looked and looked AND looked...

How the heck does this get on the top of all pages? I've tried all different options, changing the global_start, just about anything I can think of.

Is there a solution buried here that I missed?


In options "Display and position" its the top 2 options. Select in that dropdown menu "above the forums". And you should be seeing them at the top of all pages.


Quote:

Originally Posted by EasyTarget (Post 2058555)
Possible bug?

Searching for * (asterisk) gives x 30


The * (asterisk) has a 'purpose' in the programming language php.

Try this:

\*

StarBuG 06-24-2010 09:55 AM

Thanks :p

StarBuG

AWS3 06-24-2010 12:15 PM

thanks fot the chatbox..., but configuration could be easier....

VBDev 06-24-2010 04:42 PM

Quote:

Originally Posted by ti07shadow (Post 2054642)
lets see

+. Multiple Users unable to see all chats
+. Users get the following error


On Line 358

Open the mgc_cb_evo.php file, at line 358 search for :
PHP Code:

if (!$hasaccess && !empty($vbulletin->userinfo['membergroupids'])) 

Replace it by :
PHP Code:

if (!$hasaccess && is_array($channel['usergroupids']) && !empty($vbulletin->userinfo['membergroupids'])) 

Quote:

Originally Posted by Chewy954 (Post 2055240)
how would I go about creating a custom command for this version? I used to use <1.0 which had built in custom commands, not sure how I'd add it here.

Yep there was in that earlier version but as almost no users used it I removed it to simplify the install process.

What you can do is have a look at the code and tell me locations you could be interested to have hooks and I could consider adding them ?

Quote:

Originally Posted by Datenpapst (Post 2055463)
any possiblity to show specific channels only for specific languages?

No the chatbox doesn't allow that but that's pretty interesting, I am adding this to the request list.

Quote:

Originally Posted by ebt (Post 2055960)
Whenever I try to change my profile options the shoutbox completely disappears off the forum index. I have installed and uninstalled numerous times and this keeps happening.

Do you see chatbox options in your usercp options ?

VBDev 06-24-2010 04:49 PM

Quote:

Originally Posted by DragonlordP (Post 2057351)
OK, here's my problem:
I have two styles installed, one white and one black. At the beginning, a user's font in the chatroom looks white if you have the black style and black if you have the white style, just like it should be. Now, if the user goes to his control panel and changes the color and then changes back to "use default color", it becomes black - or whatever color is set as default in that user's usergroup permissions. This means that users with the black style can't see what he's writing. I've currently set the default color to green, so that it's visible in both styles, but I'd like to get it to work like it should - white on black, black on white.
Also, is there a way to exclude specific colors from the users selection? So that I can exclude black and white (or any color that isn't viewable in both styles)?
Thanks in advance, great piece of software.

Hum, I'll mark this as a bug it's odd, I'll have a look.

I'll also add an option to specify the colors allowed in the chatbox.

Quote:

Originally Posted by Gn_Snake (Post 2057627)
Hello,
I have the same problem I had with the previous version for vb3.x then resolved with a patch.
Chat if I write a word with the accent, the chat does not write the message, but remains on standby

What can be?

What was that patch ?

Quote:

Originally Posted by Jeweetog (Post 2058650)
The * (asterisk) has a 'purpose' in the programming language php.

Yes but that shouldn't fire an error ;) I should have string processing to avoid that.
Adding this to bug list.

Alfa1 06-25-2010 03:08 PM

Some of my members discovered an exploit of this mod which allows anyone to find and access all channels, regardless of the permission settings. This is because all the buttons do is:

javascript:display_channel(1);

There are no additional permissions checks and anyone can access our staff chat. All private communication in such channels are in the open.

So all a user has to do is type 'javascript:void(display_channel(1));' in the browser and replace the number 1 by another number, and they are in another channel.

I am still on 2.4.2 though. Has this been fixed in the latest version?

viader 06-25-2010 05:55 PM

I have encountered a strange problem - I have set the number of days to keep chats in archive to 3 days but after one day all chats get deleted. I reinstalled the Chatbox EVO (but it didn't helped), and my vbulletin is newest version 4.0.4 patch 1

elteejay 06-26-2010 02:46 AM

I have a dark theme and I'm getting the following bug.

When the user select a color from his usercp and then changes back to default the chats takes black as default color and thus could be bearly unreadable in dark styles.

Any tips or fixes for this? I attempted to reupload the files to reinstall, but that did nothing.

I'm using vb 3.8.5

Jollyware 06-26-2010 05:31 AM

Installed and Admin CP is fine, just a quick question, how do i get this to show on my forum. For some reason the chatbox is not showing.

Im guessing thats its gonna be an easy fix, but I just cant figure it out.

Thanks for your help.

VBDev 06-26-2010 06:01 AM

Quote:

Originally Posted by Alfa1 (Post 2059414)
Some of my members discovered an exploit of this mod which allows anyone to find and access all channels, regardless of the permission settings. This is because all the buttons do is:

javascript:display_channel(1);

There are no additional permissions checks and anyone can access our staff chat. All private communication in such channels are in the open.

So all a user has to do is type 'javascript:void(display_channel(1));' in the browser and replace the number 1 by another number, and they are in another channel.

I am still on 2.4.2 though. Has this been fixed in the latest version?

Hum I have never been aware of that !
When you say that you enter this in your browser, how do you do it ?

That could be fixed by putting an ajax call to check channel switch permissions. I'll mark this as a bug once you tell me exactly how to reproduce it.

Quote:

Originally Posted by elteejay (Post 2059686)
I have a dark theme and I'm getting the following bug.

When the user select a color from his usercp and then changes back to default the chats takes black as default color and thus could be bearly unreadable in dark styles.

Any tips or fixes for this? I attempted to reupload the files to reinstall, but that did nothing.

I'm using vb 3.8.5

Known bug, will be adressed in next version.

Quote:

Originally Posted by Jollyware (Post 2059722)
Installed and Admin CP is fine, just a quick question, how do i get this to show on my forum. For some reason the chatbox is not showing.

Im guessing thats its gonna be an easy fix, but I just cant figure it out.

Thanks for your help.

Have you set usergroup permissions ?

Alfa1 06-26-2010 06:03 PM

When you are on any page with the chatbox active, just type this in the browser address bar:
javascript:display_channel(1);

Change the number around to go to other channels.

I tested this in FF latest version.

The current functionality only adds a button to a channel. The only thing that stops someone from entering a restricted channel is that the button is gone. The code to go to the channel still works, as there are no permission checks for the function.

VBDev 06-26-2010 07:06 PM

No coz I didn't thought at that !

I am adding this to the bug list and will work on new version ASAP.

Alfa1 06-26-2010 07:52 PM

Thanks!

lyrex 06-27-2010 10:27 AM

How to unsinstall the Addon?
If I just uninstall it in admin-panel, it isn't well done.
In usergroups are even then anymore rows, and the sql-syntax is wrong.
Here is a Screenshot of the Admin-Panel Usergroupmanagement:
http://img101.imageshack.us/img101/8381/picoa.jpg


€dit:
I'm sorry. I haven't read the full ReadMe.
Thank you.

Jeweetog 06-27-2010 11:29 AM

Quote:

Originally Posted by lyrex (Post 2060400)
How to unsinstall the Addon?
If I just uninstall it in admin-panel, it isn't well done.
In usergroups are even then anymore rows, and the sql-syntax is wrong.
Here is a Screenshot of the Admin-Panel Usergroupmanagement:
http://img101.imageshack.us/img101/8381/picoa.jpg


There is a readme file that explains how to install this product.

But, it also explains how to uninstall this product.

DevilzFan 06-27-2010 04:16 PM

I tried searching this thread with no luck.

Can anyone tell me where the option is to change the automatic refresh time for the chatbox? I've gone through the entire section in the admincp at least a dozen times now, and can't find it.

Thanks.

zeroality 06-27-2010 06:31 PM

I was about to install this but saw in the instructions that you want me to overwrite my forums' language file? That makes me a little nervous...

I'm sure it's for phrases and such but why doesn't the product import those, as is usually done?

Also, the reason I wanted to try this over vSA is because Valter's chatbox doesn't work with the custom pages mod. I want the chatbox directly on a custom page, not anywhere else on the forum. Would that be possible with this?

One more thing - the demo link to the forumcoding forums leads you to an index with no relevant links to any chatbox demo, unless I missed something?

Appreciate the help, thanks.

DragonlordP 06-27-2010 07:47 PM

Quote:

Originally Posted by DevilzFan (Post 2060569)
I tried searching this thread with no luck.

Can anyone tell me where the option is to change the automatic refresh time for the chatbox? I've gone through the entire section in the admincp at least a dozen times now, and can't find it.

Thanks.

Yeah, that took me quite a while to figure out as well. IIRC, it's in Usergroups permissions.

gpc10347 06-28-2010 01:53 AM

Anyone else experiencing an issue when logging off that results in the following error?

Message: Object required
Line: 664
Char: 5
Code: 0

which points to
var chatid = jchats[i].getElementsByTagName('chatid')[0].firstChild.nodeValue;

I have a custom template or two but even if switched to the defaults, the log off hangs with the chat window attempting to display (I have the site set to not allow unregistered to see the chat so maybe that's responsible?)

I also noticed that my private chat tab was missing it's cross icon.

label: tabusername + ' <span class="close"><img src="mgc_cb_evo/clientscript/cross.png" border="0" /></span>', fixed that one.

I think the path was reversed initially?

Any clues on how to get the log off to behave?

Gn_Snake 06-28-2010 10:44 AM

Quote:

Originally Posted by Gn_Snake
Hello,
I have the same problem I had with the previous version for vb3.x then resolved with a patch.
Chat if I write a word with the accent, the chat does not write the message, but remains on standby
Quote:

What can be?
What was that patch ?

You had released a patch for this specific problem, but after an upgrade of the plugin was fixed.

Maybe some bug is resolved by placing too :)

However you have some ideas on how to solve this problem?
Thank you very much

Jeweetog 06-28-2010 10:44 AM

@gpc10347, read the 'reported bugs' in the mod post. There is a fix for it.

gpc10347 06-28-2010 04:27 PM

Quote:

Originally Posted by Jeweetog (Post 2060981)
@gpc10347, read the 'reported bugs' in the mod post. There is a fix for it.

Thanks for the assist but I must have lost my eyesight or something (I am old you know).

I can't seem to find a reference to the log out problem at all. I did fail to mention vb 4.0.4 and mod version 3.0 but still, I can't seem to locate a reference to logging out, or "var chatid = jchats[i].getElementsByTagName('chatid')[0].firstChild.nodeValue;" noted up there with the other reported bugs and such.

Can you perhaps straighten out my eyesight, teach me to read, or maybe paste in the fix please?

Thanks

VBDev 06-29-2010 05:25 AM

Quote:

Originally Posted by gpc10347 (Post 2060814)
Anyone else experiencing an issue when logging off that results in the following error?

Message: Object required
Line: 664
Char: 5
Code: 0

which points to
var chatid = jchats[i].getElementsByTagName('chatid')[0].firstChild.nodeValue;

I have a custom template or two but even if switched to the defaults, the log off hangs with the chat window attempting to display (I have the site set to not allow unregistered to see the chat so maybe that's responsible?)

If you look into the archives, what are the latest chat ? Do you have bot or special commands chats ?

Quote:

Originally Posted by gpc10347 (Post 2060814)
I also noticed that my private chat tab was missing it's cross icon.

label: tabusername + ' <span class="close"><img src="mgc_cb_evo/clientscript/cross.png" border="0" /></span>', fixed that one.

I think the path was reversed initially?

Path changed indeed. This has been fixed in the under development version.

Quote:

Originally Posted by Gn_Snake (Post 2060980)
You had released a patch for this specific problem, but after an upgrade of the plugin was fixed.

Maybe some bug is resolved by placing too :)

However you have some ideas on how to solve this problem?
Thank you very much

I don't remember of the patch if you can point me to it I could tell you wether this is supported in this version or not.

gpc10347 06-29-2010 11:23 AM

Quote:

Originally Posted by gpc10347 (Post 2060814)
Anyone else experiencing an issue when logging off that results in the following error?

Message: Object required
Line: 664
Char: 5
Code: 0

which points to
var chatid = jchats[i].getElementsByTagName('chatid')[0].firstChild.nodeValue;

Quote:

Originally Posted by VBDev (Post 2061495)
If you look into the archives, what are the latest chat ? Do you have bot or special commands chats ?

I looked into the archives and made several revisions trying to pin it down to explain it better but I did find a workable solution -
If I adjust the usergroup "Unregistered / Not Logged In" to "Yes" for the "Can view the chatbox" option, logoff works perfectly! I'd prefer to hide the chat from that group but for now, this is functionally alright.

Is that useful information for you?

Quote:

Originally Posted by gpc10347 (Post 2060814)
Path changed indeed. This has been fixed in the under development version.

Thanks (as always)
Hope all if well for you and yours

(Oh.. one last item: Are you certain you want to mention vBCms integration (as seen https://vborg.vbsupport.ru/showthread.php?t=170156) as a valid integration solution? I tried and tried to make it work until I realized the hack is for an older version and uses depreciated or non-existant code (won't work on 4.0.4) )


*** UPDATE ***
Finally frustrated with vbCMS, I disabled it and installed VbAdvanced and reset the permissions for the Unregistered group to not allowing viewing of the chats.. and, as you might expect, it now works famously and, as a bonus - the integration into VbAdvanced is awesome...

Not sure if others would benefit by further exploration of the issues I was having with vbCMS but I'm pretty much convinced - I'm back to vbAdvanced.

VBDev 07-01-2010 04:24 AM

Quote:

Originally Posted by gpc10347 (Post 2061644)
I looked into the archives and made several revisions trying to pin it down to explain it better but I did find a workable solution -
If I adjust the usergroup "Unregistered / Not Logged In" to "Yes" for the "Can view the chatbox" option, logoff works perfectly! I'd prefer to hide the chat from that group but for now, this is functionally alright.

Is that useful information for you?

Oh ! I misread then the issue is for unregistered user or not logged in users when chatbox is set to can't view right ?
That helps trying to figure it out.

Quote:

Originally Posted by gpc10347 (Post 2061644)
(Oh.. one last item: Are you certain you want to mention vBCms integration (as seen https://vborg.vbsupport.ru/showthread.php?t=170156) as a valid integration solution? I tried and tried to make it work until I realized the hack is for an older version and uses depreciated or non-existant code (won't work on 4.0.4) )

Well I thought it had been maintained but if it's not the case then yeah I should remove it.

gpc10347 07-01-2010 09:45 AM

Quote:

Originally Posted by VBDev (Post 2062554)
Oh ! I misread then the issue is for unregistered user or not logged in users when chatbox is set to can't view right ?
That helps trying to figure it out.



Well I thought it had been maintained but if it's not the case then yeah I should remove it.

Seems to only happen if I used the suites' CMS, logged in as a user with 'can view the chats ' permission and the chat was set to 'can't view' for the newly logged off and therefore unregistered user I became once I logged out.. (whew. glad I ain't you :)

That's rather confusing to type. Hopefully, you can decode what I mean but as mentioned, I sidestepped the issue by moving to vbAdvanced
Thanks again

Scitz0 07-01-2010 09:55 AM

Just installed this chat on my vb 4.0.4 forum and it seems to work nicely so far.
I found two bugs though that I couldnt find in the list of repported bugs in the short time playing with it.

1) When clicking on the questionmark the popupwindow with the help comes up. But at the top in this window I get 8 of these
Quote:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/mgc_cb_evo.php on line 911
2) I have choosen to place the chatbox in "forumdisplay" and I wanted it to only be available in a specific forum so I added the id to the "Ids of the forums in which the chatbox shall be displayed" setting. But if I do this I cant see the chatbox even though the forum id is correct. So I cleared this setting and now I can see the chatbox on all forums. So this setting doesnt seem to work.
Any workaround for this until its fixed?

T34 07-02-2010 07:42 AM

1 Attachment(s)
Thanks for the excellent product!

I've make a Russian localization for MGC Chatbox Evo 3.0.0.

Hadn't a lot of time to test it perfectly. But the main features work well. Some features are added ? russian chat Help is advanced, for example.

The my first profession is russian linguistic, so the Russian language in this localization is literary. There is no slang and, I hope, there are no grammar mistakes and orthographic faults. :)

Also I've see that there is a bug in "mgc_cb_evo_functions.js" script in original installation package. Problems are solved, use the file from "Upload.zip" archive. You can see the bags if you compare the original and archived files.

You can see the result here: http://www.rasstanovka.su

Files are attached.

Good Luck! :D

T34 07-02-2010 09:37 PM

I need to change the background color of the tabs in chat window.

The default color of 1 element looks wrong in me design. This tab is in image:https://vborg.vbsupport.ru/external/2010/07/73.jpg

May be anybody knows in what file of this product and how can I change the bgcolor of tab?

T34 07-03-2010 11:15 PM

Time and date in vB works fine. Local settings (ru_RU, UTF-8 etc.) is right.

But when I use the functions {time} or {date} in bot's phrases, chatbox returns the follows, for example:

%04:%Jul

May be, is it possible to solve it?


All times are GMT. The time now is 06:05 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.06948 seconds
  • Memory Usage 1,879KB
  • 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
  • (2)bbcode_php_printable
  • (30)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