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)

NathanLedet 08-09-2010 09:33 PM

1 Attachment(s)
I'm on a Mac and this is what the font-color drop down list looks like (Chrome 4.0 and Safari 5.0)

Attachment 120607

It works OK on FireFox.

Someone on a Windows machine said the drop down list looks good on Chrome. Not sure what's happening here :(

furst 08-10-2010 12:51 AM

ive installed this and all i get is a white page now for my forum, any suggestions? when i disable the product my forum is up and running again.

Any Ideas???

im using vbulletin v4.0.4

Skyrider 08-10-2010 03:20 PM

People on my forum are experiencing a bugged scroll bar issue where it won't fully scroll down when refreshing a page for example. Any idea what's going on?

BlueAce913 08-10-2010 09:31 PM

it doesn't load the icons in chatbox.
What do you mean by "Upload the content of the Images in each of your forum styles directories" ?? i am using the default style in vb4.0 where is this folder?

GreJan 08-13-2010 02:04 PM

Any more than any channel images are shown, although I believe I have loaded in the correct directories.

https://vborg.vbsupport.ru/

exyuteam 08-13-2010 08:56 PM

In VB 4.xx if you want to point on specific post, link must be:


http://DOMEN-COM/showthread.php?p=XXXXX#postXXXXX

In Chatbox, we have notification when new post are entered, and if we click on that link, we see that page, and not post itself!

Clement, please correct this in next version....


Thanks in advance!

exyuteam 08-13-2010 09:31 PM

Quote:

Originally Posted by GreJan (Post 2083235)
Any more than any channel images are shown, although I believe I have loaded in the correct directories.

https://vborg.vbsupport.ru/

You not named your images right, or you not put it in right place. Right click on that broken pic, then properties, and see WHAT your browser cannot find. When you see that URL, we (and you) can see what's wrong.

GreJan 08-14-2010 09:55 AM

Ok, Thank“s.
Now it works.
Sorry for my bad English

Lifesupporters 08-14-2010 05:41 PM

I'm using this on a 3.8.x install and it's working for the most part. There are a few minor issues such as not remembering user preference when it comes to collapsed or open state of smilies, bbcode, etc., but that's not much of a concern.

The one question I do have however is in regards to bot configuration. I know how to use the bot and have it configured to answer specific questions but I don't know how to configure the bot for wildcard questions?

Essentially, the bot will only answer specific questions if they are input exactly as programmed, including punctuation for example:

Question: Is anyone here?
Bot: Yes I'm here, how are you {username} :)

...however, any changes to the original question will not yield results so for example:

Question: Is Anyone Here?
Bot: No response.

Question: Is Anyone Here
Bot: No response.

Question: anyone here?
Bot: No response.

...

Is there a way to configure the bot to reply to wildcard queries that have a portion of text that matches what's been programed in the ACP?

Thanks.

VBDev 08-18-2010 09:11 AM

Quote:

Originally Posted by Karmacode (Post 2080961)
When i try to delete a message with the command "Supprimer le chat de" doesn't happen nothing :( I have vb3.8.5 and mgc 2.3.2 with some command translate in italian language.

This happen also with the command " Supprimer tous les chats de" :(

What i can do to fix it?

Do you get any js error message in your browser console ?

Quote:

Originally Posted by Silver_2000_)! (Post 2080974)
when I change that I get

There is a missing classes/ after mgc_cb_evo/.

Quote:

Originally Posted by cory_booth (Post 2081082)
I want to add it happens with regular notices too...
As an Admin... I have my normal avatar all over the chat...
But occasionally - the image switches and leave me with a red X

There was a bug and I corrected it in the next version.

Quote:

Originally Posted by MyCTaK (Post 2081283)
1. When I deactivate the formatting BBCODE and uncheck all BBCODEs (that will display a picture in chat after afterward) the user chats are not formatted to split lines. There appears slider at bottom and you have to slide to read every long sentences. I want to enable URL BBcode but to hide BBcode button.

Please be a bit more precise.

Quote:

Originally Posted by MyCTaK (Post 2081283)
2. When you "Activate the formatting BBCODE" all options are still vizible and seems to work but... if you don't check em all from admincp they didn't work. I mean that if they are disabled they must not be vizible (or be muted), right?

Please put a screenshot of the option you are talking and what happens coz I don't get you.

Quote:

Originally Posted by MyCTaK (Post 2081283)
3. I want to hide "help" and "Archives" :/ (or they can be visible only for moderators)

Edit the templates.

Quote:

Originally Posted by MyCTaK (Post 2081283)
4. If you pm to someone and have avatars enabled it displays his avatar (instead of yours) and if he pm you back it shows his avatar again.

