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 Addon (New Posts/New Reply Notification) (https://vborg.vbsupport.ru/showthread.php?t=240772)

Nightcop 05-15-2011 06:05 PM

I did all of that but when I go to my site its not there?

Nightcop 05-17-2011 04:42 PM

Update Instructions:
1. Remove all plugin first
2. Install this new product
3. In vbulletin options you can edit the product in VSA Chatbox Addons category

What do you mean by remove all plugin first?

Somebody please help!

robsta 10-21-2011 08:06 PM

Quote:

Originally Posted by mattpist (Post 2142106)
can anyone point out how to fix this? id do it myself if i knew what i was looking for.

same error !

n00bl3t 10-23-2011 03:52 AM

Ah neat mod but I really hate the thing at the footer...screws up the style...

Where can I go to remove this?

illeagle 01-26-2012 01:38 AM

I have installed this but do not see an option for sound. Is it in this mod and I am just missing it somehow?

fookaa 05-23-2012 04:51 PM

Hi,

Can anyone help me add user avatars in line with their chat please ?

Thanks in advanced for any assistance :D

ohadpartuck 06-18-2012 07:50 AM

Hi,
I Tried to change the backgroud color by adding
#vsacb_messagearea{
background-color: lightgray;}

but it looks like it set locally in the element itself.
looked for the element with no luck..

anyone?

I.G.O.T.A. 08-08-2012 12:17 AM

Quote:

Originally Posted by mattpist (Post 2071833)
it seems like if you use more than one attribute for the html markup for user names, it still messes up like so:

Code:

[color=red; font-style: italic]Matt Pist[/color] has posted the thread  StP blog is now online!
other than that, it's a sweet plugin, thanks!

I have the same issue so had to uninstall. :(

Slipperyduck 10-19-2012 10:47 AM

Multiple Attributes - I worked around this by doing the following:

Since my SPAN statement looks like so:
<span style="color: #F1A010; font-weight: bold;">
and not <span style="color: #F1A010;">

I went and had a look at the plugin code as follows:

admincp -> Plugins & Products -> Plugin Manager -> VSA New Reply
&
admincp -> Plugins & Products -> Plugin Manager -> VSA New Thread

The coder uses preg_match - whilst I know nothing really about coding as such, I applied a bit of logic and expanded his preg_match a little to match how I multi-attribute my Usergroups.

So it looks like this BEFORE:
preg_match("#<span[^style|>]?style=['|\"]?[^color:]color:[\s+]?(.*?)[;]?['|\"]?['|\"]?>#",$usernameopen,$newcolor);

More or less I needed modify the match as stated below
<span style="color: #F1A010;"> [change it to]--> <span style="color: #F1A010; font-weight: bold;">

To do so would add this code somewhere (well after the color style ; semi-colon to be exact):
?[^font-weight:]font-weight:[\s+]?[^bold]bold[;]


My Final Code:

preg_match("#<span[^style|>]?style=['|\"]?[^color:]color:[\s+]?(.*?)[;]?[^font-weight:]font-weight:[\s+]?[^bold]bold[;]?['|\"]?['|\"]?>#",$usernameopen,$newcolor);


So to be clear, here's the before and after:

BEFORE
preg_match("#<span[^style|>]?style=['|\"]?[^color:]color:[\s+]?(.*?)[;]?['|\"]?['|\"]?>#",$usernameopen,$newcolor);

AFTER
preg_match("#<span[^style|>]?style=['|\"]?[^color:]color:[\s+]?(.*?)[;]?[^font-weight:]font-weight:[\s+]?[^bold]bold[;]?['|\"]?['|\"]?>#",$usernameopen,$newcolor);



THIS IS WHAT THE CHATBOX DISPLAYED BEFORE:
[color=#F1A010; font-weight: bold]SlipperyDuck[/color] replied to the thread Facebook Integration Now up.

THIS IS WHAT THE CHATBOX DISPLAYED AFTER:
SlipperyDuck replied to the thread Facebook Integration Now up.

shershen08 12-26-2012 07:58 AM

Quote:

Originally Posted by utahraves (Post 2098721)
Suggestion: Open links in new window.

I support this suggestion!:up:


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