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)

VBDev 07-17-2007 08:46 AM

Quote:

Originally Posted by stangger5 (Post 1293477)
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:

He he thanks for the share, I'll integrate that in the next version :)

Quote:

Originally Posted by silvermerc (Post 1293492)
so have you got any ideas about how to fix the wol problem? im using IE

and what does announce do?

For the wol, no I don't for the moment, I will start working out the bugs on wednesday or thursday evenings. I have a life appart from vB :D

Regarding the announce thing, if you type : /announce your_text then this text will be displayed at the top of the chatbox. This is an announce system in the chatbox.

It's also editable through vbulletin options :)

sybakaos 07-17-2007 09:50 AM

VBDev, do you have an estimate when the next version arrives? I can't wait as listed bugs are... making this product almost perfect ;).

My 2nd question (cosmetic). I see that a lot of phrases or bits of codes are a mix of English/French. Do you plan on making it all English?

VBDev 07-17-2007 10:04 AM

You mean in the images alt ? Yes I should :D

I hope to provide a new version with bugs tracked and removed for the end of the week. However, it will depend of how this tracking goes on (especially strange ones that I didn't encountered on the site I am admin of).

I'll certainly need to make live test on forums where it doesn't work to track it out.

I'll try to find all of them and put then in phrases of course.

VBDev 07-17-2007 10:05 AM

Important :

I would be interested in providing my chatbox in other languages.


Please contact me if you're interested telling me how I can contact you and which language you could do !

I will change the way phrases are installed in the next version so that language lies only in one xml file to easier translation.

Anhyeu12000 07-17-2007 10:18 AM

Quote:

Originally Posted by VBDev (Post 1293166)

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

Thanks, I changed MGC Chatbox's Bgcolor, thanks agian ;)

Anhyeu12000 07-17-2007 10:26 AM

I can translate English to Vietnamese, Please contact to me emtoi12@walla.com

Kyderoy 07-17-2007 11:57 AM

Some of my members can see the shout box and others can't.. One is an Admin and the other is a super mod so I know it can't be a usergroup permission. I upgraded from 1.2 to 1.3 and that's when this statred happening. Any suggestions why this is happening?

alessai 07-17-2007 01:52 PM

:D i found the stuiped mistake the "Minimum number of posts required to use the Chatbox" must be 0 so the chatbox show up.

:) and about the transliton actully i was going to translate it in to arabic (sai112@hotmail.com)

VBDev 07-17-2007 02:08 PM

Quote:

Originally Posted by Kyderoy (Post 1293581)
Some of my members can see the shout box and others can't.. One is an Admin and the other is a super mod so I know it can't be a usergroup permission. I upgraded from 1.2 to 1.3 and that's when this statred happening. Any suggestions why this is happening?

This might be the same thing as for alessai: the number of messages ?

carlosacgj 07-17-2007 02:23 PM

Quote:

Originally Posted by VBDev (Post 1293525)
Important :

I would be interested in providing my chatbox in other languages.


Please contact me if you're interested telling me how I can contact you and which language you could do !

I will change the way phrases are installed in the next version so that language lies only in one xml file to easier translation.


I can translate English to Spanish (espa?ol) carlosacgj (at) hotmail

Kyderoy 07-17-2007 03:33 PM

Quote:

Originally Posted by VBDev (Post 1293655)
This might be the same thing as for alessai: the number of messages ?

I did that and it is still not showing for certain members.

VBDev 07-17-2007 04:45 PM

Quote:

Originally Posted by Kyderoy (Post 1293725)
I did that and it is still not showing for certain members.

Could you tell me more about those users ? Are they in the same usergroup ?

Are you sure that they didn't set the chatbox not to show in their control panel ?

carlosacgj 07-17-2007 05:12 PM

Js error when clicking on wol channel button (experienced only by Adam21)

i have same problem.

Fatal error: Call to undefined function: query_read_slave() in /home/denuncia/public_html/mgc_chatbox.php on line 1200

VBDev 07-17-2007 05:31 PM