It's a reported bug, fixed in the next version.

Quote:

Originally Posted by MyCTaK (Post 2081283)
5. I am using dark style with white font and all your popups are light background. I cant read what popup ask me. How I can change that fast, so I don't have to wait for product update?

You meant the error popups and so on ?
It's yui style, try playing with css from that file :
mgc_cb_evo/clientscript/widget-skin.css

Quote:

Originally Posted by MyCTaK (Post 2081283)
6. If you have popup that have link to #something it reloads to the CMS, so you can't really complete the operation. I tried to unstick message but when i hit "Unstick" it reloads the page to CMS and even if I am fast enough to hit "OK" it don't work. Its the same with error message when you have open more than allowed pm tabs.

This is a bug, I corrected it in the next version.

Quote:

Originally Posted by MyCTaK (Post 2081283)
7. How I can close pm tab?

There is a red cross in the PM tab name.

Quote:

Originally Posted by MyCTaK (Post 2081283)
8. My chat is at FORUMHOME and it have background (block mgc_cb_evo_block). Other vBulletin panels dont have. And chat is not vertical centered toward forums (it stays like 15px to the right)

Have you tried to modify the mgc_cb_evo.css to fullfill your specific needs ?

Quote:

Originally Posted by MyCTaK (Post 2081283)
9. You can't change "Main channel" name and options. Why?

The main channel is a default channel, you can't change it because I designed it like that (bad reponse huh ;)).

To change the name of the channel, edit the phrase : mgc_cb_evo_channel_gen.

Quote:

Originally Posted by MyCTaK (Post 2081283)
10. Is it possible pm chats to open pm tabs? So if you write to someone and he check his chat after 30min he can see that you have pm him something?

Interesting suggestion, it's not straightforward to do so however.

Would that mean the receiver hasn't done anything in the chatbox for 30 mins (during which a PM is sent to him) and then you would like a popup to open ?

This is not that easy as there is the max PM tabs opened limitation...

Quote:

Originally Posted by MyCTaK (Post 2081283)
Don't understand me wrong. I think your product is VERY GOOD and you make it with your heart. But please, fix known bugs before you go for improvements.

In a dream world things would be done like this, however as I do this as a kind of hobby I don't spend all my time on the chatbox.

Per consequence when I work on a new version it's during 1 or 2 weeks a bit every day so If I was first fixing the bugs I would never have time to go on for improvements (due to the time spent on creating the release and releasing it).

So I prefer providing bug fixes along with improvements.

VBDev 08-18-2010 09:15 AM

Quote:

Originally Posted by NathanLedet (Post 2081517)
I'm on a Mac and this is what the font-color drop down list looks like (Chrome 4.0 and Safari 5.0)

Attachment 120607

It works OK on FireFox.

Someone on a Windows machine said the drop down list looks good on Chrome. Not sure what's happening here :(

What do you mean by not working properly ?

Do you mean that you see the color names as shown on your screenshot and that the dropdown doesn't show color lines as it does on some windows machine ?

If so, it's normal, Safari and Chrome doesn't support the background-color css style for select option. There is nothing I could do about this unless I recode dropdown list and so on as it's done by vB for their dropdown list (but I don't have the time to do so sorry).

Quote:

Originally Posted by furst (Post 2081565)
ive installed this and all i get is a white page now for my forum, any suggestions? when i disable the product my forum is up and running again.


Any Ideas???

im using vbulletin v4.0.4

Have you applied the bug corrections stated in the first post ? (link near the reported bugs)

Quote:

Originally Posted by FF|Skyrider (Post 2081761)
People on my forum are experiencing a bugged scroll bar issue where it won't fully scroll down when refreshing a page for example. Any idea what's going on?

Please be more explicit.

Quote:

Originally Posted by BlueAce913 (Post 2081893)
it doesn't load the icons in chatbox.
What do you mean by "Upload the content of the Images in each of your forum styles directories" ?? i am using the default style in vb4.0 where is this folder?

You have to upload the mgc_cb_evo image folder in the misc directory of each of your style.

Quote:

Originally Posted by GreJan (Post 2083235)
Any more than any channel images are shown, although I believe I have loaded in the correct directories.

http://img337.imageshack.us/img337/3469/bild1ns.png

Please post a screenshot of what you input in the channel image option and also a screenshot of the content of your channels images directory.

VBDev 08-18-2010 09:25 AM

Quote:

Originally Posted by exyuteam (Post 2083416)
In VB 4.xx if you want to point on specific post, link must be:


http://DOMEN-COM/showthread.php?p=XXXXX#postXXXXX

