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)

Tulsa 07-16-2007 04:49 PM

On the team channel flashing when there's a new post, on mine it's working but it's very subtle, more of a fade in and out than a flash. I'm using FF 2.0.4

Anhyeu12000 07-16-2007 05:09 PM

Quote:

Originally Posted by VBDev (Post 1292745)
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.



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



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

For the blinking, how did you test it ?





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 ?

Thanks, now it worked, in version 1.2 I had edit mgc_chatbox, mgc_chatbox_bit, mgc_chatbox_editor in Templates, so when I update to version 1.3, files mgc_chatbox, mgc_chatbox_bit, mgc_chatbox_editor in Templates didn't change and it work not good, I Revert and now it worked.:)

burntire 07-16-2007 05:11 PM

Quote:

Originally Posted by VBDev (Post 1292525)
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 ?

I am running 3.6.7

It is very strange. I seemed to work at first then quit. For the most part when members view the Chat WOL it shows them as the only members in the chat when others are there chatting. People will drop from the VB WOL after inactive timeout, but they are still actively chatting.

The previous version worked correctly with the VB WOL.

Sykko 07-16-2007 05:18 PM

Quote:

Originally Posted by VBDev (Post 1291655)
No I am sorry I forgot to include the uninstall instructions in the previous release...

How you should do the uninstall :
  1. Remove template edits you made for the chatbox
  2. Remove the files from your server
  3. Uninstall the chatbox product first and then the bitfields one
What were your problems when installing the chatbox ?

The issues I had was that it wouldn't load unfortunately. I ended up installing the inferno shoutbox later on which is working fine for now...

as for the uninstall suggestion that's kindof what I did... except for removing the files from the server.

When I uninstall the chatbox product and disable the bitfields I have a section in my usergroups where it wants permissions from the chatbox but it has no text in the boxes...

forgive me because I usually am not the one that does the modifications for the board so I really dont exactly know what I am doing, but would removing the files and completely uninstalling the bitfields solve the problem in my admin cp>usergroups? if so I will try that but I dont want to until I am sure

Metalwarrior 07-16-2007 05:50 PM

I have a problem, i dont know how to explain it.

Go here:

Code:

http://thecoolnews.org/forums/index.php?styleid=1
then login with this

USer: Test
Pass: asdfgh

The table is not alligned. The one where i can see the archive. What did i do wrong?

Desmo 07-16-2007 06:27 PM

Quote:

Originally Posted by VBDev (Post 1292878)
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

Excellent idea. Thanks a lot :D

dirty68 07-16-2007 07:07 PM

Me again sorry
A member has just told me that his shouts are not going up in the chatbox and it just says idle all the time but he can see them in the archive, so he went to his profile options and clicked no for no chat box and he cant get it to work no more as there is no box on his profile to tell him to click chatbox on

VBDev 07-16-2007 07:25 PM

Quote:

Originally Posted by Tulsa (Post 1292910)
On the team channel flashing when there's a new post, on mine it's working but it's very subtle, more of a fade in and out than a flash. I'm using FF 2.0.4

This is what it should do ;) Anyway you can change the image at your own will, I'll post psd when I'll have the time to.

Quote:

Originally Posted by burntire (Post 1292923)
I am running 3.6.7

It is very strange. I seemed to work at first then quit. For the most part when members view the Chat WOL it shows them as the only members in the chat when others are there chatting. People will drop from the VB WOL after inactive timeout, but they are still actively chatting.

The previous version worked correctly with the VB WOL.

I don't clearly understand, your users becom inactive ? And then they dont show any more in the wol ?

Quote:

Originally Posted by Sykko (Post 1292930)
The issues I had was that it wouldn't load unfortunately. I ended up installing the inferno shoutbox later on which is working fine for now...

as for the uninstall suggestion that's kindof what I did... except for removing the files from the server.

When I uninstall the chatbox product and disable the bitfields I have a section in my usergroups where it wants permissions from the chatbox but it has no text in the boxes...

forgive me because I usually am not the one that does the modifications for the board so I really dont exactly know what I am doing, but would removing the files and completely uninstalling the bitfields solve the problem in my admin cp>usergroups? if so I will try that but I dont want to until I am sure

Yes removing the bitfield file of the chatbox and then rebuilding bitfields will solve that.

