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 08-01-2007 07:53 PM

* Zip file v1.4 updated with german language and xml file for the TMS template edits management system of Andreas thanks to captainslater

VBDev 08-01-2007 07:54 PM

Quote:

Originally Posted by glennno (Post 1307441)
I'm unfamiliar with Chatbox. Is this like Live Chat? Thanks.

This a little chat box but not a real chat, thus being very similar.

Quote:

Originally Posted by paldo (Post 1307441)
yes i do he hass tried all skins to the same result and all he can see is the loading message on full page or on the forums index ..

And you have tried with the same browser as he has ?

paldo 08-01-2007 08:21 PM

yes i dont use i.e but i tryed it .i logged in with his username and pass and it worked .. he also tried firefox which i use myself it wouldnt load for him neither on firefox .. as i said i can log out and log in with his username and it works just fine on i.e and firefox ..its got to be somthing missing on his pc or somthing being blocked on his end

slyreptile 08-01-2007 08:51 PM

Quote:

Originally Posted by VBDev (Post 1307439)
Yup, wow that's a very strange behaviour. This might come from the overflow property but I don't see why it would work on other website and not in that particular one.

I don't have js error with ie7, could you tell me which error is fired ?

I've found and fixed the problem with the overflowing time/user. Now is just the issue with the disabled textboxes and buttons in IE6. No javascript errors occur, but they are disabled in IE6. BTW, the text out of the box was caused by an errant css entry.

VBDev 08-01-2007 08:54 PM

Quote:

Originally Posted by slyreptile (Post 1307517)
I've found and fixed the problem with the overflowing time/user. Now is just the issue with the disabled textboxes and buttons in IE6. No javascript errors occur, but they are disabled in IE6. BTW, the text out of the box was caused by an errant css entry.

Ok =) What do you mean by disabled ?

Quote:

Originally Posted by paldo (Post 1307488)
yes i dont use i.e but i tryed it .i logged in with his username and pass and it worked .. he also tried firefox which i use myself it wouldnt load for him neither on firefox .. as i said i can log out and log in with his username and it works just fine on i.e and firefox ..its got to be somthing missing on his pc or somthing being blocked on his end

I don't see what could be blocking, maybe is firewall not allowing my ajax calls ?

slyreptile 08-01-2007 09:01 PM

Wow you respond fast! :D

Disabled as in greyed out. Can't click in the textbox at all, thus can't be typed into. However, I also noticed it happens with the vB login and password box, so I'm sure it isn't problem with your script. Now to figure what's causing it.

slyreptile 08-01-2007 09:21 PM

Found the greyed out problem, but not really sure how to resolve it. To achieve the transparency, I use an css file that contains lines similar to this under each div tag:

Code:

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../trans.png', sizingMethod='scale');
This is what is causing IE to show the boxes as disabled. At the same time, without this line IE does not handle the transparent png file properly. If a png file is used where a textbox exists, it will cause this issue. I know this isn't your problem. I'm just updating my previous posts. I'll take this conversation elsewhere.

I know this is not your problem, nor have anything to do with your script. Just updating my previous posts with new information. I'll take this topic somewhere else.

Forza 08-01-2007 09:25 PM

excellent work! this is what vB was missing.

thanks!!

Karabaja 08-01-2007 09:30 PM

Does anyone have who's online working?
I had members showing as in MGC chatbox in vbulletin's wol with previous version. But now they are not anymore. And I am always "the only user connected to the chatbox" when I try wol channel.

paldo 08-02-2007 01:12 AM

whats with the new file today its the same version whats been fixed ?

edit .. i see the templates has been updated by the looks of the date ..

beduino 08-02-2007 03:52 AM

hello,
all the mod is fine [better, better and better :D]
the users of vb-brasil choose this hack of chat !
But...
How integrate with vbadvanced 3.01?
Quote:

This integration works only if you activate the display on defined pages in a variable.

Here is how to make it work:
  1. Go in the admincp, in the "Display and position" chatbox option page.
  2. Activate the "Display on defined pages of the forum in a variable" option.
  3. Then in the pages list, add : arcade and then validate.
  4. Create a new vBadvanced template based module with the following parameters :
    • Title : MGC Chatbox
    • Template to include : mgc_chatbox
    • Styles : the style on which you want the module to be shown
    • Template content : $mgc_chatbox
    • Select no for the wrapper template option
    • Then validate
  5. In the edit modules page, add the chatbox module to the homepage on the center wherever you want it to be positionned.
  6. Enjoy :)

