![]() |
no no say for example you post on my site I wont see your message in the shoutbox until I refresh the page. when it should show right away cause of the ajax. as for the messages part what would happen is say your the admin you only erase the top 2 messages cause they were spam or something if I hit the refresh button on the shoutbox I will see them messages.
|
Quote:
<if condition="is_member_of($bbuserinfo, 6,7)"> your shout box code </if> |
Quote:
Ajax doesn't mean the message appears right away, it has a refresh rate too. If you set it to 10 seconds it could give you the impression that they appear right away, it's the way vBShout works. |
I was able to reproduce the IE7 refresh bug in my testboard, I'll be working on a fix :)
Maybe I should drop the custom code and just use the vB ajax functions. |
strange cause when I had done your post here https://vborg.vbsupport.ru/showpost....&postcount=261 then the shout would appear right away but since the update it has stopped appearing right away and in the old one I even had refresh off also in admincp since I didnt think it would be needed cause of the ajax.
|
When you send a message it should appear right away. With the IE7 bug that may not happen.
Were you using the no ajax version or the 1.4 before? The IE7 refresh bug is with 1.4 and 1.5. |
nah when I was using the ajax version before this one and did these mods to the php file (chatbox.php) https://vborg.vbsupport.ru/showpost....&postcount=261 they would appear right away but since the update they wont appear right away... well let me clear it up they appear for the user who posted the shout right away but for everyone else they have to hit the refresh button or they have to refresh the page in order to see new shouts. where as with the version before this with them mods it would appear right away.
|
How many seconds is your refresh interval set to?
|
0 for disabled since i didnt ever use it and didnt use it in the previous version either
|
just tried it on 10 and same thing didnt show the newest shout until page refresh
|
That's the problem, 0 disables ajax refreshing, you can only see new messages by clicking the refresh button.
Set that option to the number of seconds you want for the messages to update. You need to reload the page for this new setting to take effect. |
yeah I had it on 0 since I been using it and it would work fine maybe its this I-E bug who knows cause I been testing it with one name on I-E and one on firefox. what about the error with the smilieys is that in the same I-E bug?
|
The smilies button is working fine in my testboard with IE7.
Did you edit chatbox.php? edit: I'll have to go now, I'll be back later |
nope its all stock if you click the smilieys button it will give you a error like I posted a few pages back with the screen shot im just going to remove it now and try another one thanks anyway.
|
is there a way to put the box on the top of the page?
|
and can you make the box bigger at all?
|
Quote:
// ########################## OPTIONS ############################ $user = 'admin'; $userid = 1; $message = 'Good morning all!'; |
Quote:
|
Updated, version 1.6
Fixed IE7 bug, the ajax code now uses vB's ajax functions. |
Quote:
|
Thanks Dream.
I'm gonna test it real soon. Some people have been asking how to make the height of the chatbox bigger, so I have added a setting so they can add their desired height in pixels. I will make the changes to the 1.6 version and send it to you for reviewing and possible inclusion in next version. |
Sure, it's a template mod right?
|
Ajax works fine with IE7 now. :up:
And here's the hack i made. It adds one new setting and a change to the template adding code. |
Thanks arco, that's a nice idea, but I can see people changing the chatbox height easily by editing the template.
|
Quote:
|
Ah but I'm a lazy sob :p
edit: besides, auto edit templates wont work for people with custom styles |
Lol.... ok then. :)
|
Quote:
|
ya the ie7 bug is gone, just a slight delay after i hit the 'send' button.
but that damn 'array' is still there. |
I exported the vBadvanced module, so people just need to upload it through the CMPS instead of adding the code themself. Maybe you can add it to the zipfile and the frontpage Dream?
|
seangworld, what browser are you using?
arco I'll do that. edit: seangworld, I think you put the guests user group as chatbox moderator, I think guests can delete messages in your chatbox |
I have about 1/2 of the firefox 2.0 users are complaining about the chat box showing nothing but a blank chat box, no text entry all intermittently, and others are saying it's not refreshing, or submitting posts to it.
|
I read your chatbox, is it a style issue? Some users were saying it wasn't working just on the Blue style.
I tested here with firefox and it seems to be refreshing fine, on the green and blue styles. If this keeps happening, ask them if they get any javascript errors. edit: yes it isn't working in the Blue Fluid style, how strange O_o edit: yes it doesn't work only in the Blue Wave Fluid style, on all others it seems to work edit: do you have any custom javascript installed in the Blue Wave Fluid style? I'm getting a big error here when the chatbox is loaded (exception, when you get an exception it means it's a big error) |
Quote:
yes i did actually. and ya know what? it took care of the frickin lag i was having on my site. i was wondering wtf was going on!! hehe, didnt think it was the chatbox.:p |
Whats your refresh interval set to? If you set it too low it could require more server resources.
And sorry man, I couldn't reproduce your array problem in any browser I have. edit: seang redo your forum home top chatbox edit in the new instructions to fix the collapse image |
Hi Dream.
Is there any chance to make this hack work with 3.5.x? That would be briliant cause existing 3.5 version is extremly far from perfection.... |
I don't have time to support two versions, sorry.
But I don't see why this version shouldn't work in 3.5, could you try for me? The only problem I would see is product file incompatibility. |
Quote:
Code:
Database error in vBulletin 3.5.4: |
I'll look into making a product file compatible with 3.5.
|
Updated, version 1.7
- Added /me code. Users can use the /me code in front of messages to denote an action. - When posting the posted message now appears right away, as opposed to having to wait for a refresh. This is faster and uses a little less resources. - Added Chatbox height option. To use it, redo your forumhome template edit. If you like your Chatbox size you don't need to do it. And here's a :lol: smilie for you to use with the /me code :) |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|