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-18-2007 08:30 PM

Actually, if you activate the bbcode url it parses automatically ;)

@silvermec: no I won't acp is not made for that purpose IMO, sorry.

Kyderoy 07-18-2007 08:47 PM

Quote:

Originally Posted by VBDev (Post 1294779)
Yours not showing at all ?

It's showin for some and not for others.... and there are no options for the chatbox in the user cp

Karabaja 07-18-2007 09:15 PM

Quote:

Originally Posted by VBDev (Post 1294984)
Actually, if you activate the bbcode url it parses automatically ;)

@silvermec: no I won't acp is not made for that purpose IMO, sorry.

It is set to Yes, but they are not parsed unless I wrap them with [url] tags.

VBDev 07-18-2007 09:21 PM

I have just tested it and I have put : www.google.com and it was automatically transformed to a link after sending

Adam21 07-18-2007 09:29 PM

Quote:

Originally Posted by VBDev (Post 1294769)
I would like to have detailled feedback of users experiencing problems 2 and 6 please :)

Problem no.6 - JS error is solved.Apparently,i disabled the command team option and enabled the twin channel options and clicking on the WOL button works now.:)
Sorry for the late reply.

Karabaja 07-18-2007 09:36 PM

Quote:

Originally Posted by VBDev (Post 1295022)
I have just tested it and I have put : www.google.com and it was automatically transformed to a link after sending

Sorry, you are right, it does parse it. Maybe I tried it earlier without enabling url bbcode, but I am pretty sure it wasn't parsing even with it enabled, but I guess I must be wrong since it is fine now. Never mind, thx.

VBDev 07-18-2007 09:43 PM

Quote:

Originally Posted by Adam21 (Post 1295029)
Problem no.6 - JS error is solved.Apparently,i disabled the command team option and enabled the twin channel options and clicking on the WOL button works now.:)
Sorry for the late reply.

Ok but if you activate team option command again then the error is still there ?

Adam21 07-19-2007 12:27 PM

Quote:

Originally Posted by VBDev (Post 1295038)
Ok but if you activate team option command again then the error is still there ?

Yup.When i enabled the /command team option under Advanced option,the JS error occurred.I've /command team options enabled for members,mods,admin and 2 custom usergroups too.

Karabaja 07-19-2007 12:44 PM

A small bug report. When I go into archive and choose view only team shouts, and delete one shout, I am taken back to View all shouts. Maybe it is not a bug, but seems that way to me.

VBDev 07-19-2007 12:49 PM

Quote:

Originally Posted by Adam21 (Post 1295627)
Yup.When i enabled the /command team option under Advanced option,the JS error occurred.I've /command team options enabled for members,mods,admin and 2 custom usergroups too.

Could you give me accesses to your forum so that I could try to debug and fine if it's a problem on my side or coming from another side.

Quote:

Originally Posted by Karabaja (Post 1295638)
A small bug report. When I go into archive and choose view only team shouts, and delete one shout, I am taken back to View all shouts. Maybe it is not a bug, but seems that way to me.

Yes it is considered as a bug, added to the list :)

Kyderoy 07-19-2007 03:21 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 ?


Any thing on this?

VBDev 07-19-2007 03:29 PM

Yes this has been corrected in the next version (release this weekend normally).

Forgot to put it in the bugs list ;)

Kyderoy 07-19-2007 04:09 PM

Thank you :)

Njm 07-19-2007 04:23 PM

thanx agin i hope i see more a pdate soon ...

Dr. Bantham 07-20-2007 12:09 AM

Quote:

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

I am sorry, but I can not find directions simple enough for me to implement the Chatbox with a global variable. Can someone explain what files I modify and what code I place in order to have it appear at the top of the footer of every page, or at least at the top of the vbAdvanced footer? I am sure this must be simple, but it is escaping me.

vnairp11 07-20-2007 02:52 AM

how can i replace the text that says MGC Chatbox [Archives]

right above the chat box?

Also i like the idea of the inilne smileys how can i increase the # of inline smileys displayed

I am using version 1.2 by the way.

VBDev 07-20-2007 05:16 AM

Quote:

Originally Posted by Dr. Bantham (Post 1296144)
I am sorry, but I can not find directions simple enough for me to implement the Chatbox with a global variable. Can someone explain what files I modify and what code I place in order to have it appear at the top of the footer of every page, or at least at the top of the vbAdvanced footer? I am sure this must be simple, but it is escaping me.

As I told, the global thing might not work with vbadvanced due to path problemes (this is why I told that I'll be releasing a vbadvanced addon for that purpose).

To show it on particular pages, here is what you should do :
  1. Open the php file of the page where you want to show the chatbox
  2. Search for the THIS_SCRIPT define line and note the value which is assigned to THIS_SCRIPT
  3. Put it in the admincp in the box made for that purpose for the chatbox show on all pages thing
  4. Activate the option show on defined pages in a global var
  5. The open the templates of the page you want it to be shown and then put $mgc_chatbox wherever you want it to be on the page.
I know this process is maybe hard but this is the price for placing the chatbox wherever you want ;)

Quote:

Originally Posted by vnairp11 (Post 1296217)
how can i replace the text that says MGC Chatbox [Archives]

right above the chat box?

Also i like the idea of the inilne smileys how can i increase the # of inline smileys displayed

I am using version 1.2 by the way.

Both can be changed through options in the acp. :)

VBDev 07-20-2007 08:28 AM

Has anyone tried using the global var thing with ibproarcade ?

I ask to know if this solved everyone's problem about that.

Gemma 07-20-2007 09:20 AM

Quote:

Originally Posted by VBDev (Post 1296355)
Has anyone tried using the global var thing with ibproarcade ?

I ask to know if this solved everyone's problem about that.

I tried it wit ibproarcade but it jus shows up as 'loading'

Dr. Bantham 07-20-2007 09:36 AM

Quote:

Originally Posted by VBDev (Post 1296282)
As I told, the global thing might not work with vbadvanced due to path problemes (this is why I told that I'll be releasing a vbadvanced addon for that purpose).

To show it on particular pages, here is what you should do :
  1. Open the php file of the page where you want to show the chatbox
  2. Search for the THIS_SCRIPT define line and note the value which is assigned to THIS_SCRIPT
  3. Put it in the admincp in the box made for that purpose for the chatbox show on all pages thing
  4. Activate the option show on defined pages in a global var
  5. The open the templates of the page you want it to be shown and then put $mgc_chatbox wherever you want it to be on the page.
I know this process is maybe hard but this is the price for placing the chatbox wherever you want ;)

Thank you for the step by step instructions. It worked on the first try. It also works with vbAdvanced, which is great in that I now have a full width ChatBox in lieu of being limited to the center column width, which is how I had my other ShoutBox mod set up. I have my forums in the root directory of my site. Perhaps that is why it works with VBA for me. I have made the full switch to MGC ChatBox now. Thanks again!

VBDev 07-20-2007 10:18 AM

Quote:

Originally Posted by Gemma (Post 1296372)
I tried it wit ibproarcade but it jus shows up as 'loading'

I don't have ibproarcade installed, think I'll have to install it :(

ibproarcade files are in the forum root ?

Quote:

Originally Posted by Dr. Bantham (Post 1296381)
Thank you for the step by step instructions. It worked on the first try. It also works with vbAdvanced, which is great in that I now have a full width ChatBox in lieu of being limited to the center column width, which is how I had my other ShoutBox mod set up. I have my forums in the root directory of my site. Perhaps that is why it works with VBA for me. I have made the full switch to MGC ChatBox now. Thanks again!

Yes it must be the reason why it perfectly works with your vba :)

baghdad4ever 07-20-2007 11:00 AM

can you add popup windows with private chat between members??

with usergroup permissions

Inferno Dragon 07-20-2007 11:06 AM

I updated to v1.3, but my Smilies and bbcode button links are not working, whenever I click on them they just scoll the page..though when I click on the help button it works fine i-e opens a small popup window!

I revert the templates too but still smilies and bbcode buttons are notworking..rest is fine!

any fix available for this?

wizardan 07-20-2007 11:08 AM

Has anyone found a workaround to the smilie selection?

That remains my only issue.

Thanks for the best shout box ever, VB Dev:)

VBDev 07-20-2007 12:23 PM

Quote:

Originally Posted by baghdad4ever (Post 1296424)
can you add popup windows with private chat between members??

with usergroup permissions

No I won't add such thing, this would become too much of a chat.

Anyway I have started adding a /pm command which allow users to send private shouts (with a private channel where all shouts made with /pm will be shown).

Quote:

Originally Posted by Inferno Dragon (Post 1296432)
I updated to v1.3, but my Smilies and bbcode button links are not working, whenever I click on them they just scoll the page..though when I click on the help button it works fine i-e opens a small popup window!

I revert the templates too but still smilies and bbcode buttons are notworking..rest is fine!

any fix available for this?

You have updated the js files and reverted the templates ?