I make all - changing the 'arcade' do adv_index and don't work ... Any suggestions?
[in vblinks - script=adv_links] don't work too...

But thanks for your finest code and support

Beduino

captainslater 08-02-2007 04:25 AM

Quote:

Originally Posted by paldo (Post 1307650)
whats with the new file today its the same version whats been fixed ?

edit .. i see the templates has been updated by the looks of the date ..

German language was added too.

VBDev 08-02-2007 04:48 AM

Quote:

Originally Posted by slyreptile (Post 1307538)
Found the greyed out problem, but not really sure how to resolve it. To achieve the transparency, I use an css file that contains lines similar to this under each div tag:

Code:

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../trans.png', sizingMethod='scale');
This is what is causing IE to show the boxes as disabled. At the same time, without this line IE does not handle the transparent png file properly. If a png file is used where a textbox exists, it will cause this issue. I know this isn't your problem. I'm just updating my previous posts. I'll take this conversation elsewhere.

I know this is not your problem, nor have anything to do with your script. Just updating my previous posts with new information. I'll take this topic somewhere else.

That's ok, this is advanced javascript so I can't really help on that part ;) My skills in javascript are not that strong.

Quote:

Originally Posted by Karabaja (Post 1307544)
Does anyone have who's online working?
I had members showing as in MGC chatbox in vbulletin's wol with previous version. But now they are not anymore. And I am always "the only user connected to the chatbox" when I try wol channel.

The wol is actually not working very well, I have planned to find a way to achieve that in a cleaner and working way for the next versions.

Quote:

Originally Posted by paldo (Post 1307650)
whats with the new file today its the same version whats been fixed ?

edit .. i see the templates has been updated by the looks of the date ..

Templates updated ? No they haven't, this new file only contains the german file plus and xml file for automatic template modifications with the TMS hack of Andreas.

Quote:

Originally Posted by beduino (Post 1307741)
hello,
all the mod is fine [better, better and better :D]
the users of vb-brasil choose this hack of chat !
But...
How integrate with vbadvanced 3.01?

I make all - changing the 'arcade' do adv_index and don't work ... Any suggestions?
[in vblinks - script=adv_links] don't work too...

But thanks for your finest code and support

Beduino

You have carefully followed all the steps described in the readme (with the modification of arcade to adv_index) ?

This should work. You can also try to add mgc_chatbox in the globalize var field of the vbadvanced settings.

dirty68 08-02-2007 05:33 AM

Quote:

Originally Posted by VBDev (Post 1307264)
When you double click on that error, what does ie says ?

....

VBDev 08-02-2007 05:41 AM

Hum, I have made a little search on the web and seems like I could have figured out what's going wrong.

In the 1.4 version, I have put full urls in the javascript files by using the $vbulletin->options[bburl] variable.

However in javascript, it's forbidden for a code sample to call an external url from a different domain.

So I suppose this might be what's going wrong, do you have a bburl variable corresponding to the real domain url ?

itzxmikee 08-02-2007 05:46 AM

how do you make the chat window narrower? Currently the chat window is too wide for my site. Thanks

VBDev 08-02-2007 06:16 AM

Here is one of my previous posts which should help you :)

Quote:

Originally Posted by VBDev (Post 1305275)
How you could achieve that :
  • Reduce the size of the input box (option in the acp)
  • Disable some bbcode (option in the acp) for the chatbox
This will allow you to reduce it's width.


dirty68 08-02-2007 06:30 AM

Quote:

Originally Posted by VBDev (Post 1307787)

So I suppose this might be what's going wrong, do you have a bburl variable corresponding to the real domain url ?

??? sorry Dev still new to all this i dont understand this bit

VBDev 08-02-2007 06:55 AM

Does the url of your website corresponds to the one of your domain or do you have a kind of address translation ?

I mean dirtysplace.com is the real url or just a redirecting one ?

beduino 08-02-2007 10:52 AM

hello
Quote:

You have carefully followed all the steps described in the readme (with the modification of arcade to adv_index) ?

This should work. You can also try to add mgc_chatbox in the globalize var field of the vbadvanced settings.
I did it. 3 times, but no results.
If I send mgc_chatbox.php to /modules and change the type of module [template -> php module] is possible to work?
tks
beduino
ps. the adv_portal_mgc_chatbox template contains only $mgc_chatbox... right?

VBDev 08-02-2007 01:04 PM

Quote:

Originally Posted by beduino (Post 1307943)
hello

I did it. 3 times, but no results.
If I send mgc_chatbox.php to /modules and change the type of module [template -> php module] is possible to work?
tks
beduino
ps. the adv_portal_mgc_chatbox template contains only $mgc_chatbox... right?

Nope if you put php module it won't work.

Yes it contains only that.

Have you tried the mgc_chatbox add to the parameter in vba acp options ?

aranthorn 08-02-2007 02:50 PM

I know it may be pedestrian, but I've updated 1.4 at least twice now. Would you mind incrementing the version number? I get a hack updated email and when I go to the hack, the version is the same. I then try to figure what's been updated by reading all the posts... It's time consuming!

Thanks for the great hack, it truly is an awesome shoutbox :)

VBDev 08-02-2007 03:15 PM

He He lol that's ok I will ;)

aranthorn 08-02-2007 05:49 PM

Thanks a ton, VBDev. I hope that didn't read as complaining, I'm very grateful for the fine work you've provided everyone gratis :)

VBDev 08-02-2007 07:28 PM

No No you are right on that point ;)

In my job I won't release the same version two times or more like that so I should apply it to my hacks too :)

dirty68 08-02-2007 07:58 PM

Quote:

Originally Posted by VBDev (Post 1307828)
Does the url of your website corresponds to the one of your domain or do you have a kind of address translation ?

I mean dirtysplace.com is the real url or just a redirecting one ?

yea dirtysplace.com or the full url to the site www.dirtysplace.com/forums could it be my vbadvance? i could never get that going and dont know how to take it off haha

VBDev 08-02-2007 09:58 PM

Does all the users of your forums with IE have this problem ?

This could be a configuration of IE (security) to restrictive thus blocking xhttp chatbox requests.

slyreptile 08-02-2007 10:13 PM

Quote:

Originally Posted by slyreptile (Post 1307517)
I've found and fixed the problem with the overflowing time/user. Now is just the issue with the disabled textboxes and buttons in IE6. No javascript errors occur, but they are disabled in IE6. BTW, the text out of the box was caused by an errant css entry.

Okay, I guess I do need some more help. I believe this to be a shortcoming in the chat script. Here's the code I have in my css. This code is necessary. Without it, links don't work properly. This code causes the overflow problem. I also have Dream's chatbox to show that that box isn't affected.

Code:

/* hyperlink clickable fix */
a, {
        position:relative;
}

I've disabled the transparency for IE6, so this problem is not being caused by transparent pngs. Any ideas?

paldo 08-02-2007 11:05 PM

i now have a few regulars that cant see the shoutbox sinse i have updated .. i see it fine with my setup but they cant see it ..

i have one member that couldnt see it with his desktop pc but logged in with his laptop and could see it .. what could possibly be effecting these people ? its got to be a setting much needed on sombodies computer effecting whether they see it or not .. i know its their setup effecting it because i can log in with the same browser as them with their user and pass and whalla theres shout.. im cunfuzzed in a bad way here .

this didnt start til the last upgrade im about to go back to the older version somthing changed in this version thats effecting my users being able to see it

all they can see is the loading message .. it just never loads

i will also add i installed a firefox toolbar a member made for my site and i couldnt see the shout after install .uninstalled the toolbar and shout came back ..

LjubavnaZona 08-03-2007 01:23 AM

Ok I love this hack and I desperately want it on my forum, and I installed it and uploaded everything that needed to be uploaded. I completely followed everything and yet I cant see it. I dont see the chat at all.

I went to see if it was enabled and it is. Everything looks fine yet I dont see it
What am I doing wrong?

I got 1.4 version and its my first time installing it. I havent upgraded or anything.
I did everything I was asked to do...

Help please!

paldo 08-03-2007 02:17 AM

you set up permissions in the usergroup permissions ?

VBDev 08-03-2007 05:12 AM

Quote:

Originally Posted by slyreptile (Post 1308496)
Okay, I guess I do need some more help. I believe this to be a shortcoming in the chat script. Here's the code I have in my css. This code is necessary. Without it, links don't work properly. This code causes the overflow problem. I also have Dream's chatbox to show that that box isn't affected.

Code:

/* hyperlink clickable fix */
a, {
    position:relative;
}

I've disabled the transparency for IE6, so this problem is not being caused by transparent pngs. Any ideas?

Site is . Username = user Password = hinkley

The problem is the relative position value for your parameter as I think it's override the overflow css of the chatbox table.

