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)

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?


All times are GMT. The time now is 02:29 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.03175 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)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