Hummm that's maybe a clue !!

Can you try replacing query_read_slave by query_read in the mgc_chatbox.php at the line 1200 plz ?

Regards

NeutralizeR 07-17-2007 05:43 PM

I have this problem, too:
When a user disables the chatbox from its ucp, he can't activate it again

Members are mad at me. They can't live without a chatbox... so please help asap :)

Kyderoy 07-17-2007 06:30 PM

Quote:

Originally Posted by VBDev (Post 1293782)
Could you tell me more about those users ? Are they in the same usergroup ?

Are you sure that they didn't set the chatbox not to show in their control panel ?

One is an admin and the other is a super mod.... Other admins can see the shout box same for the other super mods. I just logged in ad the admin that can't see it and she don't have the chatbox options in her CP.

VBDev 07-17-2007 06:35 PM

Quote:

Originally Posted by Kyderoy (Post 1293870)
One is an admin and the other is a super mod.... Other admins can see the shout box same for the other super mods. I just logged in ad the admin that can't see it and she don't have the chatbox options in her CP.

Quote:

Originally Posted by NeutralizeR (Post 1293817)
I have this problem, too:
When a user disables the chatbox from its ucp, he can't activate it again

Members are mad at me. They can't live without a chatbox... so please help asap :)

Ok then this is the problem of disapearance in the control panel.

I'll try to correct that as quickly as posible, seems like tomorrow evening I'll be able to.

PS: have you made the template modifyoption modification ?

Kyderoy 07-17-2007 06:36 PM

Thank you :D Thought I was going nutz

carlosacgj 07-17-2007 06:56 PM

Quote:

Originally Posted by VBDev (Post 1293813)
Hummm that's maybe a clue !!

Can you try replacing query_read_slave by query_read in the mgc_chatbox.php at the line 1200 plz ?

Regards


this fix "Fatal error: Call to undefined function: query_read_slave() in /home/denuncia/public_html/mgc_chatbox.php on line 1200" but not show current users on line on the chat, only say "You are actually the only user connected to the chatbox"

VBDev 07-17-2007 07:27 PM

But you are not the only on active ? (by active I mean not idled)

NeutralizeR 07-17-2007 07:56 PM

Quote:

Originally Posted by VBDev (Post 1293876)
Ok then this is the problem of disapearance in the control panel.

I'll try to correct that as quickly as posible, seems like tomorrow evening I'll be able to.

PS: have you made the template modifyoption modification ?

I even imported the default vb style to debug the problem. Control panel is not a big issue, i can hide the "Yes-No" selection. It seems that the ChatBox will never work on my forum again.

ChatBox uninstalled:

v1.1 installed, default vb skin imported > Javascript error > Loading message is permanent > When i enter a message and press the OK button, it sends me to mgc_chatbox.php (archive page)


v1.2 installed, all of the chatbox templates were reverted, default vb skin imported > Javascript error > Loading message is permanent > When i enter a message and press the OK button, it sends me to mgc_chatbox.php (archive page)

v1.3 installed - upload files are renewed from the original package, all of the chatbox templates were reverted, default vb skin imported > Javascript error > Loading message is permanent > When i enter a message and press the OK button, it sends me to mgc_chatbox.php (archive page)

carlosacgj 07-17-2007 07:56 PM

Quote:

Originally Posted by VBDev (Post 1293922)
But you are not the only on active ? (by active I mean not idled)

there 4-5 user talking on teh chatbox and leave showing "You are actually the only user connected to the chatbox"

VBDev 07-17-2007 08:55 PM

Quote:

Originally Posted by NeutralizeR (Post 1293942)
I even imported the default vb style to debug the problem. Control panel is not a big issue, i can hide the "Yes-No" selection. It seems that the ChatBox will never work on my forum again.

ChatBox uninstalled:

v1.1 installed, default vb skin imported > Javascript error > Loading message is permanent > When i enter a message and press the OK button, it sends me to mgc_chatbox.php (archive page)


