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)

Inflikted 04-18-2010 10:00 PM

VSA Chatbox AJAX Addon (New Posts/New Reply Notification)
 
1 Attachment(s)
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

Juggernaut 04-19-2010 02:55 AM

Tagged, will try right now :D

Juggernaut 04-19-2010 03:38 AM

How do I change the font color, it is lost in my forum skin, also, I haven't been able to translate the language with phrases :)

Inflikted 04-19-2010 03:44 AM

you can modify the line with $message=... it's simply bbcoding involved. Currently its

First color is set to silver for the username. 2nd Color is set to white for the rest of the thread. You can remove the bbcoding and it will default to the normal color. I apologize my theme is set to dark so I left it for a dark theme, anyone with a bright theme won't be able to see squat lol. I'll post a version stripped of bbcode in a bit.
PHP Code:

$message '[color=silver][b]' $username '[/b][/color][b][/b][color=white] replied to the thread[/color] ' $titleprefix unhtmlspecialchars($this->info['thread']['title']) . $titlesuffix


Kingdombuilder 04-19-2010 03:52 AM

At the risk of looking like a complete idiot what is the ID for that you speak of to change. Trying to figure out what changing it does... Great mod by the way, it is just what I was looking for...

Inflikted 04-19-2010 03:58 AM

sorry I fixed the post, instead of id it should have said userid. By default its assigned to 1. But you can create a fake forum account for a PostBot or w/e you want to call it lol. and then assign the userid of the postbot. As I have done on my site.

Juggernaut 04-19-2010 04:03 AM

Exelente mod, Working perfectly now :D

Kingdombuilder 04-19-2010 04:49 AM

Thanks bro will get it done now... I'm loving this mod so far...

I do however see one thing. the new threads are not updating in the chatbox, but the reply post are. Any suggestions?

Inflikted 04-19-2010 04:56 AM

you would need to copy/paste whats in your plugin for new thread, possibly some edit you made went wrong.

Kingdombuilder 04-19-2010 05:46 AM

now when i make a new thread i get this error:

Edit: Problem fixed thanks...


All times are GMT. The time now is 12:39 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.01160 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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