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)

enoobz 02-21-2010 05:59 AM

Owh.. i see..

Valter, please help make it work with CMS.. pleaseeee..

dale09 02-21-2010 06:17 AM

Does anyone know if this mod conflicts with the translator mod?

TimberFloorAu 02-21-2010 07:12 AM

Great work Valter. The colour picker is A1 !

Could I also say, that it would be nice to have a selector box in admincp, to choose alternate chat line colours.

Bit like:

Choose colour for even lines: light gray
Choose colour for odd lines: dark gray

Perhaps allow entering #ff9900 etc hex colours.

Cheers Ste

denman75 02-21-2010 07:55 AM

Quote:

Originally Posted by RedFoxy (Post 1982604)
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






thanks Redfoxy ,my site wont allowed trading also ,so i made the changes u suggested.
But is it possible that the mods and admins ,now also cant edit user messages on my board .since the edit box is gone lol
i have inserted the right user-group permissions

ps this should be inserted in the next release thats its not possible to edit messages
for the rest great mod

kevius 02-21-2010 08:34 AM

EXTRA !! thank you very very much !

SlompOchomp 02-21-2010 12:01 PM

1 Attachment(s)
Not sure if this is the same for all but I see 2 of the same color of the first color on the Color Menu. Is this a bug or is there a way to correct this issue?

Valter 02-21-2010 12:14 PM

As already explained earlier - First color is your style default, and it's automatically added. Second 'black' is one you defined in product options.

SlompOchomp 02-21-2010 12:16 PM

Quote:

Originally Posted by Valter (Post 1988000)
As already explained earlier - First color is your style default, and it's automatically added. Second 'black' is one you defined in product options.

Oh, guess I didn't read lol sorry
Thanks :up:

icemann 02-21-2010 01:02 PM

I'm getting this in IE and there are no chat templates modified.

Your submission could not be processed because a security token was missing

Karadenize 02-21-2010 01:39 PM

Owh.. i see..

Valter, please help make it work with CMS.. pleaseeee..


All times are GMT. The time now is 04:56 PM.

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.03343 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
  • (2)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