View Full Version : Chat Modifications - VSa - ChatBox (AJAX)
Pages :
1
2
[
3]
4
5
6
7
8
9
10
11
12
13
mainframe
02-16-2010, 01:56 PM
Just a suggestion: Wouldn't it be better to remove the table surrounding the shoutbox and replace it by a div container?
also the <br> there is before and after the shoutbox create a gap if you also have your advanced forum statistics installed because that one also have a <br> before and after.
Regards,
MainFrame
cbiweb
02-16-2010, 02:27 PM
If I choose white for the color of my text, it is not visible in the text input field. And light colors are barely visible. PLEASE FIX THIS. It has been brought up many times in this thread already, and it's still not fixed in 3.1.2. The text should always be visible in the input area. Two ways to resolve:
1. Make the text input background the same color as the chatbox background.
or
2. Make the default text color of the input field black, and always black, and when we submit it the color we choose shows up in the chatbox.
The first solution is most desirable and probably most easy to implement. This MUST be fixed, it is a serious usability issue!
Videx
02-16-2010, 02:37 PM
If I choose white for the color of my text, it is not visible in the text input field. You are given your choice of which colors to allow. On day 1 I disallowed white. On Day 2, sure enough there were users depressed they couldn't send 'invisible' white text! :)
cindy helmond
02-16-2010, 02:41 PM
i have problem the time is not updating in the chat :
i use this time code %H:%I
thx
ShawnV
02-16-2010, 03:07 PM
Thanks Valter, the chatbox is a work of art.
The PM notice would be great, since the one in the header is easy to miss, the smiles icon was a nice add also, although I change it to .png
Appreciated.
dangerin
02-16-2010, 03:15 PM
Actually i've installed that version in object and i'm happy with this and for now, i do not think to update because all work ok ..
But i've a genaral question :
There is an option to have a sound when there's a new message in chat or to communicate only with a user in private mode?
Bye
cbiweb
02-16-2010, 03:21 PM
You are given your choice of which colors to allow. On day 1 I disallowed white. On Day 2, sure enough there were users depressed they couldn't send 'invisible' white text! :)
NO! That is NOT the issue! The issue is I DO want to allow white, but when typing in the text input box, white text cannot be seen! My chatbox background is BLACK (and black color is disabled), so I WANT WHITE TEXT. Therefore the user should be able to see what they are typing!
Is that so hard to understand???
leenster
02-16-2010, 04:37 PM
please check your pm :)
thanks steve, ill install that tonight..
Kolbi
02-16-2010, 06:48 PM
How much ressources does this hack need?
steven72555
02-16-2010, 08:01 PM
My chatbox is up and running nicely- Thank You very much..
Just one thing else, anyway to create a chat widget for the home page?
wolfyman
02-16-2010, 09:24 PM
I would like to disable this on regular pages, only use the /misc.php?do=cchatbox, and only allow that for a certain user group.
Possible?
iPaul
02-16-2010, 09:35 PM
Great mod, Installed and working great, thanks!
frankie.
02-16-2010, 11:44 PM
Still waiting on a response to my post...
The chatbox seems to censor certain things by itself, for instance it censors "bs" so if someone types in absolutely it will show up as aolutely, any ideas?
Pro-eSports.com
02-16-2010, 11:48 PM
Still waiting on a response to my post...
The chatbox seems to censor certain things by itself, for instance it censors "bs" so if someone types in absolutely it will show up as aolutely, any ideas?
I just typed "bs" on mine and it's not censored. Not even the f-word or other insults. :P
Check your word censoring options in the ACP.
dangerin
02-17-2010, 05:44 AM
My chatbox is up and running nicely- Thank You very much..
Just one thing else, anyway to create a chat widget for the home page?
hi, i'm absolutely not expert but my chat is in every page of the site and is possible only leaving the index on the opzions of vsachat.
i hope this is that you need
bye
cory_booth
02-17-2010, 10:47 AM
Strange...
Was working in the CMS (content.php) page in 4.01.
Updated to 4.02 and no longer displaying.
dangerin
02-17-2010, 11:25 AM
i must upload to 4.0.2
can i do it or i lost the chat ?
Also someone know how to put the sound at posting a new message in chat?
Bye
cory_booth
02-17-2010, 11:33 AM
i must upload to 4.0.2
can i do it or i lost the chat ?
Also someone know how to put the sound at posting a new message in chat?
Bye
My chat works in all pages - except CMS - with 4.02...
There is no sound in this yet and it is a difficult feature to add.
dangerin
02-17-2010, 11:41 AM
thank for answer.. so is impossible to have chat in cms? i need more in cms that in other pages.. now i'have it but i'd must also to update vbulletin as soon as possible.
XXXT0
02-17-2010, 06:58 PM
Muy bueno!!
Pero se podrĂan agregar algunos comandos del CGBOS?
/clear
/pm
/say <user> <message ...>
/ignore
/listignore
=)
cindy helmond
02-17-2010, 08:53 PM
private message is nice but its not in this chat ?
thx
Ozymandyus
02-17-2010, 09:02 PM
Like others have noted, once I updated to 4.0.2, I am completely unable to get the chatbox to function on CMS pages. Previously I had been able to get around this by attaching the chatbox to the navbar template and allowing it to be shown on all site pages, but this no longer works. I assume it's something Jelsoft changed in this version of their code.
I've asked before but would like to bring it up again...having a CMS widget for this chatbox would be very helpful. This is the only thing missing that's keeping me from donating and nominating this for MOTM.
fogjuice
02-17-2010, 09:11 PM
When will this overlap problem be fixed? See attached screenshot. It only happens for logged out users.
steve1966
02-17-2010, 09:45 PM
since update to vb 4.02 the colour bar is showing too big anyone else have same problem?
ShawnV
02-17-2010, 09:52 PM
since update to vb 4.02 the colour bar is showing too big anyone else have same problem?
Yeah, noticed that also.
Charlie98902
02-17-2010, 10:00 PM
since update to vb 4.02 the colour bar is showing too big anyone else have same problem?
Same here I am sure we'll see a quick update soon.
xDazedx
02-17-2010, 11:46 PM
anyone know how I can get the shoutbox only on a separate page with no header/footer? I want to embed it on a page outside the forum and can do so with an iframe but I just need the shoutbox.
Thanks!
Greeksgal
02-18-2010, 01:42 AM
Doesn't matter, solved it.
RK1gaming
02-18-2010, 01:46 AM
I'm getting a database error when trying to update usergroup permissions for the chatbox, any ideas?
MySQL Error : Unknown column 'mgc_cb_evo_permissions' in 'field list'
Error Number : 1054
wrong thread this is VSa-Chatbo not MGC chatbox ...
MGC chatbox has not been upgraded for VB4.0 last time i was reading
balkanboy
02-18-2010, 01:48 AM
since update to vb 4.02 the colour bar is showing too big anyone else have same problem?
Yeah, noticed that also.
Same here
enoobz
02-18-2010, 03:14 AM
Can someone make this Chatbox appears in the vB 4.0.2 CMS please..
junaid
02-18-2010, 03:57 AM
4.0.2 chatbox font color selections see like fade
princeedward
02-18-2010, 05:10 AM
since update to vb 4.02 the colour bar is showing too big anyone else have same problem?
Yeah, noticed that also.
Same here I am sure we'll see a quick update soon.
Same herewhy dont you guys try a temporary edit to vsa_chatbox_input it might work
FIND:
<vb:if condition="$vboptions[vsachatbox_colors_enabled]">
<select id="vsacb_m_color" name="vsacb_m_color" style="width:50px;background-color:{vb:raw vsacb_colorfirst};" onchange='VSacb_updateColor(this, "color");VSacb_Init();' <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if>>
CHANGE WITH THIS (or add the red one and adjust to your desired height):
<vb:if condition="$vboptions[vsachatbox_colors_enabled]">
<select id="vsacb_m_color" name="vsacb_m_color" style="height:22px; width:50px;background-color:{vb:raw vsacb_colorfirst};" onchange='VSacb_updateColor(this, "color");VSacb_Init();' <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if>>
Hope it work...did it to my 4.01 board not to the latest version....coz i'm not going to upgrade and have another headache for the new bugs....:p
best regards to all
;):up:
CRDeveloper
02-18-2010, 05:21 AM
Im getting a blank space under the chat after upgrading to 4.0.2...
physiart
02-18-2010, 06:51 AM
I have the chatbox working only in full version in its own page (not in the CMS or elsewhere). After I've upgraded to 3.1.2 I get the following 'funny' thing: I can see the discussions in the normal view but when I turn to the archive there is nothing there. However I see the pagination (4 pages) over the chatbox footer and although I've set it to auto-prune every 72 hours no messages appear.
Any ideas?
steve1966
02-18-2010, 07:06 AM
why dont you guys try a temporary edit to vsa_chatbox_input it might work
FIND:
<vb:if condition="$vboptions[vsachatbox_colors_enabled]">
<select id="vsacb_m_color" name="vsacb_m_color" style="width:50px;background-color:{vb:raw vsacb_colorfirst};" onchange='VSacb_updateColor(this, "color");VSacb_Init();' <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if>>
CHANGE WITH THIS (or add the red one and adjust to your desired height):
<vb:if condition="$vboptions[vsachatbox_colors_enabled]">
<select id="vsacb_m_color" name="vsacb_m_color" style="height:22px; width:50px;background-color:{vb:raw vsacb_colorfirst};" onchange='VSacb_updateColor(this, "color");VSacb_Init();' <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if>>
Hope it work...did it to my 4.01 board not to the latest version....coz i'm not going to upgrade and have another headache for the new bugs....:p
best regards to all
;):up:
thank you that also helped with the width problem there is one more thing the dropdown button is centred and it should be to the right of the colour box
SLY LS1
02-18-2010, 08:14 AM
Has anyone been able to add this to the CMS or as a widget ?
If so can you please post up how you did it
Thanks in advance
NashChristian
02-18-2010, 09:42 AM
So I take it, this is not compatible with 4.0.2 yet, is that correct?
Charlie98902
02-18-2010, 09:48 AM
It works but a few GUI issues.
KissOfDeath
02-18-2010, 12:04 PM
another great mod , thank you.
aren their any permission settings for mods? my super moderators do not get the "mod: delete all posts" option
So I take it, this is not compatible with 4.0.2 yet, is that correct?
I installed it no problems on 4.0.2
Valter
02-18-2010, 12:48 PM
another great mod , thank you.
aren their any permission settings for mods? my super moderators do not get the "mod: delete all posts" option
I installed it no problems on 4.0.2
'Delete All' is Admin only function.
Ozymandyus
02-18-2010, 03:42 PM
So I take it, this is not compatible with 4.0.2 yet, is that correct?
It's not compatible with the CMS pages in 4.0.2 as of yet. It works fine in normal forum pages. Not clear yet what caused the change, but Valter's been pretty quick with the updates to this point.
Trumpetrhapsody
02-18-2010, 04:44 PM
I'm having an issue where the shoutbox will show up, but never get past loading.
This only happens when a member FIRST visits my domain "http://www.nwamotorsports.net/".
If they visit a sub-page and come back, or click the banner and redirect to "http://www.nwamotorsports.net/index.php" it will load properly, and even load properly if you then manually visit "http://www.nwamotorsports.net/" again.
I have a feeling this has to do with the option to specify which page to load the shoutbox on... but I'm not sure how to fix it.
My "Show ChatBox on pages..." is set to "index"
My "Show ChatBox in templates..." is set to "FORUMHOME"
aaronrand
02-18-2010, 05:20 PM
Hi, I still have the issue where the chatbox opens blank and says loading.. in multiple browsers. Only on first load. If you f5 for change pages, it works.
any fix?
steve1966
02-18-2010, 08:07 PM
Hi valter i have upgraded my forum to 4.02 this is what the colour button looks like
https://vborg.vbsupport.ru/external/2010/02/17.png
please can you fix also
KEKforce
02-18-2010, 08:11 PM
Hi valter i have upgraded my forum to 4.02 this is what the colour button looks like
https://vborg.vbsupport.ru/external/2010/02/17.png
please can you fix
second that!
Charlie98902
02-18-2010, 09:52 PM
Hi valter i have upgraded my forum to 4.02 this is what the colour button looks like
https://vborg.vbsupport.ru/external/2010/02/17.png
please can you fix also
Same here as well, updated to 4.0.2 and that is the only issue I am having.
leenster
02-19-2010, 01:18 AM
i had that problem, i uninstalled and installed 3.1.1, now it works great
carrlos
02-19-2010, 01:21 AM
Hi valter i have upgraded my forum to 4.02 this is what the colour button looks like
https://vborg.vbsupport.ru/external/2010/02/17.png
please can you fix also
Fourth!! :rolleyes:
DeviantFlash
02-19-2010, 01:52 AM
The only thing I would ask is for us to get the option to change the default text in the admin panel.
I have a dark board and with the default black text I am afraid my users wont notice the pulldown menu.
Aclikyano
02-19-2010, 01:59 AM
anyone sometimes get the forever loading shoutbox????
Valter
02-19-2010, 08:23 AM
The only thing I would ask is for us to get the option to change the default text in the admin panel.
I have a dark board and with the default black text I am afraid my users wont notice the pulldown menu.
As said several times, put your preferred color on the first place in the list of available colors.
The_Rayman
02-19-2010, 10:55 AM
anyone got it to work with CMS frontend 4.0.2 yet? Planning on upgrading, but if there's no funtion for the CMS part... might just not install it...
zbosskiller
02-19-2010, 11:00 AM
anyone got it to work with CMS frontend 4.0.2 yet? Planning on upgrading, but if there's no funtion for the CMS part... might just not install it...
Yeah, its not built into the product but you just need to add the relevant code to every page CMS but took it off as people use the forums less.
suneka
02-19-2010, 11:27 AM
I wonder if it is possible to have private message, type a "/ pm UserName", like it very much.
Ocean-Wonders
02-19-2010, 11:36 AM
Installed, great mod.
Is there any way it can be made to display notifications, i.e new post, pm, new topic ?
wolfyman
02-19-2010, 01:14 PM
I would like to disable this on regular pages, only use the /misc.php?do=cchatbox, and only allow that for a certain user group.
Possible?
__________
Valter
02-19-2010, 01:58 PM
Yes, it is possible.
- Disable auto-insertion (product options)
- Make blank both, target page and template settings (product options)
- Set permissions to feet your needs (product options)
Alexandre.R
02-19-2010, 02:31 PM
I keep getting this small problem (am using the latest version of mozilla firefox).
Chatbox works fine (what do you expect, VSa rocks) but from time to time, the bar where you input text (where it says Message by default), it gets bugged. What I mean by this is I click on it and nothing happens, and I cannot write a message in chatbox. This happens quite often.
I am using vB 4.0.2
cory_booth
02-19-2010, 03:13 PM
I was able to get the chat to work as a widget.
I made a JS Widget (where you can select a specific template)
and then I made a new template called shout.
I had to "merge" all the templates that came with chat into a single template and some varibles (like color, size, and smilies) do not pull over, so they had to be hand-jammed.
It appears with 4.02, the varible or global reference for this chat is no longer working?
But if a the next version has CMS ability, I would like a widget like mine...
wolfyman
02-19-2010, 03:32 PM
Yes, it is possible.
- Disable auto-insertion (product options)
- Make blank both, target page and template settings (product options)
- Set permissions to feet your needs (product options)
- Disable auto-insertion (product options)
I don't see that option anywhere, but this seems to do the same thing:
- Make blank both, target page and template settings (product options)
OK, got that - thanks!
- Set permissions to feet your needs (product options)
Ok, I had to enter 20 usergroups to NOT allow to view the chat... but ok. :) Thanks! One problem - if a usergroup is banned from that chat room, misc.php?do=cchatbox takes them to the faq page. I'd like to display a custom message - is this possible?
Ozymandyus
02-19-2010, 03:35 PM
I was able to get the chat to work as a widget.
I made a JS Widget (where you can select a specific template)
and then I made a new template called shout.
I had to "merge" all the templates that came with chat into a single template and some varibles (like color, size, and smilies) do not pull over, so they had to be hand-jammed
If I understand this right, Cory...you basically made a new template, and copied and pasted into it all the contents from all of Valter's chatbox templates (with a few edits for formatting)? Would you be so good as to post the code of your final work here? I've been doing my damnedest to get this to work myself, with no success to this point.
Installed the latest version from 3.0.2 prior.
My text size dropdown is empty now. I checked the settings and the values are still there from before.
Clicking the "log in/log out" doesn't appear to do anything. At least there's no visual cue that I could see to say what state you are in.
Can we get an option to right align the usernames as well? That way the messages and names can align clearly?
Looking good though, thanks again!
cory_booth
02-19-2010, 04:09 PM
If I understand this right, Cory...you basically made a new template, and copied and pasted into it all the contents from all of Valter's chatbox templates (with a few edits for formatting)? Would you be so good as to post the code of your final work here? I've been doing my damnedest to get this to work myself, with no success to this point.
I would but...
1. Not sure about Valter's thoughts...
2. It is actually too big to post
3. The smilies are geared to my site's smilies...
Send me a PM and I'll see what we can do - even if we have to drop the smilies for now?
Videx
02-19-2010, 05:05 PM
But if a the next version has CMS ability, I would like a widget like mine...>There are no active watches, warnings, or advisories for
A weather warning notice? Is that a mod?
Valter
02-19-2010, 06:10 PM
Chatbox works fine (what do you expect, VSa rocks) but from time to time, the bar where you input text (where it says Message by default), it gets bugged. What I mean by this is I click on it and nothing happens, and I cannot write a message in chatbox. This happens quite often.
I am using vB 4.0.2
It's locked when you are logged out from CB.
In upper left corner there is a status icon which is green when you are logged in. If it's gray then input is locked and you are not able to enter message. Click on the status icon to log in and unlock input field.
I had to "merge" all the templates that came with chat into a single template and some varibles (like color, size, and smilies) do not pull over, so they had to be hand-jammed.
This all is included in {vb:raw vsachatbox}.
kylek
02-19-2010, 06:30 PM
Any chance that an announcement (message) could be added to this like the old inferno shout had?
cory_booth
02-19-2010, 06:31 PM
It's locked when you are logged out from CB.
In upper left corner there is a status icon which is green when you are logged in. If it's gray then input is locked and you are not able to enter message. Click on the status icon to log in and unlock input field.
This all is included in {vb:raw vsachatbox}.
You are right, ofcourse - but CMS does not parse the variable...
wolfyman
02-19-2010, 06:32 PM
is it maybe possible to disable the misc.php?do=cchatbox function and simply include the chat on a custom page?
cory_booth
02-19-2010, 06:32 PM
>There are no active watches, warnings, or advisories for
A weather warning notice? Is that a mod?
Check my mod post about weather....
It is another free script available from: http://saratoga-weather.org/scripts.php
mfbmike
02-19-2010, 06:48 PM
Is it normal for this mod to inflate the number of guests on your page? I highly doubt 50-70 guests are actually browing my chatbox archive.
Take a look...
http://www.digitalsportscene.com/forum/forum.php
I highly doubt these are legitimate guests. Has this happened to anyone else? 50+ guests viewing chatbox archive?
scorpsy
02-19-2010, 07:29 PM
This is just CLASS well done :)
Valter
02-19-2010, 07:42 PM
v3.1.3 - Feb 19. 2010.
-Fixed: Color selector dimensions
-Fixed: Minor bugs
To upgrade:
- Import product XML, allow overwrite
- Revert product templates if modified
Karadenize
02-19-2010, 07:47 PM
not support cms :(
starli
02-19-2010, 07:54 PM
can u fix the write-lag bug?
we have the refresh time on 5 seconds...typing and refresh lag :/
but thanks for the new update :)
steve1966
02-19-2010, 08:03 PM
thank you valter
Pimpin PSP
02-19-2010, 08:22 PM
I love this chatbox.
Thanks for posting this! :up:
Regards,
SonicGT
02-19-2010, 08:23 PM
just updated to 3.1.3 and it looks like there are 2 blacks and the default one displays color codes in the chat like this
t
steve1966
02-19-2010, 08:28 PM
just updated to 3.1.3 and it looks like there are 2 blacks and the default one displays color codes in the chat like this
t
yes its still not working as it did before the update its seems the box too big and the button is not postioned on the right of the box
ShawnV
02-19-2010, 08:30 PM
confirmed, 3.1.3 has the same issues, perhaps the wrong file was uploaded.
mfbmike
02-19-2010, 08:31 PM
and from one second to the next, all the guests that were searching the chatbox archive are gone lol. so weird.
Valter
02-19-2010, 08:37 PM
just updated to 3.1.3 and it looks like there are 2 blacks
First 'black' is your style's default color, and now CB's default.
Valter
02-19-2010, 08:41 PM
confirmed, 3.1.3 has the same issues, perhaps the wrong file was uploaded.
No, it's correct file.
Ensure CB's templates are not marked red in template list.
If yes, revert them.
Screenshot?
SonicGT
02-19-2010, 08:43 PM
First 'black' is your style's default color, and now CB's default.
any thoughts as to why it would be showing the [color] wrapped around the actual text in the chatbox when i type?
Hippy
02-19-2010, 08:49 PM
thanks for the updates and work put into this chatbox Valter
I noticed this from 3.1.1 to 3.1.3 something changed see the white now below the Status
how can I fix this?
Upgraded to the latest version. My Text Size dropdown menu is still empty. Not sure what to do.
Valter
02-19-2010, 08:54 PM
Upgraded to the latest version. My Text Size dropdown menu is still empty. Not sure what to do.
Ensure CB's templates are not marked red in template list.
If yes, revert them.
I'm tired of this.
Ensure CB's templates are not marked red in template list.
If yes, revert them.
I'm tired of this.
That was the problem, thanks. It was from when you first released the mod and you couldn't see anything. Someone's fix for that. Since it was a while ago, I forgot it was ever done.
I'm sorry you're tired of such questions, but hey, I donated to you for this mod (when you released it) and well... that's probably more than most who ask for help can say.
Valter
02-19-2010, 09:10 PM
Thanks, I'm glad it works now :-)
I am seeing another bug (BTW, ALL templates are default. ;) ).
If the default color is selected the chat text looks like this:
test
steve1966
02-19-2010, 09:57 PM
Hi valter how do i increase the size of the colour button please
Charlie98902
02-19-2010, 10:00 PM
Hi valter i have upgraded my forum to 4.02 this is what the colour button looks like
https://vborg.vbsupport.ru/external/2010/02/17.png
please can you fix also
This is still happening on my end as well but didn't know if you fixed it yet or not?
SonicGT
02-19-2010, 10:12 PM
I am seeing another bug (BTW, ALL templates are default. ;) ).
If the default color is selected the chat text looks like this:
test
This is the same thing I am seeing as well
balkanboy
02-19-2010, 10:28 PM
color box still the same...
carrlos
02-19-2010, 11:28 PM
color box still the same...
Upgraded but same here. :rolleyes:
bigjosh359
02-20-2010, 12:06 AM
Upgraded but same here. :rolleyes:
Doesn't bother me much, but yes...same here too.
princeedward
02-20-2010, 04:55 AM
This is the same thing I am seeing as well
color box still the same...
Upgraded but same here. :rolleyes:
Doesn't bother me much, but yes...same here too.just a simple info...did you guys REVERT YOUR TEMPLATES BEFORE UPGRADE!
well if not you won't see the updated fixed error sometimes...
:p
best regards to all....
;):up:
bigjosh359
02-20-2010, 05:16 AM
just a simple info...did you guys REVERT YOUR TEMPLATES BEFORE UPGRADE!
well if not you won't see the updated fixed error sometimes...
:p
best regards to all....
;):up:
I had nothing to revert.....hence why i posted.
exyuteam
02-20-2010, 08:36 AM
thanks for the updates and work put into this chatbox Valter
I noticed this from 3.1.1 to 3.1.3 something changed see the white now below the Status
how can I fix this?
THIS problem with drop down list are NOT CB bug!!! Did you noticed that Style and Language selector ALSO has this "type" of drop down list??? Go to SETTINGS, and EDIT PROFILE (or whatever) and you'll see same thing! From ver. 4.0.2 VB has change this... He's add PADDING to .textbox, textarea, select!!! To confirm this, I'll uploaded vbulletin-style.xml from ver. 4.0.1, and everything is OK....
If you want to change it, in vbulletin-formcontrols.css (CSS Tempaltes) find
.textbox,
textarea,
select {
and change padding:4px 5px; in desired values..... (maybe padding:1px 1px;)
Valter
02-20-2010, 08:45 AM
I am seeing another bug (BTW, ALL templates are default. ;) ).
If the default color is selected the chat text looks like this:
test
COLOR BB Code does not recognize RGB colors.
I'll make function to automatically convert it to hex.
icemann
02-20-2010, 09:44 AM
How can I change the chatbox background color??? :cool:
blackxero
02-20-2010, 10:51 AM
wow nice update :| but I am having a little problem :| .. is there any why that I could make the background of Input box black instead of white? as my forum has transparent black theme?
denman75
02-20-2010, 11:01 AM
great mod ,only the RGB color issue is to bad ,
hope it will be fixed ,for the rest thumbs up for the shout box ,its great
princeedward
02-20-2010, 12:04 PM
wow nice update :| but I am having a little problem :| .. is there any why that I could make the background of Input box black instead of white? as my forum has transparent black theme?are you looking for THIS (https://vborg.vbsupport.ru/showpost.php?p=1981784&postcount=409)?
;)
carrlos
02-20-2010, 12:25 PM
just a simple info...did you guys REVERT YOUR TEMPLATES BEFORE UPGRADE!
well if not you won't see the updated fixed error sometimes...
:p
best regards to all....
;):up:
I had no template edits like many others. :rolleyes:
wolfyman
02-20-2010, 12:30 PM
Valter, thanks for all of your hard work here!
is it maybe possible to disable the misc.php?do=cchatbox function and simply include the chat on a custom page?
cory_booth
02-20-2010, 12:52 PM
Valter...
Thanks again for all your hard work. This chat truly is a jewel (aside from the CMS issues - wink)...
I have a suggestion for saving some space...
In an old ASP chatbox I used to have, instead of displaying the time next to the user's name, it displayed a clock image whose "title" was set to the time.
User, if curious of the posting's time, would just hover over the clock icon to see, and this would save some posting space.
ProFifaLeagues
02-20-2010, 01:07 PM
Installed and working a1 thanks
princeedward
02-20-2010, 01:38 PM
Valter...
Thanks again for all your hard work. This chat truly is a jewel (aside from the CMS issues - wink)...
I have a suggestion for saving some space...
In an old ASP chatbox I used to have, instead of displaying the time next to the user's name, it displayed a clock image whose "title" was set to the time.
User, if curious of the posting's time, would just hover over the clock icon to see, and this would save some posting space.wonderful idea cory....how did you manage to do it? care to share it? please......
thanks and best regards.....
;)
wolfyman
02-20-2010, 01:44 PM
great idea cory :)
k1klass
02-20-2010, 02:21 PM
how do i change the input box backgrounds colour? or default text input colour?
ive just upgraded and my text is very close to being the same colour as the background
fixed
removed {vb:stylevar body_color} and replace with black
in vsa_chatbox_input for theme
Kickin' Wing
02-20-2010, 02:40 PM
wonderful idea cory....how did you manage to do it? care to share it? please......
thanks and best regards.....
;)
vsa_chatbox_bit:
<vb:if condition="$vboptions[vsachatbox_time_enable]">[{vb:raw vsacb_msg_box.time}]</vb:if>
<vb:if condition="$vboptions[vsachatbox_time_enable]"><img src="images/misc/expires.gif" title="{vb:raw vsacb_msg_box.time}" /></vb:if>
cory_booth
02-20-2010, 02:43 PM
vsa_chatbox_bit:
<vb:if condition="$vboptions[vsachatbox_time_enable]">[{vb:raw vsacb_msg_box.time}]</vb:if>
<vb:if condition="$vboptions[vsachatbox_time_enable]"><img src="images/misc/expires.gif" title="{vb:raw vsacb_msg_box.time}" /></vb:if>
Yep... Thats the spot - thanks for the backup!
princeedward
02-20-2010, 02:52 PM
vsa_chatbox_bit:
<vb:if condition="$vboptions[vsachatbox_time_enable]">[{vb:raw vsacb_msg_box.time}]</vb:if>
<vb:if condition="$vboptions[vsachatbox_time_enable]"><img src="images/misc/expires.gif" title="{vb:raw vsacb_msg_box.time}" /></vb:if>
Yep... Thats the spot - thanks for the backup!thanks guys..wanna try this how it looks to my site...;)
junaid
02-20-2010, 03:02 PM
still same nochange
princeedward
02-20-2010, 03:35 PM
vsa_chatbox_bit:
<vb:if condition="$vboptions[vsachatbox_time_enable]">[{vb:raw vsacb_msg_box.time}]</vb:if>
<vb:if condition="$vboptions[vsachatbox_time_enable]"><img src="images/misc/expires.gif" title="{vb:raw vsacb_msg_box.time}" /></vb:if>
Yep... Thats the spot - thanks for the backup!:p hmm...i guess it looks good...thanks once again guys...just found a square one to be align to the msg box icon...here is my screenshots...
https://vborg.vbsupport.ru/external/2010/02/33.jpg
steve1966
02-20-2010, 06:10 PM
Hi valter on the chatbox my usernames are displayed like jellybelly: and they should show like jellybelly i have used an erlier verson of the mod and it works also di you find asolution for the colour box? thanks
Valter
02-20-2010, 06:40 PM
v3.1.4 - Feb 20. 2010.
-New: Color Select replaced by Color Menu (and it's sexy)
-Note: Above fixes issues with Safari for Mac
-Fixed: Issue with Default color if it's in RGB format
-Note: Above will not change already posted messages
-Fixed/improved: Several style details
-Note: You may die if your templates are not reverted after upgrade
Import XML - allow overwrite, then revert product templates if modified.
Alien
02-20-2010, 06:44 PM
Hey,
Might want to make a frequently forgotten addition to the templates.
Any template that calls {vb:raw headinclude}, please be sure to add {vb:raw headinclude_bottom} below it as well. vBulletin 4.0.1+ now has this variable by default. This way if someone is using the new "additional.css" template, it will actually load in the chatbox pages.
Otherwise, working great!
ShawnV
02-20-2010, 06:45 PM
Valter - Note: You may die if your templates are not reverted after upgrade!
ROFL, best ever patch note.. Thanks for the update.
Valter
02-20-2010, 06:53 PM
v3.1.5 - Feb 20. 2010.
-Fixed: Chrome not showing Color menu
-Fixed: headinclude_bottom added to <head
Upgrade as usual :D
maidos
02-20-2010, 06:57 PM
hope you can add the ability for staff to double click to edit the msg directly on the shoutbox
eurofunny
02-20-2010, 07:16 PM
thx for the nice Chatbox
Bouncer222
02-20-2010, 07:26 PM
Hey Valter you were known as CYB for 3.8 mods?
Btw are you planning on upgrading that donation plugin you had with the meter bar from 3.8 to 4.0.2 please? :D
steve1966
02-20-2010, 07:30 PM
Thank you valter for all your work
haXan
02-20-2010, 07:57 PM
I have "Loading" problem all versions... :(
Which template must be reverted before upgrade ?
RedHacker
02-20-2010, 08:06 PM
Can be add arrow in color select....?
Goodfather
02-20-2010, 08:20 PM
How to put more smilies in the row of fifteen or narrow the window?
carrlos
02-20-2010, 09:28 PM
Valter, LOVE the new color selector, thanks! :up:
obmob
02-20-2010, 09:35 PM
looks nice, will test it, thanks! :D
princeedward
02-20-2010, 09:45 PM
I have "Loading" problem all versions... :(
Which template must be reverted before upgrade ?
VSA CHATBOX TEMPLATES:
vsa_chatbox
vsa_chatbox_archive_bit
vsa_chatbox_bit
vsa_chatbox_input
vsa_chatbox_status
vsa_chatbox_topchatters_bit
NOTE: IF YOU TOUCH IT BEFORE, TWEAK OR EDIT BEFORE... TO SUIT YOUR TASTE....YOU HAVE TO REVERT THEM ALWAYS BEFORE YOU INSTALL NEW UPDATE OR UPGRADE...OF THIS MOD OR ANY MODIFICATION OUT THERE...
1 MORE QUESTION YOU OR ANYONE WILL DIE NOW!!!
:p
carrlos
02-20-2010, 11:13 PM
Do I have to revert the templates first?
enoobz
02-20-2010, 11:45 PM
princeedward, please make in work in the CMS.. pleassseeeeee..
Valter
02-21-2010, 12:51 AM
Do I have to revert the templates first?
It's better to do this before upgrade.
carrlos
02-21-2010, 12:59 AM
It's better to do this before upgrade.
Sorry Valter, just kidding about reverting templates. I just wanted to see if I would die like princeedward said! ;)
Installed and digging the new color selector. :up:
Latest version installed and working great, thank you for the quick turn around on the color issue!
aouni_tahech
02-21-2010, 03:56 AM
Awesome, I can't say more than that!
wolfyman
02-21-2010, 04:29 AM
wow, Valter! This mod is really impressive!
Do you know how I could disable the misc.php?do=cchatbox function and simply include the chat on a custom page?
princeedward
02-21-2010, 05:56 AM
princeedward, please make in work in the CMS.. pleassseeeeee..ooopppsss LOL!....can't do that and no plan, i have no CMS besides i am not that good and well experience coder for that...let's wait for Valter on this issue....i'm sure he's taking care of it now...
best regards
:p
princeedward
02-21-2010, 05:58 AM
Sorry Valter, just kidding about reverting templates. I just wanted to see if I would die like princeedward said! ;)
Installed and digging the new color selector. :up:LOL! BWA! HA! HA! lucky enough last night that i'm not around anymore ....so you missed my spell... :p
best regards
;)
enoobz
02-21-2010, 05:59 AM
Owh.. i see..
Valter, please help make it work with CMS.. pleaseeee..
dale09
02-21-2010, 06:17 AM
Does anyone know if this mod conflicts with the translator mod?
TimberFloorAu
02-21-2010, 07:12 AM
Great work Valter. The colour picker is A1 !
Could I also say, that it would be nice to have a selector box in admincp, to choose alternate chat line colours.
Bit like:
Choose colour for even lines: light gray
Choose colour for odd lines: dark gray
Perhaps allow entering #ff9900 etc hex colours.
Cheers Ste
denman75
02-21-2010, 07:55 AM
Ok I "fixed" it with a patch on the template, just it don't show the edit's buttons, vsa-chatbox need a real fix to prevent a JavaScript and vsa-chatbox's code injection about edit.
To patch it you must:
Open: vsa_chatbox
Search:
<td width="1%" align="{vb:stylevar right}">{vb:rawphrase edit} </td>
Replace with:
<vb:if condition="(($bbuserinfo[userid]==$vsacb_msg_arc[userid]) AND $vsacb_canmod) OR $vsacb_canmod">
<td width="1%" align="{vb:stylevar right}">{vb:rawphrase edit} </td>
</vb:if>
Open: vsa_chatbox_archive_bit
Search:
<vb:if condition="($bbuserinfo[userid]==$vsacb_msg_arc[userid]) OR $vsacb_canmod">
Replace with:
<vb:if condition="(($bbuserinfo[userid]==$vsacb_msg_arc[userid]) AND $vsacb_canmod) OR $vsacb_canmod">
Search:
<vb:if condition="($bbuserinfo[userid]==$vsacb_msg_arc[userid]) OR $vsacb_canmod">
Replace with:
<vb:if condition="(($bbuserinfo[userid]==$vsacb_msg_arc[userid]) AND $vsacb_canmod) OR $vsacb_canmod">
REMEMBER THAT IS A PATCH THAT DON'T SOLVE DEFINITELY THE TROUBLE, it don't fix the javascript or the code, a user with right knowledge can bypass that patch and use directly the javascript to edit the messages
thanks Redfoxy ,my site wont allowed trading also ,so i made the changes u suggested.
But is it possible that the mods and admins ,now also cant edit user messages on my board .since the edit box is gone lol
i have inserted the right user-group permissions
ps this should be inserted in the next release thats its not possible to edit messages
for the rest great mod
kevius
02-21-2010, 08:34 AM
EXTRA !! thank you very very much !
SlompOchomp
02-21-2010, 12:01 PM
Not sure if this is the same for all but I see 2 of the same color of the first color on the Color Menu. Is this a bug or is there a way to correct this issue?
Valter
02-21-2010, 12:14 PM
As already explained earlier - First color is your style default, and it's automatically added. Second 'black' is one you defined in product options.
SlompOchomp
02-21-2010, 12:16 PM
As already explained earlier - First color is your style default, and it's automatically added. Second 'black' is one you defined in product options.
Oh, guess I didn't read lol sorry
Thanks :up:
icemann
02-21-2010, 01:02 PM
I'm getting this in IE and there are no chat templates modified.
Your submission could not be processed because a security token was missing
Karadenize
02-21-2010, 01:39 PM
Owh.. i see..
Valter, please help make it work with CMS.. pleaseeee..
Sador
02-21-2010, 02:33 PM
Surprisingly, I only found this now. I'm unable to moderate the chatbox, even though I'm user one, in the usual admin group (6) and I've set the moderate chat permissions to usergroup 6 (and even if I set it like from 1 tot 20, I still can't)
Reverting the templates or upgrading to the last version didn't help.. any idea what's wrong?
Videx
02-21-2010, 03:31 PM
I'm unable to moderate the chatbox,I'm not sure what you mean. In Archive view, even regular users should see "edit" by their shouts. You don't see any of that?
BENSTER
02-21-2010, 04:24 PM
Thank you! I've been taking a lot of heat since removing the old shoutbox.
Sador
02-21-2010, 04:52 PM
I'm not sure what you mean. In Archive view, even regular users should see "edit" by their shouts. You don't see any of that?
Woops. I'm used to moderate the chat directly from the chat, instead of from the archive.. it works like it should. My bad.
steve1966
02-21-2010, 04:56 PM
Damn sorry to bother you again valter the box that changes the the font size is not working ok its the same as the colour box was before you fixed that 4.02 release has caused alot or work for you
RedFoxy
02-21-2010, 05:17 PM
thanks Redfoxy ,my site wont allowed trading also ,so i made the changes u suggested.
But is it possible that the mods and admins ,now also cant edit user messages on my board .since the edit box is gone lol
i have inserted the right user-group permissions
ps this should be inserted in the next release thats its not possible to edit messages
for the rest great mod
My admin and mod can edit and delete users post... double check what you changed
Tapchou
02-21-2010, 05:51 PM
I'm getting this in IE and there are no chat templates modified.
Your submission could not be processed because a security token was missing
Ditto.
vBulletin Message
Your submission could not be processed because a security token was missing.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
denman75
02-21-2010, 05:57 PM
My admin and mod can edit and delete users post... double check what you changed
oi had the wrong users group selected
tnx its working
Alien
02-21-2010, 07:22 PM
Very nice updates.
Could you add an additional location to your location selector? "Above Forums", so that it will appear BELOW notices and not above the notices?
RedFoxy
02-21-2010, 08:26 PM
Still I've that trouble on Safari (MacOS X)
https://vborg.vbsupport.ru/external/2010/02/28.jpg
vBulletin 4.0.1
Safari 4.0.4 (6531.21.10)
Valter
02-21-2010, 08:54 PM
Still I've that trouble on Safari (MacOS X)
https://vborg.vbsupport.ru/attachment.php?attachmentid=112749&stc=1&d=1266791186
vBulletin 4.0.1
Safari 4.0.4 (6531.21.10)
What about reverting templates?
Drop-down menu was completely removed in latest version.
Damn sorry to bother you again valter the box that changes the the font size is not working ok its the same as the colour box was before you fixed that 4.02 release has caused alot or work for you
Same here. Revert product templates.
Working on getting my CMS up to date and viewable for the masses. This is something I'd like to see added as well!
Jonluci
02-22-2010, 01:06 AM
Is there a way i can add the chatbox to a particular forum. Lets say i have a donors section...and i want a shoutbox inside that. Will it be possible?
Videx
02-22-2010, 01:42 AM
Agree, notices should go above the shoutbox. Or we should at least have the option.
RedFoxy
02-22-2010, 02:14 AM
What about reverting templates?
Drop-down menu was completely removed in latest version.
Same here. Revert product templates.
I've... already done it, I reverted all Valter's templates... that's really strange I'll check it tomorrow
Valter
02-22-2010, 08:33 AM
Your profile shows 3.1.1 as downloaded version, while 3.1.5 is the latest atm.
Popa Andrei
02-22-2010, 12:52 PM
how do z fix this_
wolfyman
02-22-2010, 01:34 PM
I wonder if I could disable the "misc.php?do" function and just include this on a custom page.
Can anyone help me with that?
ComoEstaEso-com
02-22-2010, 02:36 PM
how do z fix this_
The black text on your dark background?
Just change the text's color... there's a color box right there next to the font options.
Aclikyano
02-22-2010, 03:41 PM
anyone else receive forever loading on shoutbox sometimes?
cory_booth
02-22-2010, 03:47 PM
Valter...
Any progress or suggestions on what us CMS owners can do to use this and your other plugins within the CMS?
I am treating your code like 3.8.x and avAdvanced in that I am creating a module (or in VB4 - widget) with the raw varible. But the varibles are not loaded/parsed in the CMS.
Almost like the days of vbAdvanced and 3.8.x where you had to insert the varible in the global statement.
Funny this was working with 4.01 in the CMS, but now no longer...
Valter
02-22-2010, 06:54 PM
I don't know why they complicating things.
'global' means nothing in CMS, like it's not part of the suite.
It was much easier to add hacks into CMS on 3.x.
My ChatBox for 3.x has completely automated integration into CMS.
Aclikyano
02-22-2010, 06:54 PM
i cannot use /me or /prune ...why?
Valter
02-22-2010, 06:56 PM
I wonder if I could disable the "misc.php?do" function and just include this on a custom page.
Can anyone help me with that?
You can not disable 'misc' easily.
i cannot use /me or /prune ...why?
* Valter works.
/prune not enabled here.
There is 'Delete All' option in CB menu.
aaronrand
02-22-2010, 08:40 PM
anyone else receive forever loading on shoutbox sometimes?
yes, i have asked that several times but no answer as of yet. chatbox doesnt load until the page is refereshed the first time.
Aclikyano
02-22-2010, 08:55 PM
yes aaron i think valter will fix this problem soon i hope :)
Kickin' Wing
02-22-2010, 09:14 PM
Sorry if this has already been answered, but I was curious what StyleVar or specific setting ChatBox uses to determine the Default Text Color?
Thanks :)
aaronrand
02-22-2010, 09:26 PM
yes aaron i think valter will fix this problem soon i hope :)
Yep, i gave him a temp admin user/pass and he said he will check it out for us.
chriske
02-23-2010, 01:15 AM
Just what i need, Thanks!
cory_booth
02-23-2010, 01:45 AM
CMS Issues Resolved?
Try changing the plugin calling "global_start" to "process_templates_complete"
topoli
02-23-2010, 06:43 AM
anyone know where is the template i can change the title of "Chatbox" with something of my own
RedFoxy
02-23-2010, 02:09 PM
will you make a version with way to disable edit auth to users?
Videx
02-23-2010, 02:32 PM
anyone know where is the template i can change the title of "Chatbox" with something of my ownhttps://vborg.vbsupport.ru/showpost.php?p=1981718&postcount=399
literatestylish
02-23-2010, 03:22 PM
Hey everyone. I'm continually getting the same error on my forum. The database error is:
Database error in vBulletin 4.0.2:
Invalid SQL:
SELECT * FROM chatbox ORDER BY dateline ASC LIMIT 0,;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Anyone know how to fix it? I'm assuming it's from the Chatbox?
Skyrider
02-23-2010, 04:21 PM
Sweet chatbox, though it needs a private message option! :o
Valter
02-23-2010, 06:44 PM
Database error in vBulletin 4.0.2:
Invalid SQL:
SELECT * FROM chatbox ORDER BY dateline ASC LIMIT 0,;
Anyone know how to fix it? I'm assuming it's from the Chatbox?
'chatbox' table is not part of this product.
will you make a version with way to disable edit auth to users?
This will be added in future releases.
Skreech94
02-24-2010, 05:18 AM
On internet explorer the page background stops. I took a screenie since I can't explain it very well.
https://vborg.vbsupport.ru/external/2010/02/11.png
Please fix soon, my members that use IE are kind of getting tired of it :(
ShawnV
02-24-2010, 05:43 AM
Skreech94, are you also getting a page error when using IE? (Object Required)
I normally run FF, however I decided to check my site with IE8 tonight and noticed a page error, also the chatbox was very slow loading. Tying to track it down I disabled the Mod and the page error was gone. Perhaps Valter can check into this when he has time.
Charlie98902
02-24-2010, 09:36 AM
I use IE8 and having no problems on my board.
CiyaEzIM
02-24-2010, 11:04 AM
I just installed this chatbox on my forum. I have the authorization of deleting all messages at one time, however i have my Co-admins but they cannot see the button for deleting all mesaages at one time on the ChatBox menu.
Does anybody know why this happen? And how can i activate the Delete All Messages button on my Co-admins ChatBox Menu?
Videx
02-24-2010, 11:25 AM
I just installed this chatbox on my forum. I have the authorization of deleting all messages at one time, however i have my Co-admins but they cannot see the button for deleting all mesaages at one time on the ChatBox menu. I can't see it either. Are you sure you're in the right mod?
I'm getting a long load time in IE8, and the page kicks up an error in forum.php, but otherwise it seems to be working okay.
Valter
02-24-2010, 11:29 AM
v3.1.6 - Feb 24. 2010.
-Fixed: Several style/functionality issues
-New: Set groups NOT able to edit messages
-Note: You must revert product templates after upgrade
To upgrade:
Import product XML, allow overwrite.
starli
02-24-2010, 12:13 PM
no lag fix :(
mustang02
02-24-2010, 12:56 PM
v3.1.6 - Feb 24. 2010.
-Fixed: Several style/functionality issues
-New: Set groups NOT able to edit messages
-Note: You must revert product templates after upgrade
To upgrade:
Import product XML, allow overwrite.What do you mean by that?
GafferSports
02-24-2010, 01:08 PM
Is there any way to get the colour formatting of usernames off?
MrsZippy
02-24-2010, 01:13 PM
This is a great mod and users like tha chatbox, howerver, I do have one request.
Rather than edit the template every time i upgrade, is it possible to write in that there is a box around the chat area by default, it just seems to tidy it up a bit.
If there's not much call for it then no biggie, its not a moajor edit to do each time :)
Jo
GafferSports
02-24-2010, 01:16 PM
This is a great mod and users like tha chatbox, howerver, I do have one request.
Rather than edit the template every time i upgrade, is it possible to write in that there is a box around the chat area by default, it just seems to tidy it up a bit.
If there's not much call for it then no biggie, its not a moajor edit to do each time :)
Jo
Do you wish to share your edit - I fancy trying that?
Cigarcritic
02-24-2010, 01:23 PM
I am still getting two blacks after removing some of the colors. If I do not edit the colors after an upgrade, I only have one black.
karkey
02-24-2010, 01:27 PM
Trying to add the shoutbox to my CMS vbcms_page
{vb:raw header}
{vb:raw navbar}
{vb:raw toolbar}
{vb:raw vsachatbox}
however its not displaying
RK1gaming
02-24-2010, 01:27 PM
v3.1.6 - Feb 24. 2010.
-Fixed: Several style/functionality issues
-New: Set groups NOT able to edit messages
-Note: You must revert product templates after upgrade
To upgrade:
Import product XML, allow overwrite.
Thanks for the update as always great support
Valter: suggestion the ability for an admin to make a sticky in the chat
GafferSports
02-24-2010, 01:32 PM
On internet explorer the page background stops. I took a screenie since I can't explain it very well.
Please fix soon, my members that use IE are kind of getting tired of it :(
I have IE 8 and my board looks fine:
http://www.thesupporter.co.uk/forum/
aaronrand
02-24-2010, 04:30 PM
Originally Posted by Valter
v3.1.6 - Feb 24. 2010.
-Fixed: Several style/functionality issues
-New: Set groups NOT able to edit messages
-Note: You must revert product templates after upgrade
To upgrade:
Import product XML, allow overwrite.
What do you mean by -Note: You must revert product templates after upgrade
dangerin
02-24-2010, 04:43 PM
it means that is written ! :-P
you must revert the templates that you have modifice after do yu have updated the version ?
in the template manager you have the option revert and you must click here end after redo the modify that you have done on that template..
i suggest to you to take note of mod applied before to update and after you must pats the codes in teh templates reverted
Kickin' Wing
02-24-2010, 04:54 PM
Really love the mod, but have been having trouble with the default color. I've noticed that this always seems to come up FALSE on my boards (4.0.2 PL1):
if (vB_Template_Runtime::fetchStyleVar('body_color'))
{
$vsacb_colorfirstp = vB_Template_Runtime::fetchStyleVar('body_color');
}
else
{
$vsacb_color_acplist = explode(",",str_replace(" ","",$vbulletin->options['vsachatbox_textcolors']));
$vsacb_colorfirstp = $vsacb_color_acplist[0];
}
So the first color in the ACP list is always doubled. I set $vsacb_colorfirstp to '#00FF00' on the ELSE statement just to test and it came up green.
Thanks :)
:quick edit:
$vsacb_colorfirstp = vB_Template_Runtime::fetchStyleVar('body_color');
Does seem to work. Tried adding that to the ELSE as well and now it's the right color, so I guess it just doesn't like being the condition.
cory_booth
02-24-2010, 05:29 PM
Trying to add the shoutbox to my CMS vbcms_page
{vb:raw header}
{vb:raw navbar}
{vb:raw toolbar}
{vb:raw vsachatbox}
however its not displaying
Try changing Plugin: VSa - ChatBox - IL from "Global_Start" to "Process_Templates_Complete"
aaronrand
02-24-2010, 05:35 PM
it means that is written ! :-P
you must revert the templates that you have modifice after do yu have updated the version ?
in the template manager you have the option revert and you must click here end after redo the modify that you have done on that template..
i suggest to you to take note of mod applied before to update and after you must pats the codes in teh templates reverted
Ok thanks. I thought that was it, but I didnt want to do the wrong thing...
Try changing Plugin: VSa - ChatBox - IL from "Global_Start" to "Process_Templates_Complete"
Doing this, completely breaks my chatbox and makes it display the default "smilies" page. vb 4.02
Hippy
02-24-2010, 07:15 PM
looks great Valter .. thanks for your hard work 2 thumbs up
GafferSports
02-24-2010, 07:26 PM
No help in removing the usergroup colours in each shout?
SteveV
02-24-2010, 07:41 PM
Maybe i missed it but as admin i can not see the time before a message but registered and unregistered see the correct time.
I use %d-%m and %R but if i change it to default d-m and H:i then i am the only one that can see the correct time.
Valter
02-24-2010, 07:55 PM
So the first color in the ACP list is always doubled.
No, it is not.
First color is added automatically - it's your style default color.
So if you have two blacks, for example:
- First one is added automatically
- Second one is added by you
Remove your Black, and it will not be doubled.
Playing with the code is not recommended unless you really know what are you doing.
Skreech94
02-24-2010, 08:07 PM
Thanks valter! I reverted templates and it fixed the template.
Kickin' Wing
02-24-2010, 08:41 PM
No, it is not.
First color is added automatically - it's your style default color.
So if you have two blacks, for example:
- First one is added automatically
- Second one is added by you
Remove your Black, and it will not be doubled.
Playing with the code is not recommended unless you really know what are you doing.
Looking at the code, the first color is subject to an IF statement: if (vB_Template_Runtime::fetchStyleVar('body_color'))
If that statement is TRUE will the first color be assigned to the Common > body_color StyleVar. If the statement is FALSE, it defaults to the first color you list--which is black by default.
On my live & test forums (both running 4.0.2), it always fails:
http://i130.photobucket.com/albums/p258/kickin1wing/vBulletin/ChatBox-Black.png
http://i130.photobucket.com/albums/p258/kickin1wing/vBulletin/ChatBox-Gold.png
http://i130.photobucket.com/albums/p258/kickin1wing/vBulletin/ChatBox-Red.png
Valter
02-24-2010, 09:44 PM
Here is what settings with or without 'Black' produces:
https://vborg.vbsupport.ru/external/2010/02/12.jpg => https://vborg.vbsupport.ru/external/2010/02/13.jpg
https://vborg.vbsupport.ru/external/2010/02/14.jpg => https://vborg.vbsupport.ru/external/2010/02/15.jpg
Or you have not defined body_color in your style at all?
In this case it's possible to have always first color doubled.
I'll change this in next version, even I thought all styles should have body_color defined.
karkey
02-24-2010, 10:10 PM
Try changing Plugin: VSa - ChatBox - IL from "Global_Start" to "Process_Templates_Complete"
Hi Not sure where i'm looking for, as you described
Kickin' Wing
02-24-2010, 10:56 PM
Or you have not defined body_color in your style at all?
In this case it's possible to have always first color doubled.
I'll change this in next version, even I thought all styles should have body_color defined.
That's pretty weird. I do have body_color defined in all my themes, but it seems to be an issue on my boards.
Just for a temporary fix, I took out the conditional. It displays the first color as clear but all the text shows up like it's supposed to.
Appreciate the help :)
Hippy
02-24-2010, 11:04 PM
Same thing here as Kickin' Wing.. wierd
Michael Tsai
02-25-2010, 02:18 AM
Installed and works fine, there's this little problem of alignment but i love this mod, finally for vb4, thanks!
pcljmk
02-25-2010, 08:25 AM
Ive got [d m, H:i] on chat window, whats wrong? :x
RedHacker
02-25-2010, 08:35 AM
Ive got [d m, H:i] on chat window, whats wrong? :x
https://vborg.vbsupport.ru/showpost.php?p=1978885&postcount=298
enoobz
02-25-2010, 09:39 AM
Try changing Plugin: VSa - ChatBox - IL from "Global_Start" to "Process_Templates_Complete"
Doing this, completely breaks my chatbox and makes it display the default "smilies" page. vb 4.02
Almost working.. Chatbox appears in CMS but chat window showing header and smilies page.
Hope someone can find the solution.
Michael Tsai
02-25-2010, 11:07 AM
Almost working.. Chatbox appears in CMS but chat window showing header and smilies page.
Hope someone can find the solution.That's because you're not loged in.:up::up::up::up::up:
MattZ DSLR
02-25-2010, 01:33 PM
Question
my site is dark grey and my default font colour is white
how can I change default white box for chat input to black or dark grey
Thank you
ComoEstaEso-com
02-25-2010, 03:39 PM
Hello =)
1st, Thank you for the GREAT work Valter! :)
Much appreciated!
My question: Is there a way to place your Chatbox in all the pages?
In Blogs, CMS articles, and as present, in the forums?
I read the entire thread, yet I'm not sure if this was addressed already (saw it asked, and saw what I *think* is an answer of 'not now'... yet not sure).
Thank you!
Valter
02-25-2010, 06:43 PM
I haven't worked much on integration into non-forum areas, as they made it complicated. Currently I have no time to waste, so this will wait a bit.
Input boxes are "primary textbox", over "blockrow", so it's where colors and other parameters can be changed.
discontained
02-25-2010, 07:46 PM
I haven't worked much on integration into non-forum areas, as they made it complicated. Currently I have no time to waste, so this will wait a bit.
Input boxes are "primary textbox", over "blockrow", so it's where colors and other parameters can be changed.
im running vb4 default style w/ color tune (dark backgrounds, white/light text) I tried to change the input box with no luck. I do not have a primary textbox in the stylevars. Is there a way I can edit it into the template (chatbox_input). I would like to make the defualt text to white and the input backround (box) black.
Thanks! Other than that IT works flawlessly! :up:
That's because you're not loged in.:up::up::up::up::up:
Not true, it just doesn't work for me. I'm not saying it doesn't work for everyone, but this change, doesn't work for me specifically.
SteveV
02-25-2010, 08:47 PM
I also have an issue with the time being displayed in the chat.
Registered users see the correct time like "25-02 23:46"
Admins, Supermoderators and Guests see %d-%m %R
i use %d-%m and %R (also tried %r) but it doesnt make a difference.
Michael Tsai
02-25-2010, 10:55 PM
Not true, it just doesn't work for me. I'm not saying it doesn't work for everyone, but this change, doesn't work for me specifically.It should work for everyone.:D:D:D:D:D
Bouncer222
02-25-2010, 11:10 PM
THIS SHOULD BE ADDED TO FIRST OR SECOND POST
https://vborg.vbsupport.ru/showpost.php?p=1985948&postcount=5516
What is it?
Makes a bot in your VSA Chatbox create shouts when someone plays the Arcade and gets a score, it will then post it in the chatbox, Good way to attract people to the arcade!!
Inflikted
02-26-2010, 01:34 AM
is it possible to add some sort of Post/New Reply notification like the other chatboxes availables?
cory_booth
02-26-2010, 10:45 AM
THIS SHOULD BE ADDED TO FIRST OR SECOND POST
https://vborg.vbsupport.ru/showpost.php?p=1985948&postcount=5516
What is it?
Makes a bot in your VSA Chatbox create shouts when someone plays the Arcade and gets a score, it will then post it in the chatbox, Good way to attract people to the arcade!!
THANKS FOR THIS AND I AGREE....
woffie
02-26-2010, 01:37 PM
The color selector does not work on the new version
Kaosvf
02-26-2010, 02:59 PM
hi,
is there the antiflood? Then you could put it that would be perfect as a shoutbox?
I propose also to give the possibility to change the formatting of the written only to certain groups.
There is a bug: http://i45.tinypic.com/rh98pl.png
Thanks
gsmph
02-26-2010, 04:23 PM
The color selector does not work on the new version
yup same here color selector not working.. i used opera,firefox,ie8, and safari all fail on color selector..
br
gsmph:)
Ozymandyus
02-26-2010, 05:09 PM
For you fellows with color selector issues, you should really read back through the rest of the thread, these things have been brought up many times and addressed by Valter. The two big things are:
Revert all custom templates BEFORE you import the product
He's working on a way to remove the black as the default first color.
Have a little patience with the guy, he has a full time job like the rest of us too.
cory_booth
02-26-2010, 06:41 PM
Add an alert sound to new chats....
OK folks, this is not for the faint of heart and I know there must be a much easier way to do this, but until something better comes along....
BEFORE YOU BEGIN.
You'll need a wav file and access to your database.
STEP 1: UPDATE USER TABLE
Add new column of type "INT"
Name Column = "countvsachats"
STEP 2: MODIFY PLUGINS - (VSa - ChatBox - MN)
Find the following function "ccbmessages"
Add above: $vbulletin->db->show_errors();
$tvsacurrent = $vbulletin->db->query_read("SELECT COUNT(ID) AS VSACURRENT FROM ".TABLE_PREFIX."vsa_chatbox AS vsa_chatbox");
while ($tvsacurrent = $vbulletin->db->fetch_array($tvsacurrent))
{
$vsacurrent = $tvsacurrent[VSACURRENT];
}
$tvsauser = $vbulletin->db->query_read("SELECT countvsachats AS VSAUSER FROM ".TABLE_PREFIX."user WHERE userid = " . $vbulletin->userinfo['userid'] ."");
while ($tvsauser = $vbulletin->db->fetch_array($tvsauser))
{
$vsauser = $tvsauser[VSAUSER];
}
if ($vsacurrent > $vsauser)
{
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET countvsachats = ".$vsacurrent." WHERE userid = " . $vbulletin->userinfo['userid'] . "");
}
if ($vsacurrent < $vsauser)
{
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET countvsachats = ".$vsacurrent." WHERE userid = " . $vbulletin->userinfo['userid'] . "");
}
$vsacb_box_totalmessages = $vbulletin->db->num_rows($vsacb_get_msg_box);
STEP 3: Scroll down and find .... if ($vsacb_box_totalmessages>0)
Add above (notice here I am loading a chat.wav from images\misc - you'll need to upload a wav and change accordingly):
if ($vsacurrent > $vsauser)
{
echo ('<div><table><tr><td><EMBED SRC="images\misc\chat.wav" HIDDEN="TRUE" AUTOSTART="TRUE"></EMBED></td></tr></div>');
}
I have yet to try with FireFox but the idea is simple. Have a coulm in the user tabe keep track of the current amount of chats. When the chatbox refreshes, run a quick query to count the number of chats. If the chats in the query are larger than the entry in the user table - update the user table to match and fire off a sound.
I hope that there will be a good response to this and Valter might provide a similar solution?
2Shea
02-27-2010, 12:51 AM
I love this modification, I just have a few requests (sorry if they've already been asked):
Spam Protection - Limit # of posts in a row by a member
Chat Text - If someone posts with a long name, the chat text gets moved over. Please make it so the persons text sticks next to their name.
I will be happy with using this mod forever if these issues are addressed. Thank you!
enoobz
02-27-2010, 06:57 AM
Not true, it just doesn't work for me. I'm not saying it doesn't work for everyone, but this change, doesn't work for me specifically.
It should work for everyone.:D:D:D:D:D
Nope.. NOT working for me also. Logged in but still NOT working.
dianna
02-27-2010, 01:17 PM
Love this mod just one question how can I remove the chatbox full from my navbar?
Videx
02-27-2010, 02:32 PM
Love this mod just one question how can I remove the chatbox full from my navbar?Maybe use this in options? It's the very last option.
Automatically add link to ChatBox Full to NavBar
Yes No
Diablotic
02-27-2010, 03:17 PM
Is it possible to be logged on to chat at all time? Everytime I reload my main page I have to log-in to chat which is a little bit annoying.
RustyDogma
02-27-2010, 04:30 PM
Love this mod just one question how can I remove the chatbox full from my navbar?
The last option on the options screen:
Automatically add link to ChatBox Full to NavBar:
switch to 'no'
Diablotic
02-27-2010, 04:57 PM
Do you have to log in to chat every time you refresh the page?
COL NIL SATIS
02-27-2010, 04:58 PM
Awesome awesome Valter..simply Awesome!!!
shadowla05
02-27-2010, 04:58 PM
Add an alert sound to new chats....
OK folks, this is not for the faint of heart and I know there must be a much easier way to do this, but until something better comes along....
BEFORE YOU BEGIN.
You'll need a wav file and access to your database.
STEP 1: UPDATE USER TABLE
Add new column of type "INT"
Name Column = "countvsachats"
STEP 2: MODIFY PLUGINS - (VSa - ChatBox - MN)
Find the following function "ccbmessages"
Add above: $vbulletin->db->show_errors();
$tvsacurrent = $vbulletin->db->query_read("SELECT COUNT(ID) AS VSACURRENT FROM ".TABLE_PREFIX."vsa_chatbox AS vsa_chatbox");
while ($tvsacurrent = $vbulletin->db->fetch_array($tvsacurrent))
{
$vsacurrent = $tvsacurrent[VSACURRENT];
}
$tvsauser = $vbulletin->db->query_read("SELECT countvsachats AS VSAUSER FROM ".TABLE_PREFIX."user WHERE userid = " . $vbulletin->userinfo['userid'] ."");
while ($tvsauser = $vbulletin->db->fetch_array($tvsauser))
{
$vsauser = $tvsauser[VSAUSER];
}
if ($vsacurrent > $vsauser)
{
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET countvsachats = ".$vsacurrent." WHERE userid = " . $vbulletin->userinfo['userid'] . "");
}
if ($vsacurrent < $vsauser)
{
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET countvsachats = ".$vsacurrent." WHERE userid = " . $vbulletin->userinfo['userid'] . "");
}
$vsacb_box_totalmessages = $vbulletin->db->num_rows($vsacb_get_msg_box);
STEP 3: Scroll down and find .... if ($vsacb_box_totalmessages>0)
Add above (notice here I am loading a chat.wav from images\misc - you'll need to upload a wav and change accordingly):
if ($vsacurrent > $vsauser)
{
echo ('<div><table><tr><td><EMBED SRC="images\misc\chat.wav" HIDDEN="TRUE" AUTOSTART="TRUE"></EMBED></td></tr></div>');
}
I have yet to try with FireFox but the idea is simple. Have a coulm in the user tabe keep track of the current amount of chats. When the chatbox refreshes, run a quick query to count the number of chats. If the chats in the query are larger than the entry in the user table - update the user table to match and fire off a sound.
I hope that there will be a good response to this and Valter might provide a similar solution?
Can u give a little more details on hot to this like where are the files i have to edit and where is UPDATE USER TABLE?
Valter
02-27-2010, 08:25 PM
Do you have to log in to chat every time you refresh the page?
Never, unless you enable option to be logged out by default.
Diablotic
02-27-2010, 09:27 PM
Never, unless you enable option to be logged out by default.
It was happening to me because I had "time after log-out" set to '0' as I thought it would disable that function.
It is good now but it would be nice to have an option to be always logged in.
Boko577
02-27-2010, 10:05 PM
Please add things like /prune commands, /ban or /silence and so on. Include these in the next update and I won't use Inferno on mine anymore.
cloferba
02-27-2010, 11:44 PM
does this mod have commands to delete chatbox or ban a member?
how can i bann any user?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.