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-13-2010 10:54 PM

What's a "CB Log-in/Log-out"?

And I wonder what these two lines in the Options means?
Quote:

Log-out user from ChatBox after X minutes of inactivity
Logged-out by default Yes No
I mean, I understand the first by itself, but then what does the second mean? You mean when the page is first loaded they're logged out? Until when?

edit: Okay, I see the answer to my second question now. A button appears that they can click to log in. Still, I might like to change the wording for my non-techie forum.

ChopBam 02-13-2010 10:55 PM

Could I suggest adding colons between the username and the message?
I did this myself and in my opinion it looks a bit better.
For anybody who wants to do this, in the vsa_chatbox_bit template,
replace
Code:

</vb:if>&nbsp;
with
Code:

</vb:if>&nbsp;:&nbsp;
I also changed the background color of my input box because the white hurts my eyes against a dark forum background.

bigjosh359 02-13-2010 11:00 PM

Eh, I don't like the colon suggest. Looks weird now... but to each their own, right?

Latest release works great as long as everyone does what is suggested and reverts their template for the chatbox.

WxP 02-13-2010 11:27 PM

Can you modify to do Privat chat with friends.

carrlos 02-13-2010 11:28 PM

Thanks for the update Valter! :up:

Thanks for the suggestion ChopBam! I'm using this one:
Code:

</vb:if>:&nbsp;
I think it looks better without the extra space before the username. ;)

Icy 02-13-2010 11:51 PM

With the sidebar enabled CB is still a mess if I choose to show it above footer. Please fix Valter.

Juggernaut 02-13-2010 11:54 PM

This mod just keeps getting better :)

ChopBam 02-14-2010 12:25 AM

To each their own! Perhaps Valter can add an input field in ACP for optional text that goes between the name and the message. Just my $.02.

Someone sent me a private message on how to change the bg color of the input box, so I'll just say it here.
Replacing
Code:

color:{vb:raw vsacb_colorfirst}"
with
Code:

color:{vb:raw vsacb_colorfirst};background-color:#fff"
in the vsa_chatbox_input template will make it white (as you can see by the #fff). Just change the hex code to whatever color you wish. Be careful in the color you choose though because the color of the text is variable depending on what color you're typing in. You can make that static though by changing the variable which is right before this text under "color:".

Videx 02-14-2010 12:49 AM

Quote:

Originally Posted by Dr.osamA (Post 1981793)
thanxx for update

How can change the height of the chatbox

In the options "Message listing area height (ChatBox)". But note that you may not need to do this, as there are two viewing modes. When a user selects "Chatbox full" they get a much larger box.

Cobra-J82 02-14-2010 01:24 AM

Valter I love u thanks a million for the update :)

Kickin' Wing 02-14-2010 02:00 AM

Quote:

Originally Posted by ChopBam (Post 1981729)
Could I suggest adding colons between the username and the message?
I did this myself and in my opinion it looks a bit better.
For anybody who wants to do this, in the vsa_chatbox_bit template,
replace
Code:

</vb:if>&nbsp;
with
Code:

</vb:if>&nbsp;:&nbsp;

I took this a bit further:
Code:

{vb:raw vsacb_msg_box.musername}</a><vb:if condition="($vsacb_msg_box_banned AND $vsacb_canmod)">*</vb:if>&nbsp;
Code:

<span style="font-weight:bold;">{vb:raw vsacb_msg_box.musername}</span></a><vb:if condition="($vsacb_msg_box_banned AND $vsacb_canmod)">*</vb:if>:&nbsp;
And enabled "Align messages to usernames"

Love the new update, this chat has been a huge hit on my site.

Few things I'd like to see in the future if possible:

-Disable Login/Logout on Chatbox Full
-Option for alternate background colors on odd & even lines

Thanks Valter!

venom2124 02-14-2010 02:56 AM

Just updated and now my font sizes are gone. The drop down is still there, but no options showing. Any ideas?

Disregard figured out the problem.

Great update thanks again.

Videx 02-14-2010 03:14 AM

Quote:

Originally Posted by venom2124 (Post 1981835)
Disregard figured out the problem.

To assist future searches, you really should explain what the problem was, and what you did to fix it.

bigjosh359 02-14-2010 03:24 AM

Quote:

Originally Posted by venom2124 (Post 1981835)
Just updated and now my font sizes are gone. The drop down is still there, but no options showing. Any ideas?

Disregard figured out the problem.

Great update thanks again.


You have to revert your templates for the chatbox.

venom2124 02-14-2010 03:35 AM

Just had to read and revert the templates.

SLY LS1 02-14-2010 03:37 AM

Is there any chance someone can make this into a Widget so we can include it in the CMS aswell?

Cheers

enoobz 02-14-2010 05:14 AM

Update installed!

Text color drop down still NOT showing in Safari.