Sorry that my product didn't fits your needs :(

VBDev 07-16-2007 07:28 PM

Quote:

Originally Posted by Metalwarrior (Post 1292955)
I have a problem, i dont know how to explain it.

Go here:

Code:

http://thecoolnews.org/forums/index.php?styleid=1
then login with this

USer: Test
Pass: asdfgh

The table is not alligned. The one where i can see the archive. What did i do wrong?

Your style doesn't support the navbar modification this is the reason, remove the links from the navbar templates and it should be just fine :)

Quote:

Originally Posted by dirty68 (Post 1293025)
Me again sorry
A member has just told me that his shouts are not going up in the chatbox and it just says idle all the time but he can see them in the archive, so he went to his profile options and clicked no for no chat box and he cant get it to work no more as there is no box on his profile to tell him to click chatbox on

When he shouts it told him idle ?? What time period did you put for the idle timeout ?

Regarding the option this seems to be an issue, to revert the flag for him you need to go in phpmyadmin then find that user and tell me what's in the mgc_cb_params field for him and I'll tell you what to put instead.

dirty68 07-16-2007 07:35 PM

Quote:

Originally Posted by VBDev (Post 1293038)


When he shouts it told him idle ?? What time period did you put for the idle timeout ?

Regarding the option this seems to be an issue, to revert the flag for him you need to go in phpmyadmin then find that user and tell me what's in the mgc_cb_params field for him and I'll tell you what to put instead.

..it was set at 5 and now ive changed it to 15, ill go and look in phpmyadmin now



his params are a:7:{s:13:"mgc_cb_police";s:1:"0";s:13:"mgc_cb_tai lle";i:0;s:14:
"mgc_cb_couleur";b:0;s:8:"mgc_cb_b";i:0;s:8:"mgc_c b_u";i:0;s:8:"mgc_cb_i";i:0;s:11:"mgc_cb_show";i:0 ;}

I tryed it on mine to and i now cant see it lol

VBDev 07-16-2007 07:37 PM

Thread post updated with current known bugs plus features for the next version :)

VBDev 07-16-2007 07:38 PM

Quote:

Originally Posted by dirty68 (Post 1293049)
..it was set at 5 and now ive changed it to 15, ill go and look in phpmyadmin now

With such values there shall not be such problem.

The idle message was still showing when refreshing the chatbox ?

dirty68 07-16-2007 07:41 PM

yes it was

Karabaja 07-16-2007 07:46 PM

Another suggestion if I may. To drop insertion in the nav bar. Maybe to have an icon for full page display(with alt text) next to bbcode, smilies and help icon. Archive is already linked in shoutbox header and "view the chatbox" probably won't be interpreted as view it in full page mode by most people.

dirty68 07-16-2007 07:48 PM

Ok ive now changed his params at the end to mgc_cb_show";i:1;} and hes ok now

maidos 07-16-2007 08:02 PM

it seems also that some members is having issue only seeing idle using firefox

http://img360.imageshack.us/img360/7432/untitledul3.jpg

tried refreshing but doesnt work

silvermerc 07-16-2007 08:05 PM

I dont understand what the wol feature is. When i click it nothing happens but the normal chanel button dims down.

Also i cant figure out what the /announce thing is for because when you type it nothing happens?

dirty68 07-16-2007 08:06 PM

Quote:

Originally Posted by maidos (Post 1293085)
it seems also that some members is having issue only seeing idle using firefox

http://img360.imageshack.us/img360/7432/untitledul3.jpg

tried refreshing but doesnt work

I turned mine off in admin panel, just to be safe

VBDev 07-16-2007 08:12 PM

Quote:

Originally Posted by Karabaja (Post 1293060)
Another suggestion if I may. To drop insertion in the nav bar. Maybe to have an icon for full page display(with alt text) next to bbcode, smilies and help icon. Archive is already linked in shoutbox header and "view the chatbox" probably won't be interpreted as view it in full page mode by most people.

Yes that's a nice idea ! I will just do so :)

Quote:

Originally Posted by silvermerc (Post 1293087)
I dont understand what the wol feature is. When i click it nothing happens but the normal chanel button dims down.

Also i cant figure out what the /announce thing is for because when you type it nothing happens?

You should see who's online. Could you tell what's your browser ?

Quote:

Originally Posted by maidos (Post 1293085)
it seems also that some members is having issue only seeing idle using firefox

http://img360.imageshack.us/img360/7432/untitledul3.jpg

tried refreshing but doesnt work

This shall not be shown like that, you have rightly update the js files in the clientscript directory ??

maidos 07-16-2007 08:17 PM

yeah u r correct as usual... thanks

also how about the name and msg space? :P any help

silvermerc 07-16-2007 08:33 PM

im currently using IE (with the tabbed browsing cant remember what version it is but i think its most recent)

Sofia 07-16-2007 08:40 PM

it's even more beautiful now! Great work for this release, as usual ;)

Pottsy 07-16-2007 08:52 PM

Quote:

Originally Posted by maidos (Post 1293085)
it seems also that some members is having issue only seeing idle using firefox

http://img360.imageshack.us/img360/7432/untitledul3.jpg

tried refreshing but doesnt work

This is exactly what we got on upgrade. The files and product were installed correctly, but it just needed a CTRL + F5. I put a note on the forum about this, and a few replied that they needed the refresh to get it to work.

Anhyeu12000 07-16-2007 09:29 PM

How to change MGC Chatbox's background color, I want my MGC Chatbox's background is white?
Thanks !

VBDev 07-16-2007 09:51 PM

Quote:

Originally Posted by maidos (Post 1293096)
yeah u r correct as usual... thanks

also how about the name and msg space? :P any help

I will look that for next version look at the bug list and todo list.

Quote:

Originally Posted by Pottsy (Post 1293130)
This is exactly what we got on upgrade. The files and product were installed correctly, but it just needed a CTRL + F5. I put a note on the forum about this, and a few replied that they needed the refresh to get it to work.

After their first refresh everything then worked fine ?

Quote:

Originally Posted by J1755EC6A244 (Post 1293154)
How to change MGC Chatbox's background color, I want my MGC Chatbox's background is white?
Thanks !

You have to do template modifications (mgc_chatbox template), this is html edit ;)

Kyderoy 07-16-2007 10:01 PM

Don't know what's wrong, I can see the chatbox but none of my members can see it. I just upgraded from 1.2 to 1.3

alessai 07-16-2007 10:37 PM

Quote:

Have you set the permissions for unregistered users ??
]

ive put yes for "Can see MGC Chatbox?" (for unregistered) and the others no is that right?

Rukas 07-17-2007 12:42 AM

Is it possible to get this to show up in just one particular forum?

Sykko 07-17-2007 01:48 AM

Quote:

Originally Posted by VBDev (Post 1293034)
Yes removing the bitfield file of the chatbox and then rebuilding bitfields will solve that.

Sorry that my product didn't fits your needs :(

dont worry about it... the truth is I think I was biting off more than I could chew with it, was a bit more than I knew how to do.

your box had better features but the other one seems to work ok too and the members are ok...

eventually we may try again after we get better at doing installs like this one :) it would be a nice little upgrade :)

Rukas 07-17-2007 01:51 AM

Is it possible to have the box show up on one forum only, or alternately have it work with one style only so I can then assign one forum with that template.

Ive tried the whole # $search_text = '$forumhome_markread_script';
replace with $search_text = '$chatbox_forumhome'; but it still displays on all styles.

NeutralizeR 07-17-2007 03:17 AM

I upgraded to the 1.3 version, edited my chatbox templates, changed the settings, tested it for a while... and suddenly it stopped working. It says "Loading..." but nothing happens and when i enter a message it redirects me to the archives. The buttons are also inactive and IE gives me a javascript error message:

"Error: 'auto_refresh'" undefined.

I fully uninstalled the product, reverted the templates (a few times) and made a fresh insallation but still no luck. I'm stuck here.

I even dropped all of the chatbox tables via phpmyadmin, installed the earlier versions, cleaned my browser caches (both in IE and FF). Help needed :)

VBDev 07-17-2007 04:41 AM

Quote:

Originally Posted by alessai (Post 1293197)
]

ive put yes for "Can see MGC Chatbox?" (for unregistered) and the others no is that right?

Yes yes that's right, but with those options the unregistered still can't see ?

Humm I thought I had tested it, I'll put in the possible bugs list so that I can test it and correct in case I made a mistake.

Quote:

Originally Posted by Sykko (Post 1293301)
dont worry about it... the truth is I think I was biting off more than I could chew with it, was a bit more than I knew how to do.

your box had better features but the other one seems to work ok too and the members are ok...

eventually we may try again after we get better at doing installs like this one :) it would be a nice little upgrade :)

Ok :)

Quote:

Originally Posted by Rukas (Post 1293303)
Is it possible to have the box show up on one forum only, or alternately have it work with one style only so I can then assign one forum with that template.

Ive tried the whole # $search_text = '$forumhome_markread_script';
replace with $search_text = '$chatbox_forumhome'; but it still displays on all styles.

If you do so and put $chatbox_forumhome on one style, it shall not be seen on other styles (only for forumhome as you seem to do the modification for the forumhome template only).

Quote:

Originally Posted by NeutralizeR (Post 1293345)
I upgraded to the 1.3 version, edited my chatbox templates, changed the settings, tested it for a while... and suddenly it stopped working. It says "Loading..." but nothing happens and when i enter a message it redirects me to the archives. The buttons are also inactive and IE gives me a javascript error message:

"Error: 'auto_refresh'" undefined.

I fully uninstalled the product, reverted the templates (a few times) and made a fresh insallation but still no luck. I'm stuck here.

I even dropped all of the chatbox tables via phpmyadmin, installed the earlier versions, cleaned my browser caches (both in IE and FF). Help needed :)

Did you revert templates ?
Did you uploaded the js files correctly in the clientscript directory ?

This is possible errors when the javascript is firing such errors.

NeutralizeR 07-17-2007 05:52 AM

Quote:

Did you revert templates ?
Did you uploaded the js files correctly in the clientscript directory ?

This is possible errors when the javascript is firing such errors.
5 times at least... I just renamed the file as mgc_chatbox2.js and replaced the line in the template but it didn't change anything... I restarted apache and mysql... (memcache+memcached+xcache installed) It's simply useless... Advice?

VBDev 07-17-2007 06:01 AM

:S This seems to be a really strange strange problem especially with the fact that you told me it worked before and stopped working.

Does IE tells you any error ? Have you tried on a different server ?

NeutralizeR 07-17-2007 06:11 AM

Quote:

Originally Posted by VBDev (Post 1293430)
:S This seems to be a really strange strange problem especially with the fact that you told me it worked before and stopped working.

Does IE tells you any error ? Have you tried on a different server ?

I've 4 servers running that web site. 3 web servers and 1 db server. All of the servers have this issue. Can you check it for me if i PM the needed info?

VBDev 07-17-2007 06:25 AM

Yes I could check that out coz maybe this could come from my chatbox or from server side and I need to know that :)

However, I won't be able to work on that before wednesday evening or thursday evening.

stangger5 07-17-2007 07:14 AM

Hey VBDev,,,I know how to make the smilies random...

BTW,,,,Grate chatbox !!!

VBDev 07-17-2007 07:27 AM

Quote:

Originally Posted by stangger5 (Post 1293461)
Hey VBDev,,,I know how to make the smilies random...

BTW,,,,Grate chatbox !!!

He he ! Then just share with us how ;) (It will avoid me from thinking at it :D)

Does it use more than one query ?

stangger5 07-17-2007 07:58 AM

lol,,,sorry..

Here you go...
In the includes/functions_mgc_cb file...

Find:
Code:

$smileys = $vbulletin->db->query_read("
                        SELECT smilieid, smilietext, smiliepath, title
                                FROM " . TABLE_PREFIX . "smilie
                                ORDER BY displayorder
                ");


and change to:

Code:

$smileys = $vbulletin->db->query_read("
                        SELECT smilieid, smilietext, smiliepath, title
                                FROM " . TABLE_PREFIX . "smilie
                                ORDER BY RAND() LIMIT 15
                ");

I have it set for 15...
You can change the 15 to your liking..
Just make sure to change the smiley limit in the admincp..
admincp/MGC Chatbox/Shouts formatting: Default number of smilies


Thanks again for the chatbox !! :up:

silvermerc 07-17-2007 08:35 AM

so have you got any ideas about how to fix the wol problem? im using IE

and what does announce do?


All times are GMT. The time now is 03:44 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.02837 seconds
  • Memory Usage 1,866KB
  • 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
  • (28)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