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
Widget - Easy Chat Box for CMS Details »»
Widget - Easy Chat Box for CMS
Version: 1.00, by Toxic2 Toxic2 is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: vBulletin CMS Widgets - Version: 4.0.0 RC 4 Rating:
Released: 12-20-2009 Last Update: 12-20-2009 Installs: 28
Re-useable Code  
No support by the author.

A very easy to Make widget for a Chat Box in CMS. RC-4

Edit: Works with Gold 4.0 Edition.

The reason I made this Widget was to have a Chat box for my Site. It is a Temporary solution until a expert Coder develops a Ajax or more elaborate Chat system.

This was really easy to do and the code is a freebie From widget Me, So I tried it 2 or 3 different ways and it works fine.

I have My Site redirected in the Host Cpanel to the Home page (CMS) This way all will see the Chat or announcements In the chat window.

Can be Made to fit 1 column 2 or 3

For those who haven't quite got the hang of Layouts and widgets, I will try to give a Simple How to:

1) In the ACP goto ---> CMs---> Widgets
Make a new widget and name it Chat Box or your Domain Chat Box Make it a Static HTML Save it.

2) In Widgets find your named Chat Box and Click Configure and add the Code below and Save. ( You Can Resize it as you see fit in configure as well as add Colors)

3) In CMS goto ---> Layout manager and Place the Widget where you Like. It is completely customizable in size and color.

You Can See the Optional Layouts in the Screen Shots.

Demo to see it live. HERE

As I said, it is a temporary Soulution and I needed it today.

Example Code to Insert in the Widget go to Outside Link provided to get a personal User ID

Code:
<!-- Start http://chat.widget.me HTML Code -->
<script type="text/javascript">
<!--
// The base configurations of the chat widget
// You can change colours and sizes by editing

// Sizes in pixel
// Window width
chat_width="575";

// Window height
chat_height="125";

// Window border size
chat_border="2";

// Colours in hexadecimal
// Window border colour
chat_border_col="C0C0C0";

// Background colour
chat_bg_col="FFFFFF";

// Font type
chat_text_font="Helvetica, Verdana, Geneva";

// Text colour
chat_text_col="000000";

// Font size
chat_text_size="10pt";

// Break line colour
chat_break_col="C0C0C0";

// External CSS file
chat_css="http://";

// Stop change
// Happy chatting
chat_uid="XXXXX"; *** go to outside Link Provided to get your personal User ID ***
                                       This is an example of the Code you will get, It will show up automatically when you get there, Copy and Paste it in your Widget.
//-->
</script>
<script type="text/javascript" src="http://chat.widget.me/chat.js"></script>
<!-- End http://chat.widget.me HTML Code -->
NOTE: The size in the Code is to fit the Demo Shown, you will have to r-size to your own Taste.

Please Click Installed to let me Know if this was useful to you

Outside Link HERE

There is a Floating Chatbox for all your templates (Sits at Bottom) But I prefer not to do Template edits. Another reason this will do for the Time Being.

If You Try it Let me know how it worked for you.

Download Now

File Type: txt Chat Code resize.txt (1.2 KB, 183 views)

Screenshots

File Type: png 2 Column Chat.png (139.5 KB, 0 views)
File Type: png 3 Column Chat.png (33.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-03-2010, 03:18 PM
DHewes DHewes is offline
 
Join Date: Aug 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works great as a simple widget, but I wanted something with a fluid width. I found that you can get free code that works EXACTLY the same way as Toxic2 has described here (Thanks for that) over at http://www.shoutmix.com. They also offer a lot more functionality and customization through their control panel (colors, sizes both px and %, etc.) as well as retention...) I went ahead and paid the $2/month for faster refreshes and 3 month retention. Again, same concept as this mod, just cut and paste the code they give you instead of this code.

With both the ShoutMix code and the original code within this mod the shoutbox is running from a remote server and embedded on your site. The code from ShoutMix is actually smaller - basically the size and where to load it from. One huge advantage from ShoutMix is that even with the free code you can change the entire color scheme remotely on their Control Panel and it happens instantly on your web site. I also like the idea of security, where you can only load the ShoutMix on the domain you specify (if you set that).

Here is what it looks like: http://www.ihmsa.net/forum/
Reply With Quote
  #23  
Old 01-04-2010, 02:48 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I went ahead and paid the $2/month for faster refreshes and 3 month retention. Again, same concept as this mod, just cut and paste the code they give you instead of this code.
If I did that for every Mod I have, it would be 100 dlls easy LOL but I'm glad you got what you needed.
Reply With Quote
  #24  
Old 01-05-2010, 12:03 PM
microlight microlight is offline
 
Join Date: Dec 2009
Location: Leeds UK
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have got it all set up on my site http://www.microlightforum.com and can see it OK but it doesn't work.

It says "error (3)" any ideas?
Reply With Quote
  #25  
Old 01-06-2010, 07:57 AM
microlight microlight is offline
 
Join Date: Dec 2009
Location: Leeds UK
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found out what the Error (3) is all about people.

It doesn't work with Chrome for some reason.
Reply With Quote
  #26  
Old 01-20-2010, 02:50 AM
cagbaazee cagbaazee is offline
 
Join Date: Jul 2007
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.. wanna to install chat before the navbar menu. can some one explain how to do it.

Thanks
Reply With Quote
  #27  
Old 03-12-2010, 08:25 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well Finally Valter came out with the Ajax chat that I referred to, so this was a nice mod till Valter graced us with his ajax mod. Thanks Valter !! Hope this little Mod came in handy while waiting for the ajax chat.
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 03:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04071 seconds
  • Memory Usage 2,297KB
  • Queries Executed 22 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (3)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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