hackerz5 02-14-2010 05:50 AM

It Still says: Loading... :mad:

dangerin 02-14-2010 06:43 AM

Good morning,
after long time i've discovered the problem of my chat.
it was my pc because i've tried form an other pc and all was ok.
Said that today i see with pleasure that there is an update but i do not know what does it mean revert the template to install the update.
In thepast when i update a product is only necessary to import the new .xml file and stop.
In this produvt there's to do other operations? if someone can say better to me what is revert the template i'm happy.
perhaps it means that i must leave the code that i past in forumhome and AFTER i must REpast in template? i'm trying to understand what can be.

rizelim 02-14-2010 06:45 AM

thanks ! @Valter

Valter 02-14-2010 06:45 AM

Quote:

Originally Posted by Videx (Post 1981727)
What's a "CB Log-in/Log-out"?

And I wonder what these two lines in the Options means? I mean, I understand the first by itself, but then what does the second mean? You mean when the page is first loaded they're logged out? Until when?

When any AJAX based chatbox is enabled on your forums, there are a lot of requests sent to the server, which means server load is increased. All users who can see the chatbox executes database queries, in order to view new messages without refreshing. This is where log-out is important. If user is not active then system will stop refreshing for them. Someone may opened your forum and leaved their computer for hours, but chatbox still refreshes. Not anymore. Log-in to continue refreshing, log-out to stop eating resources.
Quote:

Originally Posted by hackerz5 (Post 1981890)
It Still says: Loading... :mad:

I guess you have some server related problem.
Quote:

Originally Posted by enoobz (Post 1981881)
Update installed!

Text color drop down still NOT showing in Safari.

Apple should fix this. Mac version of Safari is the only browser which won't accept CSS on some form elements.

Valter 02-14-2010 06:48 AM

Quote:

Originally Posted by dangerin (Post 1981900)
i do not know what does it mean revert the template to install the update

If you have modified any of hack templates they are marked red in template list.
To revert modified template select it on the list, then click 'Revert'.

All of my templates are found in 'Valter' group.

If you haven't modified any of your templates, then just forget this step.
Quote:

Originally Posted by Warden-B- (Post 1981720)
I did a complete search for post_old.gif and post_new.gif in the code and it shows as "not found" on the following templates...

It's not in templates.

Just ensure that images exists in mentioned location. You don't need to edit the code.

pitt34 02-14-2010 06:56 AM

https://vborg.vbsupport.ru/

Drop-down menu with text sizes is not working propertly.

dangerin 02-14-2010 06:58 AM

i've not modififed the valter's template.
sincerely i did not knew that there were some templates in a group valter.
Can be utilized for something of interessant?
i've only past the code in the forumhome template to appear the chat in forum and i'm searching also how to have it in cms or other pages..
for this perhaps are yours templates ?
so i only import the xml file and overwrite the installation it's correct?

thank you for answer

Ozymandyus 02-14-2010 07:00 AM

Thank you for the chatbox, Valter, and for swiftly releasing updates and bug fixes.

Like many others have posted, I would love to see an option to include this on the main CMS page. So far my limited coding abilities have not been sufficient to find a way to do this.

aryshi 02-14-2010 08:00 AM

after update to v3.1.1 its loading all time

Matais 02-14-2010 08:00 AM

Quote:

Originally Posted by pitt34 (Post 1981906)
http://img709.imageshack.us/img709/2548/sbbug.png

Drop-down menu with text sizes is not working propertly.

revert your templates

pitt34 02-14-2010 08:05 AM

OK thanks, I found it before you reply.

dangerin 02-14-2010 08:27 AM

In tha wait to know if i must only reimport the xml file i ask you an other question :
Who know where are and how to modify the similies thata are in list beacuse i do not see well all the smile that appear.
Thanks

RedHacker 02-14-2010 09:24 AM

Valter anything for display 100%....?

k1klass 02-14-2010 10:03 AM

the latest update has messed up the default text colour, for writing and posting.

Needs to be black when typing and white when posted, did this before but does not want to do it now, you have to select the colour you want to type but then you cant see it when typing?

disabling custom colour fixes this :(

steve1966 02-14-2010 10:37 AM

yes the colour tab is not working correctly on my forum

wold3mort 02-14-2010 11:23 AM

with 3.0.1 the chat was working...then i've installed the same version but in italian and now it still say LOADING.... -.-
then i've loaded the 3.1.1 version but the problem persist...now...
WHAT CAN I DO TO RESOLVE THIS PROBLEM?????
Help me...... T.T

exyuteam 02-14-2010 12:15 PM

Thanks Valter for this update.... But, I still waiting for:
- Chatbox title
- Announcement in the chatbox

I think this is easy to add and useful options ;)

Also,
- New thread and new post warning in the chatbox (in separate column OR inside other chats)
- Adding chatbox channels

would be also very useful options?