Does IE fires a javascript error ?

Quote:

Originally Posted by wizardan (Post 1296435)
Has anyone found a workaround to the smilie selection?

That remains my only issue.

Thanks for the best shout box ever, VB Dev:)

I do :D And I have corrected it in the next version, I don't have the chatbox code there but this is in the mgc_chatbox.js file (clientscript directory), you have to add a return false at the end of the ajouter_smilie function (not sure of the name of the function without the code beyond my eyes ;)

wizardan 07-20-2007 12:43 PM

Quote:

Originally Posted by VBDev (Post 1296522)



I do :D And I have corrected it in the next version, I don't have the chatbox code there but this is in the mgc_chatbox.js file (clientscript directory), you have to add a return false at the end of the ajouter_smilie function (not sure of the name of the function without the code beyond my eyes ;)

I'll have a look. Good thing I speak french as well;)

wizardan 07-20-2007 12:52 PM

Quote:

Originally Posted by VBDev (Post 1296522)



...at the end of the ajouter_smilie function (not sure of the name of the function without the code beyond my eyes ;)

I found this beginning on line 219:
Code:

function ajout_smilie(smilietext) {
        insertAtCursor(fetch_object('chatinput'),smilietext);
}

Is that it?

VBDev 07-20-2007 01:17 PM

Yes it's that function, you have to add return false; before the }

baghdad4ever 07-20-2007 04:10 PM

thanks alot

how can i change the username appearance in the box

from

<baghdad4ever>

to

baghdad4ever :

thanks

VBDev 07-20-2007 04:51 PM

Open the mgc_chatbox_bit template, search for the different occurence of :

Code:

&lt;$chatbit[author]&gt;
Replace by :

Code:

&lt;$chatbit[author]&gt;

Bicho?? 07-20-2007 06:51 PM

Excelent Addon!

sybakaos 07-20-2007 09:31 PM

Possible bugs:
- when you attempt ajax edit, (IE) shows page error (object required) but everything still works fine.
- when /team is enabled but "use two channels" is disabled, object errors appear (IE)
- when in team channel, /me shows message in main channel.

Ideas:
- when you are in the team channel, maybe a button that shows there's activity in main channel?
- per channel (normal/team) choose if to allow img, bbcode etc
- show archive chronologically (from oldest to newest chatline), same with download txt function.
- add option to add more channels like (team) (main, spam, offtopic, trivia bot)?

A feature request:
At my forum the team channel is used to spam and I use a trivia bot on it. I would like to request a feature that disables the chatlines in the team channel from being logged or counted to the top5 for example. Is that possible?

VBDev 07-20-2007 10:15 PM

Quote:

Originally Posted by sybakaos (Post 1296909)
Possible bugs/ideas/issues:
1 when you attempt ajax edit, (IE) shows page error (object required) but everything still works fine.
2 when you are in the team channel, maybe a button that shows there's activity in main channel?
3 when /team is enabled but "use two channels" is disabled, object errors appear (IE)
4 when in team channel, /me shows message in main channel.

A feature request:
5 At my forum the team channel is used to spam and I use a trivia bot on it. I would like to request a feature that disables the chatlines in the team channel from being logged or counted to the top5 for example. Is that possible?

1 :
I am sorry but this might not be a problem on the chatbox side, I have tested it with ie6 and ie7 an never experienced such problem.

Which browser version do you have ?

Do you have any clues to help me tell you where it should come from ?

2 :
No this is not a bug and this will never be like that as in my opinion the most used channel is the general one so user shall stay in it and they only go in the team one to put a shout or to view new shouts after having seen the new shouts available icon.

3:
Any informations on that ? I don't experience that :(

4:
Only one command can work in a shout at a time, when you shout in the team channel, the chat is registered in the database with /team added to it to specifies that it's a team message.

5:
In the top 5, users that don't have access to this channel won't see the same top 5 as others.
Anyway, yes I could add an option so that team message shall not be taken into account, I add it to the todo list.

sybakaos 07-20-2007 10:25 PM

Quote:

Originally Posted by VBDev (Post 1296939)
1 :
I am sorry but this might not be a problem on the chatbox side, I have tested it with ie6 and ie7 an never experienced such problem.

Which browser version do you have ?

Do you have any clues to help me tell you where it should come from ?

2 :
No this is not a bug and this will never be like that as in my opinion the most used channel is the general one so user shall stay in it and they only go in the team one to put a shout or to view new shouts after having seen the new shouts available icon.

3:
Any informations on that ? I don't experience that :(

4:
Only one command can work in a shout at a time, when you shout in the team channel, the chat is registered in the database with /team added to it to specifies that it's a team message.

5:
In the top 5, users that don't have access to this channel won't see the same top 5 as others.
Anyway, yes I could add an option so that team message shall not be taken into account, I add it to the todo list.

1) I found out, when AJAX editing a chatline and hit enter the error appears. When you edit and don't hit enter, there's no error (IE7).
2) I'm using your chatbox for two purposes, main/spam channel. I figured it would be a nice addition :). There are over 30 users actively chatting, so I renamed the team channel to spam channel.
3) Seems related to #1. I'm sorry for this.
4) Ok.
5) That would be wonderfull.

Btw. I also suggested some ideas, if you could comment I'd appreciate it vbDev. I love your product more and more each minute that passes :D.

itsblack 07-21-2007 12:37 AM

I hope that we can define the number of messages in the full pagemode separately. Not just the same as it in the nomal mode.

Lilyandy 07-21-2007 05:47 AM

Chinese character (2Byte) the character Yuan meeting typesetting makes
a mistake, asked how arranges sets?:confused:

thinking you~~~~~~~~~~^^

sorry.....my english very pool......:o

VBDev 07-21-2007 08:19 AM

Quote:

Originally Posted by sybakaos (Post 1296909)
Possible bugs:
Ideas:
- when you are in the team channel, maybe a button that shows there's activity in main channel?
- per channel (normal/team) choose if to allow img, bbcode etc
- show archive chronologically (from oldest to newest chatline), same with download txt function.
- add option to add more channels like (team) (main, spam, offtopic, trivia bot)?

1: as I told in the previous message I won't do that
2: I could add an option to set the order
3: for me, channels aren't exactly channels, they are more interpreted as commands which can be shown either in the main channel only or either in separate channels. But however, I could think in next versions (not for the next immediate one) of a possibility to add personnal commands which could be recognized as channels :)


Quote:

Originally Posted by sybakaos (Post 1296947)
1) I found out, when AJAX editing a chatline and hit enter the error appears. When you edit and don't hit enter, there's no error (IE7).
2) I'm using your chatbox for two purposes, main/spam channel. I figured it would be a nice addition :). There are over 30 users actively chatting, so I renamed the team channel to spam channel.
3) Seems related to #1. I'm sorry for this.
4) Ok.
5) That would be wonderfull.

1: I have tried that on my forum with IE7 and there were no error, could you give me the url of your forum so that I could learn more ?
2: Yes but as I told I won't, it would add sql queries and sql queries and I don't want my chatbox to become a sql query box :D
3: Same as for 1, your url could be useful too me :)

Quote:

Originally Posted by itsblack (Post 1297016)
I hope that we can define the number of messages in the full pagemode separately. Not just the same as it in the nomal mode.

Yes I could do that to, will put it in the todo list when I get back from my bank :)

Quote:

Originally Posted by Lilyandy (Post 1297170)
Chinese character (2Byte) the character Yuan meeting typesetting makes
a mistake, asked how arranges sets?:confused:

thinking you~~~~~~~~~~^^

sorry.....my english very pool......:o

I am sorry but I can't seem to understand what you mean.

silvermerc 07-21-2007 09:20 AM

Im having quite a few problems with this...

The first is that when i press the archive link at the top i get the following error message...
Code:

Fatal error: Call to undefined function: get_top_10() in /home/hhgsnet/public_html/mgc_chatbox.php on line 520
Also the WOL feature doesnt work and the /announce feature also doesnt work when i try to do both of them nothing happens

VBDev 07-21-2007 10:14 AM

Quote:

Originally Posted by silvermerc (Post 1297261)
Im having quite a few problems with this...

The first is that when i press the archive link at the top i get the following error message...
Code:

Fatal error: Call to undefined function: get_top_10() in /home/hhgsnet/public_html/mgc_chatbox.php on line 520
Also the WOL feature doesnt work and the /announce feature also doesnt work when i try to do both of them nothing happens

I think you didn't update all files coz get_top_10 is the oldest name of one my function and is no more in it the new version.

IMO this is the reason for those problems :)

HydraulicJack 07-21-2007 06:45 PM

It looked like from the screenshot that it's possible to have a transcript of each chat, correct? (I saw the Archives link).

Also, is there a way to suppress the date and timestamp from appearing on every line send?

Thanks!
HJ


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.02401 seconds
  • Memory Usage 1,868KB
  • 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
  • (5)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