In Chatbox, we have notification when new post are entered, and if we click on that link, we see that page, and not post itself!

Clement, please correct this in next version....


Thanks in advance!

Fixed in the next version.

Quote:

Originally Posted by Lifesupporters (Post 2083848)
I'm using this on a 3.8.x install and it's working for the most part. There are a few minor issues such as not remembering user preference when it comes to collapsed or open state of smilies, bbcode, etc., but that's not much of a concern.

The one question I do have however is in regards to bot configuration. I know how to use the bot and have it configured to answer specific questions but I don't know how to configure the bot for wildcard questions?

Essentially, the bot will only answer specific questions if they are input exactly as programmed, including punctuation for example:

Question: Is anyone here?
Bot: Yes I'm here, how are you {username} :)

...however, any changes to the original question will not yield results so for example:

Question: Is Anyone Here?
Bot: No response.

Question: Is Anyone Here
Bot: No response.

Question: anyone here?
Bot: No response.

...

Is there a way to configure the bot to reply to wildcard queries that have a portion of text that matches what's been programed in the ACP?

Thanks.

Well I don't have the time before the end of the week to run a test but here is a little test of code change we could try.

Edit the includes/class_dm_mgccbchat.php file.

Search for :
PHP Code:

                        if (strcasecmp($bot['question'],$this->raw_chat) == 0)
                        {      
                            
// Do some replacements
                            
$bot['answer'] = str_replace('{username}',htmlspecialchars($this->registry->userinfo['username']), $bot['answer']);
                            
$bot['answer'] = str_replace('{time}',vbdate($this->registry->options['timeformat'],TIMENOW,true,false), $bot['answer']);            
                            
$bot['answer'] = str_replace('{date}',vbdate($this->registry->options['dateformat'],TIMENOW,false,false), $bot['answer']);
                            
// Save the bot answer for sending
                               
$this->bot_answer $bot['answer'];
                            
$notfound    0;
                        } 

Replace this by :

PHP Code:

$found 0;
if (
strlen($bot['question']) == strlen($this->raw_chat))
{
    if (
strncasecmp($bot['question'],$this->raw_chat) == 0)
    {
        
$found 1// Same length string and string equals
    
}
}
else if (
strlen(stristr($this->raw_chat,$bot['question']))>0)
{
    
$found 1// Bot question included in part of the chat
}
    
if (
$found)
{
    
// Do some replacements
    
$bot['answer'] = str_replace('{username}',htmlspecialchars($this->registry->userinfo['username']), $bot['answer']);
    
$bot['answer'] = str_replace('{time}',vbdate($this->registry->options['timeformat'],TIMENOW,true,false), $bot['answer']);            
    
$bot['answer'] = str_replace('{date}',vbdate($this->registry->options['dateformat'],TIMENOW,false,false), $bot['answer']);
    
// Save the bot answer for sending
    
$this->bot_answer $bot['answer'];
    
$notfound    0;


I haven't tested the code and did it quickly @work but if you can try it that would be nice :)

Lifesupporters 08-18-2010 12:11 PM

Thanks for the response VBDEV, much appreciated!

I'll give your code a try this evening, test it for a day or so and report back on how it worked out :)

nando99 08-18-2010 04:41 PM

Great mod!

Getting errors when I click on Edit Options in the UserCP

Code:

Warning: require_once([path]/includes/mgc_cb_evo/class_misc.php) [function.require-once]: failed to open stream: No such file or directory in [path]/profile.php(4549) : eval()'d code on line 128

Fatal error: require_once() [function.require]: Failed opening required '/home/xwnet/public_html/pts1/includes/mgc_cb_evo/class_misc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xwnet/public_html/pts1/profile.php(4549) : eval()'d code on line 128

thanks in advance...

Da-Vinci 08-18-2010 07:23 PM

Sorry if this has already been asked, but this is a very long thread to be reading it all.

My question is I'd like to display the chatbox globally under the Navbar at 100% width of the forum. On my VBA page it displays fine under the Navbar. I added this hook {vb:raw mgc_cb_evo_var} to the end of my Navbar template similar to what I'd done with the VSA chatbox.

The problem is on the Forumhome template the Chatbox gets placed next to the Sidebar, I'd rather have it above the Forums & Sidebar if possible.

It also doesn't seem to display on the forumdisplay or the showthread template.

VBDev 08-18-2010 11:09 PM

Quote:

Originally Posted by Lifesupporters (Post 2085733)
Thanks for the response VBDEV, much appreciated!

I'll give your code a try this evening, test it for a day or so and report back on how it worked out :)

Yes please :) Keep me in touch.

Quote:

Originally Posted by nando99 (Post 2085860)
Great mod!

Getting errors when I click on Edit Options in the UserCP

Code:

Warning: require_once([path]/includes/mgc_cb_evo/class_misc.php) [function.require-once]: failed to open stream: No such file or directory in [path]/profile.php(4549) : eval()'d code on line 128

Fatal error: require_once() [function.require]: Failed opening required '/home/xwnet/public_html/pts1/includes/mgc_cb_evo/class_misc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xwnet/public_html/pts1/profile.php(4549) : eval()'d code on line 128

thanks in advance...

See in previous page, the fix has been stated.

Quote:

Originally Posted by Da-Vinci (Post 2085936)
Sorry if this has already been asked, but this is a very long thread to be reading it all.

My question is I'd like to display the chatbox globally under the Navbar at 100% width of the forum. On my VBA page it displays fine under the Navbar. I added this hook {vb:raw mgc_cb_evo_var} to the end of my Navbar template similar to what I'd done with the VSA chatbox.

The problem is on the Forumhome template the Chatbox gets placed next to the Sidebar, I'd rather have it above the Forums & Sidebar if possible.

It also doesn't seem to display on the forumdisplay or the showthread template.

For forumhome, an option will be included in next version to allow display just below the navbar (and thus not next to the sidebar).

VBDev 08-18-2010 11:11 PM

Next version development status :

As you can see from the first post, much of the stuff has gone green :) Which is a good indicator ;)
=> I won't add anything more in the next version code unless perhaps the bot stuff that Lifesupporters is going to test :)

BETA PHASE IS NOW OPEN, PM ME YOUR EMAIL AND VB VERSION IF INTERESTED.

nando99 08-19-2010 01:20 AM

got it...

i replaced includes/mgc_cb_evo with mgc_cb_evo/classes and all good...

thanks!

Alfa1 08-19-2010 01:48 AM

Please consider this feature request (I should have been more clear when I requested chat reports):
- post reported chat in post report forum. Currently only the admin can handle chat reports, which doesnt work well for big boards with one admin.
- link from the report to the location in the archive. A chat report is often useless, if the chats before it cant be seen. (context)

furst 08-19-2010 02:02 AM

Quote:

Originally Posted by VBDev (Post 2085678)



Have you applied the bug corrections stated in the first post ? (link near the reported bugs)

Do you mean to do all those bug error fixes? or is there one i should be specifically looking at? (regarding white screen issue)

horusbird 08-19-2010 06:23 AM

Hi, when you try to open the forum profile options (/ forum / Forum Index editoptions do =) appears the following error

Quote:

Warning: require_once([path]/includes/mgc_cb_evo/class_misc.php) [function.require-once]: failed to open stream: No such file or directory in [path]\profile.php(4553) : eval()'d code on line 38

Fatal error: require_once() [function.require]: Failed opening required 'D:\vhosts\vesparesources.com\httpdocs\forum/includes/mgc_cb_evo/class_misc.php' (include_path='.;D:\xampp\php\pear\') in D:\vhosts\vesparesources.com\httpdocs\forum\profil e.php(4553) : eval()'d code on line 38
test: http://www.vesparesources.com/forum/...do=editoptions

Grazie

Marco

Ranger187 08-19-2010 06:44 AM

WEWT WEWT to the new version!

The_Rayman 08-19-2010 09:26 AM

Cewl! Great there's a port to VB4.
Any idea on when the new release is released... i'd like it on my frontpage of the CMS website as a widget.

Thanks!

Ranger187 08-19-2010 11:41 AM

Quote:

Originally Posted by The_Rayman (Post 2086215)
Cewl! Great there's a port to VB4.
Any idea on when the new release is released... i'd like it on my frontpage of the CMS website as a widget.

Thanks!

Um. It's been ported to VB4 for months. ;)

And if he's anything like the past releases, expect it in 30 days or less.....

VBDev 08-20-2010 06:11 AM

Dear all,

There might be a slight delay before the beta as I am having issues with vBCMS on latest vB4 version...

Will keep you in touch.

Ranger187 08-20-2010 07:07 AM

Quote:

Originally Posted by VBDev (Post 2086728)
Dear all,

There might be a slight delay before the beta as I am having issues with vBCMS on latest vB4 version...

Will keep you in touch.


These are expected, your work has always been top quality.

scdurwood 08-20-2010 07:54 AM

any solution to the 'loading' issue? Happening on my forum as well...

Lionel 08-20-2010 09:01 AM

To solve the loading issue, edit the file mgc_cb_evo/classes/class_display.php

look for

PHP Code:

$jsvars    .= "var mgc_cb_evo_height = " $chatbox_height ";\n"

and change it to

PHP Code:

$jsvars    .= "var mgc_cb_evo_height = \"" $chatbox_height "\";\n"


exyuteam 08-20-2010 11:35 AM

Ohohohoooo, VBDev was working on chat :up: Soon we'll have next version of chatbox!!!! YAHOOOOO! :D

MyCTaK 08-20-2010 01:09 PM

I will need some time to upgrade to the newest version. Then I will check all the problems I found again and I will post you screenshots.
I made some quick modifications and the chat is now working on my forum. Thank you!

Best!

Da-Vinci 08-20-2010 06:48 PM

Quote:

Originally Posted by VBDev (Post 2086032)
Yes please :) Keep me in touch.