Dream's chatbox is using an iframe to load the contents of the shouts from another file this is why you don't have this problem with its chatbox.

I think you would have the same problem with vbshout as zero tolerance uses overflow property too.

I am not a css master at all so I won't be really useful to you on that problem :(

Quote:

Originally Posted by paldo (Post 1308542)
i now have a few regulars that cant see the shoutbox sinse i have updated .. i see it fine with my setup but they cant see it ..

i have one member that couldnt see it with his desktop pc but logged in with his laptop and could see it .. what could possibly be effecting these people ? its got to be a setting much needed on sombodies computer effecting whether they see it or not .. i know its their setup effecting it because i can log in with the same browser as them with their user and pass and whalla theres shout.. im cunfuzzed in a bad way here .

this didnt start til the last upgrade im about to go back to the older version somthing changed in this version thats effecting my users being able to see it

all they can see is the loading message .. it just never loads


i will also add i installed a firefox toolbar a member made for my site and i couldnt see the shout after install .uninstalled the toolbar and shout came back ..

It doesn't load an tell them of an error in IE that's right ? And this error is the same as dirty68 I suppose ?

This problem is due to the changes I made for vbadvanced integration I think.

You could see it's working by replacing all

Code:

bburl + '/
by

Code:

'
from the clientscript/mgc_chatbox.js file and I think this problem would disappear. Can you try it ?

However with that modification integration with vbadvanced wouldn't work anymore.

If the problem is coming from there, then I'll have to change something from the next version to manager in a better way the vbadvanced thing.

Quote:

Originally Posted by LjubavnaZona (Post 1308628)
Ok I love this hack and I desperately want it on my forum, and I installed it and uploaded everything that needed to be uploaded. I completely followed everything and yet I cant see it. I dont see the chat at all.

I went to see if it was enabled and it is. Everything looks fine yet I dont see it
What am I doing wrong?

I got 1.4 version and its my first time installing it. I havent upgraded or anything.
I did everything I was asked to do...

Help please!

Quote:

Originally Posted by paldo (Post 1308665)
you set up permissions in the usergroup permissions ?

That also could be a style issue.
  1. Verify the permissions (especially the number of posts to see the chatbox).
  2. Try the different positions
  3. If the chatbox displays in one of the position but not the top one, then you should follow the little how to for styles issue which can be found in the readme file.

dirty68 08-03-2007 05:25 AM

Quote:

Originally Posted by VBDev (Post 1308738)
You could see it's working by replacing all

Code:

bburl + '/
from the clientscript/mgc_chatbox.js file and I think this problem would disappear. Can you try it ?

Replace this with what Dev? or just get rid of all the bburl +'/ code?

VBDev 08-03-2007 06:03 AM

lol I was just waking up when I wrote that.

I edit the post :)

dirty68 08-03-2007 06:17 AM

Quote:

Originally Posted by VBDev (Post 1308757)
lol I was just waking up when I wrote that.

I edit the post :)

LOL i know what you mean, ok ill do that now and let you know later if things change

dirty68 08-03-2007 06:26 AM

sorry Dev that didnt work, now its coming up as loading for everyone

VBDev 08-03-2007 06:41 AM

Quote:

Originally Posted by dirty68 (Post 1308765)
sorry Dev that didnt work, now its coming up as loading for everyone

In vbadvanced ?? If yes that's normal I told it wouldn't work anymore with that modification and if it did work on other parts of the forum then I'll have to dig into that.

But if you did modified the clientscript file well this should be good. In the clientscript file each function parameter in which you found it is now starting by mgc_chatbox.php right ?

dirty68 08-03-2007 06:48 AM

i changed all the bburls like you said in that folder and yes its not workin on the main forums now i dont use my vbadvance anymore

itzxmikee 08-03-2007 07:08 AM

Quote:

Originally Posted by VBDev (Post 1307802)
Here is one of my previous posts which should help you :)

Still not working for me. Whatever I set the input width at, the size of the chat box stays the same.

VBDev 08-03-2007 07:45 AM

Quote:

Originally Posted by dirty68 (Post 1308772)
i changed all the bburls like you said in that folder and yes its not workin on the main forums now i dont use my vbadvance anymore

Well I try to give you a fix as soon as possible, put the old file back.

Quote:

Originally Posted by itzxmikee (Post 1308773)
Still not working for me. Whatever I set the input width at, the size of the chat box stays the same.

Can you attach a screenshot plz with all things expanded (smileys and bbcode)


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