v1.2 installed, all of the chatbox templates were reverted, default vb skin imported > Javascript error > Loading message is permanent > When i enter a message and press the OK button, it sends me to mgc_chatbox.php (archive page)

v1.3 installed - upload files are renewed from the original package, all of the chatbox templates were reverted, default vb skin imported > Javascript error > Loading message is permanent > When i enter a message and press the OK button, it sends me to mgc_chatbox.php (archive page)

What a strange thing ! We'll have to debug together

Quote:

Originally Posted by carlosacgj (Post 1293943)
there 4-5 user talking on teh chatbox and leave showing "You are actually the only user connected to the chatbox"

And in the vb wol, where does it say those users are ?

Dr. Bantham 07-18-2007 09:16 AM

I am trying to get it to appear above the footer on every page. I place $chatbox_forumhome in the first line of the footer template, but it does not appear. Is this the correct method? I have "Display on Defined Pages as a Variable" set to yes. I also tried setting "Other Pages List" to "index.php,cmps_index.php".

VBDev 07-18-2007 09:48 AM

If you read the instructions, this is not the pagename that you have to enter in this field but the THIS_SCRIPT constant variable :)

Please read carefully the options explanation within your acp this should help you.

Adam21 07-18-2007 10:15 AM

Is it possible to have in the Admincp an option to let the fullpage chatbox to be a pop-out instead of changing the current page?Currently,i've edited mine to

Code:

                    <tr>
                        <td class="vbmenu_option">
                                        <a href="mgc_chatbox.php?$session[sessionurl]do=view_chatbox" rel="nofollow" target="_blank">$vbphrase[mgc_cb_voir]</a>
                                </td>
                        </tr>

Hope this can be done if possible,thanks alot :)

VBDev 07-18-2007 01:49 PM

Yes I can, I add this :)

HDT 07-18-2007 02:08 PM

Downlaoded nw version and got 2 folder with france language,this is english version or other?

fichiers_a_ajouter
produits_a_importer

Thanks

gothicuser 07-18-2007 02:29 PM

Quote:

Originally Posted by HDT (Post 1294649)
Downlaoded nw version and got 2 folder with france language,this is english version or other?

fichiers_a_ajouter
produits_a_importer

Thanks

The files within are English :D

VBDev 07-18-2007 03:01 PM

How :/

Seems like I forget to rename the folders for the english version :D

[high]* VBDev slaps himself[/high]

Adam21 07-18-2007 03:16 PM

Quote:

Originally Posted by VBDev (Post 1294630)
Yes I can, I add this :)

Thank you VBDev.:)

If there is a Support Of the Month award,i'll nominate you as well,no doubts!:D :up:

VBDev 07-18-2007 03:36 PM

lol :D The MOTM would be enough :D

VBDev 07-18-2007 04:47 PM

I would like to have detailled feedback of users experiencing problems 2 and 6 please :)

Kyderoy 07-18-2007 04:57 PM

Any progress with the shout box not showing?

VBDev 07-18-2007 05:05 PM

Yours not showing at all ?

rasp187 07-18-2007 05:13 PM

Only issue I've encountered so far is the bug where once you deactivate the Chatbox within the user control panel, you can't reactivate it and it never displays again. It was becoming such a problem, I had to reinstall the Chatbox and totally delete the Chatbox section from the UserCP.

VBDev 07-18-2007 05:21 PM

Yes I know, this is fixed actually in the new version I have started :)

NeutralizeR 07-18-2007 06:40 PM

My problem has been fixed. It was an annoying html tag problem in the phrase system. ( " character )

silvermerc 07-18-2007 08:02 PM

Maybe you could add a chat which goes in Admincp for admins only?
That would be good

Karabaja 07-18-2007 08:08 PM

Maybe it would be better if possible to parse urls automatically. It is pretty annoying to have to push hyperlink button and then enter url in another window, click ok and then go on with typing.


All times are GMT. The time now is 02: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.02960 seconds
  • Memory Usage 1,835KB
  • 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
  • (3)bbcode_code_printable
  • (17)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