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)

wolfyman 02-19-2010 03:32 PM

Quote:

Originally Posted by Valter (Post 1986476)
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

Quote:

Originally Posted by cory_booth (Post 1986527)
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.

Trek 02-19-2010 03:58 PM

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

Quote:

Originally Posted by Ozymandyus (Post 1986544)
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

Quote:

Originally Posted by cory_booth (Post 1986527)
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

Quote:

Originally Posted by Alexandre.R (Post 1986496)
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.
Quote:

Originally Posted by cory_booth (Post 1986527)
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

Quote:

Originally Posted by Valter (Post 1986650)
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

Quote:

Originally Posted by Videx (Post 1986609)
>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


All times are GMT. The time now is 10:13 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.02229 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
  • (8)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