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)

Videx 02-12-2012 02:04 PM

Quote:

Originally Posted by Allthumbz (Post 2298887)
If not, is there any chat for VB that will?

None of the free ones have all those features. I'm not even sure the pay ones will send people away from your forum like that - is that really what you want?

Last pay chat I checked out was http://www.addonchat.com/features.html .

gothi 02-12-2012 07:55 PM

1 Attachment(s)
Quote:

Originally Posted by dsantana (Post 2295271)
I have seen that same view.
Help from someone that has this on their CMS page would be awesome!!!

sorry my english is bad (google translate is my friend) :erm:

There is a small trick.

First the chatbox to view the forum. Then look at the page source code and copy part because of the chatboxcode.

for vbulletim cms:
Create an html widget and insert the html code. that's it.


for vBadvanced CMPS:

Create a new template (for example: adv_portal_chatbox) and then insert the html code
then under-vba CMPS: Add module (module template) and then integrate the new template (in my example the adv_portal_chatbox)

ttran 02-12-2012 08:12 PM

Quote:

Originally Posted by gothi (Post 2299031)
sorry my english is bad (google translate is my friend) :erm:

There is a small trick.

First the chatbox to view the forum. Then look at the page source code and copy part because of the chatboxcode.

for vbulletim cms:
Create an html widget and insert the html code. that's it.


for vBadvanced CMPS:

Create a new template (for example: adv_portal_chatbox) and then insert the html code
then under-vba CMPS: Add module (module template) and then integrate the new template (in my example the adv_portal_chatbox)

how and where you got the html code? please advice

gothi 02-12-2012 08:35 PM

Quote:

Originally Posted by ttran (Post 2299036)
how and where you got the html code? please advice

when the chatbox is displayed in the forum - for example, under the navbar, you can put your browser to view the source code of the page.

You will have to find where the code begins with the chatbox and then stops

Example: When I start the chatbox code like this:


HTML Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="text-align:left;"><tr><td><br />

                <div class="blockhead" style="height:16px;padding-right:4px;font-weight:bold">
                        <span style="float:right;">
                                <a class="collapse" style="margin-left:15px;position:static" id="collapse_vsacb_boxswitch" href="javascript:void(0);"><img src="http://www....de" alt="" border="0" /></a>
                        </span>
                        <div class="popupmenu" style="float:left;">
                                <a href="javascript://" class="popupctrl">ChatBox&nbsp;</a>

and ends with:

HTML Code:

                VSacb_readCookies();
                VSacb_getMessages();
               
               
               
        -->
        </script>


ychromozone 02-13-2012 05:56 AM

I added the chatbox, then updated a custom style and now my chatbox window is darker than I'd like.

I can't find for the life of me to change the color. Couldn't find anything in the additional.css, style vars, etc.

Any ideas?

TombstoneWarrior 02-14-2012 01:31 PM

is there a code i can change on the chatbox to match the backround of my style?????

S@NL - BlackBik 02-14-2012 04:08 PM

The chatbox is using existing stylevars.
Specificly the blocksubhead variables (background, border etc).

rickwade 02-14-2012 09:34 PM

I need to change the color of the input box and it needs to be different then the color specified in the ".textbox, textarea, select, #vB_Editor_QR_editor" css.
I have been trying different things for a week now and cant get it to change.
Can someone please let me know how to change this without changing every thing else on my template.

Thank you

S@NL - BlackBik 02-15-2012 12:55 AM

You can do this by altering the "vsa_chatbox_input" template.
Just add a style background element that has the color that you want.
For example:

Quote:

<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 blockrow_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=fals e;" <vb:if condition="$vsacb_cantpost">disabled="disabled"</vb:if> value="{vb:rawphrase message}..." />
"blockrow_background.backgroundColor" is the styleelement I used, but you can also pick another one.

rickwade 02-15-2012 08:44 PM

That is not working for me. It is still the same color - any other ideas?

Can i just use a color like #fff instead of using the stylevars for background color?


All times are GMT. The time now is 11:12 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.03137 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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