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)

dianna 02-14-2010 01:55 PM

LOVE IT thanks!!!

princeedward 02-14-2010 01:59 PM

Quote:

Originally Posted by xDazedx (Post 1982136)
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.

Quote:

Originally Posted by Valter (Post 1981902)
Apple should fix this. Mac version of Safari is the only browser which won't accept CSS on some form elements.

best regards
:p

xDazedx 02-14-2010 03:09 PM

Thanks for the heads up princeedward

acabator 02-14-2010 03:19 PM

Ok, ahora funciona muy bien. :up:

Karadenize 02-14-2010 04:08 PM

No vbulletin cms portal :(

SonicGT 02-14-2010 04:27 PM

Love the chatbox, think its the best one out there

One Request, now that you've added the login/logout of chatbox option could you possibly make an option to enable/disable this feature? I liked it before where it was just always logged in basically.

Ozymandyus 02-14-2010 05:06 PM

Quote:

Originally Posted by princeedward (Post 1982132)
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}

I really appreciate your putting these instructions out here, PrinceEdward. Unfortunately, these instructions do not work, and sometimes result in having the chatbox not work entirely.

The best solution would be to have a widget that could be installed normally like any other in the CMS. I've tried several ways to do this with no success. If someone knows how or could figure it out, that would be very helpful.

princeedward 02-14-2010 05:25 PM

1 Attachment(s)
Valter...

Attachment 112328

hmmm...tried to find a way but can't really figure it out how to minimise or make the right and left side distance of the smilie figure button....

is there any way to make it happen Valter? i guess it will be more look nicer...

Also how about editing any chat message by doing double click only to it or beside... instead of going to archive page and do it....

chance to send pm to chaters?

well thanks once again and best regards...

:p:up:

EDIT: well got the left one nearer but the right one...nop

dangerin 02-14-2010 05:45 PM

Quote:

Originally Posted by Karadenize (Post 1982236)
No vbulletin cms portal :(

i've in the cms ..
i've only sleecetd in the options leaving index so it appear in every page of the site.
If you deactivate the position of chat and put the code at the top of template navbar you will have the chatbox in all the site.

i hope is that you were searching

Allan 02-14-2010 07:34 PM

1 Attachment(s)
French language :) (Version 3.1.1)

Translator: Olijo/Allan

NashChristian 02-14-2010 09:09 PM

Has anyone gotten this to work on vB CMS Home (without conflicts) yet?

Can anyone get this to work inside of a CMS Widget yet?

If so, please share!

Thanks!
:D Jeff

Sangheili 02-14-2010 09:47 PM

Fantastic modification Valter, I have been waiting for this since the release of vB4. I have a few requests though:

1. Could you also add an option to put a postfix on the username? For example, "Sangheili: Message", ':' being the postfix. It looks a lot better and easier to read.
2. And I agree with princeedward, the large spaces either side of the smilies image are a little odd.
3. Ability to double click messages and edit them, like with thread titles. The chatbox is very user friendly however not very moderator friedly, having to go into the archive every time you want to edit/delete a message is quite annoying.

Thank you again :)

RedFoxy 02-15-2010 12:03 AM

INTERNAL SECURITY WARNING!
USER are ALWAYS able to edit their messages!!! That's a security warning for my forum!

On my forum isn't allowed to trade by chat and everyone that trade using chat is banned, now they can trade and edit their messages!!!

I looked in the configuration but there isn't something about editing, just only delete!

rotor 02-15-2010 01:10 AM

Great stuff .... I've been waiting for this and must have missed it ....

Love it!!!

Thx :D

KHALIK 02-15-2010 01:16 AM

Can you add a auto script-bot that automatically notifies when a "new thread" is created - thread title, hyperlinked to the new thread.

RedFoxy 02-15-2010 01:32 AM

Quote:

Originally Posted by RedFoxy (Post 1982569)
INTERNAL SECURITY WARNING!
USER are ALWAYS able to edit their messages!!! That's a security warning for my forum!

On my forum isn't allowed to trade by chat and everyone that trade using chat is banned, now they can trade and edit their messages!!!

I looked in the configuration but there isn't something about editing, just only delete!

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:
Code:

                                <td width="1%" align="{vb:stylevar right}">{vb:rawphrase edit}&nbsp;</td>
Replace with:
Code:

                                <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}&nbsp;</td>
                                </vb:if>



Open: vsa_chatbox_archive_bit

Search:
Code:

                                        <vb:if condition="($bbuserinfo[userid]==$vsacb_msg_arc[userid]) OR $vsacb_canmod">
Replace with:
Code:

                                        <vb:if condition="(($bbuserinfo[userid]==$vsacb_msg_arc[userid]) AND $vsacb_canmod) OR $vsacb_canmod">
Search:
Code:

                <vb:if condition="($bbuserinfo[userid]==$vsacb_msg_arc[userid]) OR $vsacb_canmod">
Replace with:
Code:

                <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

frankie. 02-15-2010 05:19 AM

Not sure if this was reported yet but the mod seems to censor things by itself, when someone types in "bs" it will not show at all. Any ideas on this?

steve1966 02-15-2010 09:06 AM

thanks RedFoxy for the patch until the author can add a setting

Yosef Sh 02-15-2010 09:34 AM

does it works with 3.8

Disi 02-15-2010 10:45 AM

Hi,

is there a way to change the default color for the text in the ChatBox?

Valter 02-15-2010 11:06 AM

Yes. First color in 'available colors' field (product options) will be default.

Disi 02-15-2010 11:41 AM

Thanks for the Help and for a great plugin thats rocks & works!

RedFoxy 02-15-2010 11:49 AM

can you add a way to change order of view directly in chatbox ARCHIVE?

princeedward 02-15-2010 02:39 PM

1 Attachment(s)
...did a little bit tweak and editing that will suite to my taste...
by adding

View Chatbox Full Page & View Archive Page Buttons to the editor bar...
if you find it good and interesting just shout it out and i'm happy to share it...or maybe Valter find it also okay and he can apply it to his next version update...

please view my attachment below for more info or view my website below

LIVE DEMO

best regards to all

:p:up:

lovechandigarh 02-15-2010 02:57 PM

Excellent! Love Punjab has it now!!!

cloferba 02-15-2010 03:09 PM

Quote:

Originally Posted by Allan (Post 1982382)
French language :) (Version 3.1.1)

Translator: Olijo/Allan

how did you do that xml file?

i want to translate this mod to spanish but i dont know how to do it using a xml file

aaronrand 02-15-2010 03:10 PM

1 Attachment(s)
On this version, as well as the last, the shoutbox wont load the first time you open IE or Firefox.
if you click any other forum page and go back to home, it loads fine.
here is the error, any fix?
Have tried different browsers, ip's and pc's.

lovechandigarh 02-15-2010 03:41 PM

Do we have a PM option in this? If not, is it being planned?

steve1966 02-15-2010 04:05 PM

Quote:

Originally Posted by princeedward (Post 1982992)
...did a little bit tweak and editing that will suite to my taste...
by adding

View Chatbox Full Page & View Archive Page Buttons to the editor bar...
if you find it good and interesting just shout it out and i'm happy to share it...or maybe Valter find it also okay and he can apply it to his next version update...

please view my attachment below for more info or view my website below

LIVE DEMO

best regards to all

:p:up:

please would you share what you did?

princeedward 02-15-2010 06:15 PM

Quote:

Originally Posted by steve1966 (Post 1983076)
please would you share what you did?

pm sent pls. check inbox

:p

mainframe 02-15-2010 06:29 PM

When you run PHP 5.3.0 or higher you will get the following errors:

Code:

Deprecated: Function split() is deprecated in /home/xxx/public_html/global.php(28) : eval()'d code on line 39

Deprecated: Function split() is deprecated in /home/xxx/public_html/global.php(28) : eval()'d code on line 53

Deprecated: Assigning the return value of new by reference is deprecated in /home/xxx/public_html/misc.php(89) : eval()'d code on line 50

These errors can be fixed by opening VSa_CB.xml and replace all instances of split() with explode().

Also find: $vsacb_bbparser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
and remove the & so it looks like: $vsacb_bbparser = new vB_BbCodeParser($vbulletin, fetch_tag_list());

That should fix all problems.. coder please update your mod with these changes..

