vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - VSa - ChatBox (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=235271)

yippykiyey 03-23-2014 12:58 AM

My issue was corrected

edgeless 03-23-2014 02:20 AM

Quote:

Originally Posted by yippykiyey (Post 2489025)
My issue was corrected

Sounds like it may have been a groups permission setting in the app, ay?

luggz 03-23-2014 06:06 AM

Can the color be changed in the message box where you type your message?
Thanks

luggz 03-23-2014 06:09 PM

1 Attachment(s)
please see attached. When i type in the white block it don't show up because its white font by default how can i change the block to black?

ozzy47 03-23-2014 06:20 PM

Edit the vsa_chatbox_input template and find this bit of code:

Code:

<input type="text" class="primary textbox" name="vsacb_entermessage" id="vsacb_entermessage" style="width:100%;font-size:{vb:raw vsacb_textsize};color:{vb:raw vsacb_color_default};" onkeydown="if (event.keyCode == 13) {return VSacb_postMessage(vsacb_post_form);}" onkeyup="VSacb_LimitChars('vsacb_entermessage', 'vsacb_counter','{vb:raw vboptions.vsachatbox_charlimit}');" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;vsacb_submitbutton.disabled=false;" <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if> value="{vb:rawphrase message}..." />
And change it to this:
Code:

<input type="text" class="primary textbox" name="vsacb_entermessage" id="vsacb_entermessage" style="width:100%;font-size:{vb:raw vsacb_textsize};color:{vb:raw vsacb_color_default}; background-color:{vb:stylevar editor_background.backgroundColor};" onkeydown="if (event.keyCode == 13) {return VSacb_postMessage(vsacb_post_form);}" onkeyup="VSacb_LimitChars('vsacb_entermessage', 'vsacb_counter','{vb:raw vboptions.vsachatbox_charlimit}');" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;vsacb_submitbutton.disabled=false;" <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if> value="{vb:rawphrase message}..." />

luggz 03-23-2014 06:42 PM

Quote:

Originally Posted by ozzy47 (Post 2489117)
Edit the vsa_chatbox_input template and find this bit of code:

Code:

<input type="text" class="primary textbox" name="vsacb_entermessage" id="vsacb_entermessage" style="width:100%;font-size:{vb:raw vsacb_textsize};color:{vb:raw vsacb_color_default};" onkeydown="if (event.keyCode == 13) {return VSacb_postMessage(vsacb_post_form);}" onkeyup="VSacb_LimitChars('vsacb_entermessage', 'vsacb_counter','{vb:raw vboptions.vsachatbox_charlimit}');" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;vsacb_submitbutton.disabled=false;" <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if> value="{vb:rawphrase message}..." />
And change it to this:
Code:

<input type="text" class="primary textbox" name="vsacb_entermessage" id="vsacb_entermessage" style="width:100%;font-size:{vb:raw vsacb_textsize};color:{vb:raw vsacb_color_default}; background-color:{vb:stylevar editor_background.backgroundColor};" onkeydown="if (event.keyCode == 13) {return VSacb_postMessage(vsacb_post_form);}" onkeyup="VSacb_LimitChars('vsacb_entermessage', 'vsacb_counter','{vb:raw vboptions.vsachatbox_charlimit}');" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;vsacb_submitbutton.disabled=false;" <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if> value="{vb:rawphrase message}..." />

I did this But i have been out of this for so long where do i add the code for the color i want to change it to?

ozzy47 03-23-2014 06:45 PM

In the edited code find this:
Code:

background-color:{vb:stylevar editor_background.backgroundColor};
And change it to this:
Code:

background-color:red;
Change, red to what ever you wish.

luggz 03-23-2014 06:49 PM

Thanks alot Ozzy very helpful Im sorry for the questions its been a really long time since i have been in Vb editing thing thanks again.

ozzy47 03-23-2014 06:59 PM

Not a problem, glad to help. :)

edgeless 03-23-2014 09:42 PM

Quote:

Originally Posted by edgeless (Post 2488999)
The info.txt file says:

"-View users active in ChatBox (available in CBFull and Archive)"

Where may I view who is actively logged onto the chatbox? For some reason I don't see it anywhere.

Thanks

No one has the answer to this? It has to be something obvious that I'm missing. Or does this perhaps mean something other than the ability to see which users are currently logged into the chatbox?


All times are GMT. The time now is 02:38 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12769 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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