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)

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 11:34 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.03125 seconds
  • Memory Usage 1,755KB
  • 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
  • (7)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
  • (10)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