THANKS M8!!!

Sador 02-14-2010 12:18 PM

Hm.. for some reason with the new update, in the chat the date and time won't show up, instead it shows this:

New [d-m, H:i] Admin This is a message.

The [d-m, H:i] should be the timestamp, but instead it shows litterally that.

Any fixes?

princeedward 02-14-2010 12:39 PM

Quote:

Originally Posted by Sador (Post 1982069)
Hm.. for some reason with the new update, in the chat the date and time won't show up, instead it shows this:

New [d-m, H:i] Admin This is a message.

The [d-m, H:i] should be the timestamp, but instead it shows litterally that.

Any fixes?

try to use this... insert to VSa - ChatBox Admin Cp Option

Date format (blank to disable): %d-%m
Time format : %r

best regards...
;):up:

Videx 02-14-2010 01:20 PM

Quote:

Originally Posted by dangerin (Post 1981946)
In tha wait to know if i must only reimport the xml file i ask you an other question :
Who know where are and how to modify the similies thata are in list beacuse i do not see well all the smile that appear.

You do not need to revert the templates if you haven't modified the templates. But you must learn about templates because you'll need to revert ALL of yours every time you do a vbulletin update. The manual is still useful: http://www.vbulletin.com/docs/html/s...edit_templates

The smileys are the ones you have installed via AdminCP>Smilies. I'm not sure what the 'Random Smilies" option is, I guess it mixes your smileys up. Experiment and let us know.

Quote:

Originally Posted by exyuteam (Post 1982067)
Thanks Valter for this update.... But, I still waiting for:
- Chatbox title
- Announcement in the chatbox

Agree, /notice would be nice, as would the ability to change the name from Options rather than have to do it via phrases. But it's not hard to do and you really only need to do it once.

InsomniacP 02-14-2010 01:26 PM

I got a fatal error trying to install it? So sticking with the last version as I don't seem to be having any problems with it...

princeedward 02-14-2010 01:42 PM

SPECIAL HELP TO ALL NEWBIE



NEW INSTALLATION:

-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

UPGRADE INSTALLATION:

-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] > Revert All Vsa Chatbox Template If You Edit/Tweak Before / If Not Just Re-Import The New Product File Click Allow Overwrite


HOW TO REVERT VSA CHATBOX / TEMPLATES? VB MANUAL

NOTE: If you Edit/Tweak some Vsa Chatbox Templates prior to the latest or last install...then you have to REVERT those templates before any upgrade...(otherwise you might have some trouble or weird chatbox)

Acp > Style and templates > Style Manager > Choose your actual style > Click the double arrow button to expand the templates > Click the double arrow button once again to expand all templates groups > Now go down below to find Valter Templates ( If there is a red templates...then you have to highlight it but not click to open it > Then you have to click the REVERT button at the right top control (IF NO TEMPLATES IS RED NO NEED TO DO ANYTHING)...


ADD TO DESIRED TEMPLATE (example FORUMHOME):

1. Add 'index' to THIS_SCRIPT locations (Product options)
2. Add 'FORUMHOME' to template names (Product options)
3. Open 'FORUMHOME' template and put "{vb:raw vsachatbox}" to desired line (for example after '<!-- /main -->') -> Save


TO SHOW ON ALL PAGES:

ACP > VBOptions > VSa - ChatBox > (Settings)

Show ChatBox on pages (comma separated THIS_SCRIPT locations)
Blank to show on all pages (not recommended because of server load) > Blank

CMS OPTION

ACP > VBOptions > VSa - ChatBox > (Settings)

Position on page (Disable if you add ChatBox manually in templates) DISABLED

Acp > Styles and Templates > Search in your actual style: NAVBAR

Add to the bottom of navbar template

{vb:raw vsachatbox}

==================================

Show ChatBox on pages (comma separated THIS_SCRIPT locations)
Blank to show on all pages (not recommended because of server load) - Index

Show ChatBox in templates (comma separated template names) - Blank

Position on page (Disable if you add ChatBox manually in templates) - Disabled

Add to the to the top of navbar template

{vb:raw vsachatbox}

WORKIN PROOF



VB ADVANCE PORTAL: SHOWING!

CLICK HERE NOW!


Guys...hope this little things help you all if you all new to all of this headache :p S***T!
actually this tutorial are all on the first page or somewhere around this thread...just keep looking or use search this forum....

best regards to all

;):up:

xDazedx 02-14-2010 01:52 PM

Awesome updates! Is anyone seeing the color drop down box being blank with a check mark? I have tested it on PC with IE8 and FF with no problems. On a Mac FF is fine but Safari does not display the color palette. If you click a blank area, the color will then appear as the default in the drop down.


All times are GMT. The time now is 03:47 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.03425 seconds
  • Memory Usage 1,846KB
  • 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
  • (9)bbcode_code_printable
  • (14)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