I also have a suggestion to minimize the impact on the server by reducing the queries.
You should let the shoutbox write a timestamp when there are new shouts and on refresh first check the timestamp if a refresh is needed, if there's no change in timestamp there's no need to query the database for new messages..

Regards,
MainFrame

Juggernaut 02-15-2010 08:22 PM

My smilies box is clipped and I can only see 5 smilies, and can't see the other five underneath, nor the preview pane for the smilies or the button for more smiles. I tried
reverting the templates and reinstalling, and this didn't help.

EDIT: Disregard, there was a conflict with another MOD, I disabled the
other mod until this can be fixed on their part. :D

Muggz562 02-15-2010 08:41 PM

Too many people on my forum are having problems with the default color text. We started using a white on one skin but now when we use white on our default skin, those who use our other skin cannot see the white text because it ends up being the bg color of that skins shoutbox.

SonicGT 02-15-2010 08:48 PM

Quote:

Originally Posted by mainframe (Post 1983168)
When you run PHP 5.3.0 or higher you will get the following errors:

Code:

Deprecated: Function split() is deprecated in /home/xxx/public_html/global.php(28) : eval()'d code on line 39

Deprecated: Function split() is deprecated in /home/xxx/public_html/global.php(28) : eval()'d code on line 53

Deprecated: Assigning the return value of new by reference is deprecated in /home/xxx/public_html/misc.php(89) : eval()'d code on line 50

These errors can be fixed by opening VSa_CB.xml and replace all instances of split() with explode().

Also find: $vsacb_bbparser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
and remove the & so it looks like: $vsacb_bbparser = new vB_BbCodeParser($vbulletin, fetch_tag_list());

That should fix all problems.. coder please update your mod with these changes..

I also have a suggestion to minimize the impact on the server by reducing the queries.
You should let the shoutbox write a timestamp when there are new shouts and on refresh first check the timestamp if a refresh is needed, if there's no change in timestamp there's no need to query the database for new messages..

Regards,
MainFrame

I'm running 5.3.1 on my site and dont have any issues with the default install

Valter 02-15-2010 11:23 PM

Quote:

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

When you set it in AdminCP you'll lose ability to translate into other languages.

Changing in Phrases is also something you'll need to do once. :)

Btw new version is coming with some important fixes...

Trek 02-15-2010 11:44 PM

Suggestion: Can you make it so that when you refresh the window, it does not auto jump to top/bottom of the shoutbox where the most recent shouts are?

Normally, this is fine (and good). However I have a lot of shouts and like to read back and get caught up on what's going on. Every 10 seconds, it refreshes and jumps you back to the bottom/top of the screen.

Could be configurable as to whether or not you want this, or maybe something like after 25 refreshes, then it does it. So people don't get trapped higher up in the scroll and not know it. Anyway, I've had a few users ask for this, and I myself would like to see it as well.

Trek 02-15-2010 11:46 PM

When viewing the archive, can the display order be the same display order as we set in the AdminCP?

I like my latest messages on the bottom (which the shoutbox is set to), but when you read the archive, they are at the top.

Thanks again!

Valter 02-16-2010 12:14 AM

Quote:

Originally Posted by RedFoxy (Post 1982569)
On my forum isn't allowed to trade by chat and everyone that trade using chat is banned, now they can trade and edit their messages!!!

Banned user should not be able to even view CB.

Check twice that those users are really banned. They should be:
- marked as 'username*' in CB
- listed in 'Banned Users' field in product options
- listed in 'Banned Users' field in CBArchive/CBFull menu
Quote:

Originally Posted by Trek (Post 1983385)
When viewing the archive, can the display order be the same display order as we set in the AdminCP?

Added in 3.1.2.

Valter 02-16-2010 12:23 AM

v3.1.2 - Feb 16. 2010.
-Fixed: Errors with PHP 5.3
-Fixed: CB table messed up in footer
-Fixed: Several style errors, including XHTML incompatibilities
-New: Auto-insert on forumhome location - Below Forums
-New: Option to reverse message order in CB Archive

To upgrade:
-Import product XML, allow overwrite
-Revert product templates if modified ('Valter' template group)

Valter 02-16-2010 12:25 AM

+ Increased space between username and message. :)


All times are GMT. The time now is 04:09 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.03304 seconds
  • Memory Usage 1,841KB
  • 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_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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