See in previous page, the fix has been stated.



For forumhome, an option will be included in next version to allow display just below the navbar (and thus not next to the sidebar).

That's great thanks, I've managed to get it to display on the Showthread & Forumdisplay templates, but I've also noticed that the Post New Thread button is displayed above the Chatbox & if you have any sub forums they are displayed above the chatbox as is the New Thread button.

I really like the MGC, but could I suggest you simplify it slightly as there are so many settings it's hard to remember everything you've changed, plus if permissions could be added via the settings menu rather than via the Usergroup Manager.

I've also noticed a few minor vbugs lol sorry if I'm being picky. The text entry field doesn't change, I've set it to 600px but it's stayed on 200px there were one or two other things but I can't remember them off the top of my head.

Anyway great work VB-Dev I look forward to future releases of the best Chatbox release on the VB scene. :D

rfsforums 08-21-2010 06:51 PM

My forum is made up of many private usergroup forums (companies), which I have created a channel for each. The problem is users forget that they are in the general channel and begin to discuss issues that should only be discussed in their private forum or private channel.

Thus the need to turn of or disable the general channel.

Thanks for your help!

ikki29 08-22-2010 12:26 PM

Activating the Automatic Update not working properly, you have to press the refresh button so they load the talks, how could I solve this problem, thanks

Lionel 08-22-2010 11:03 PM

Hi Cl?ment,

My forum is bilingual, english and french.

When I switch to french language, the date displays as
%20/%08/%2010 %0606%Aug
That's because you set the Locale as false in the vbdate() call (set to true by default)

To fix that I replaced all (except for archives where you merged date and time, so locale is not necessary)
PHP Code:

$date vbdate($this->registry->options['dateformat'], $chat['dateline'],truefalse); 

with
PHP Code:

$date vbdate($this->registry->options['dateformat'], $chat['dateline'],true); 

I did the same for time.

VBDev 08-23-2010 05:39 AM

Ok thanks for pointing me out, I'll correct that.

VBDev 08-23-2010 06:29 AM

Beta test launched !

If you haven't received an email from me it's because you didn't send me your email address, if interested you still can PM it to me :)

RobbieZ 08-23-2010 03:19 PM

Thanks :D

Are these options only available in the pro version?

a) New registration notifications in the chatbox
b) IBProarcade notifications in the chatbox (New highscore and tournament won)

VBDev 08-23-2010 04:24 PM

You shouldn't be asking directly in this thread as per vB.org rules.

But yeah answer is yes.

NathanLedet 08-23-2010 04:24 PM

Quote:

Originally Posted by VBDev (Post 2085678)
What do you mean by not working properly ?

Do you mean that you see the color names as shown on your screenshot and that the dropdown doesn't show color lines as it does on some windows machine ?

Yep - in IE, it shows the colors.

Quote:

If so, it's normal, Safari and Chrome doesn't support the background-color css style for select option. There is nothing I could do about this unless I recode dropdown list and so on as it's done by vB for their dropdown list (but I don't have the time to do so sorry).
Ah OK - I understand that.

Thanks for the response :)

furst 08-23-2010 10:20 PM

Quote:

Originally Posted by furst (Post 2081565)
ive installed this and all i get is a white page now for my forum, any suggestions? when i disable the product my forum is up and running again.


Any Ideas???

im using vbulletin v4.0.4

Quote:

Originally Posted by VBDev (Post 2085678)
Have you applied the bug corrections stated in the first post ? (link near the reported bugs)

Quote:

Originally Posted by furst (Post 2086089)
Do you mean to do all those bug error fixes? or is there one i should be specifically looking at? (regarding white screen issue)


?? im unsure if there is a specific fix for this or am i trying all the reported bugs fixes?


All times are GMT. The time now is 07:38 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.12583 seconds
  • Memory Usage 1,941KB
  • 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_code_printable
  • (6)bbcode_php_printable
  • (35)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