Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VSA Chatbox AJAX Addon (New Posts/New Reply Notification) Details »»
VSA Chatbox AJAX Addon (New Posts/New Reply Notification)
Version: 1.2.1, by Inflikted Inflikted is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: Chat Modifications - Version: 4.0.3 Rating:
Released: 04-18-2010 Last Update: 04-26-2010 Installs: 181
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

I originally had this posted in the VSA Chat thread however with the endless amount of posts the script is somewhat lost in there , plus I have a small update for it to remove the notification for edited/deleted posts which many people asked for, I apologize I posted the outdated version before.


UPDATE April 27th 2010
-Added Arabic Translations Thanks Dr.osamA

UPDATE April 24th 2010
-Added in failsafe incase you don't use html markups, to default back to admincp option choice for userid color

UPDATE April 24th 2010
-Added new member registration notification
-Added username html markup for colors
-Added option to turn off various plugins/products

UPDATE April 21st 2010
-Created a product, so its easier to edit the options for people
-Option to name your RSSFeedBot

New Installation Instructions:
1. Make sure VSA Chatbox AJAX is installed (grab it here https://vborg.vbsupport.ru/showthread.php?t=235271)
2. Install the attached xml below in your Product section of AdminCP
3. In vbulletin options you can edit the product in VSA Chatbox Addons category

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

Thats about it

You can see an example in the photo below or on my website I have it running as well Demo: http://www.freefrag.com

Coming Soon...
Additional Requested Options from members
-Arcade win announcements
-New members announcement
-Sound Alert Option

Download Now

File Type: xml product-vsachatboxaddons.xml (8.8 KB, 1195 views)
File Type: xml product-vsachatboxaddons-Arabic.xml (10.1 KB, 75 views)

Screenshots

File Type: jpg example1.jpg (12.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Slipperyduck

Comments
  #92  
Old 05-15-2011, 06:05 PM
Nightcop Nightcop is offline
 
Join Date: May 2011
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did all of that but when I go to my site its not there?
Reply With Quote
  #93  
Old 05-17-2011, 04:42 PM
Nightcop Nightcop is offline
 
Join Date: May 2011
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #94  
Old 10-21-2011, 08:06 PM
robsta robsta is offline
 
Join Date: Oct 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mattpist View Post
can anyone point out how to fix this? id do it myself if i knew what i was looking for.
same error !
Reply With Quote
  #95  
Old 10-23-2011, 03:52 AM
n00bl3t n00bl3t is offline
 
Join Date: Dec 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Where can I go to remove this?
Reply With Quote
  #96  
Old 01-26-2012, 01:38 AM
illeagle illeagle is offline
 
Join Date: Nov 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this but do not see an option for sound. Is it in this mod and I am just missing it somehow?
Reply With Quote
  #97  
Old 05-23-2012, 04:51 PM
fookaa fookaa is offline
 
Join Date: Dec 2009
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

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

Thanks in advanced for any assistance
Reply With Quote
  #98  
Old 06-18-2012, 07:50 AM
ohadpartuck ohadpartuck is offline
 
Join Date: Mar 2012
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #99  
Old 08-08-2012, 12:17 AM
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Location: USA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mattpist View Post
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.
Reply With Quote
  #100  
Old 10-19-2012, 10:47 AM
Slipperyduck Slipperyduck is offline
 
Join Date: Apr 2012
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #101  
Old 12-26-2012, 07:58 AM
shershen08's Avatar
shershen08 shershen08 is offline
 
Join Date: Feb 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by utahraves View Post
Suggestion: Open links in new window.
I support this suggestion!:up:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08: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.06099 seconds
  • Memory Usage 2,342KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete