Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #12  
Old 12-22-2009, 02:34 PM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you Upgraded to Gold 4.0, you will need to remake the widget, But works Great In the Gold 4.0 Edition
Reply With Quote
  #13  
Old 12-24-2009, 06:35 PM
cbiweb cbiweb is offline
 
Join Date: May 2004
Location: Nova Scotia, Canada
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I followed the instructions exactly, and don't see the chat box. How do I get it to show up?
Reply With Quote
  #14  
Old 12-24-2009, 06:45 PM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you go to CMS ---> Layout manager and add it to your CMS layout? when you do, you can drag it to where you want to place it.
Reply With Quote
  #15  
Old 12-24-2009, 06:53 PM
cbiweb cbiweb is offline
 
Join Date: May 2004
Location: Nova Scotia, Canada
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't understand the whole layout thing yet I guess. Someone else set up the CMS. Went to Layout Manager and saw the Add New Layout button, and added a layout for the widget. From there I'm a little lost, lol.
Reply With Quote
  #16  
Old 12-24-2009, 07:07 PM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you go to CMS layout manager you should see a window open and look for "Home Layout" Then in the Box at left and find chat and click the right arrow to add it to the Home layout. Then drag it where you want to place it.

This is based on you making a new Widget, and put the NEW code in it and saved it
Reply With Quote
  #17  
Old 12-24-2009, 07:13 PM
cbiweb cbiweb is offline
 
Join Date: May 2004
Location: Nova Scotia, Canada
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aha! Got it! The Home Layout was the missing link for me. Thanks!
Reply With Quote
  #18  
Old 12-24-2009, 07:20 PM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome, Remember to re-size the Chat Box, go back to the code in the widget and change height and width to your taste
Reply With Quote
  #19  
Old 12-27-2009, 01:00 PM
Mike1018's Avatar
Mike1018 Mike1018 is offline
 
Join Date: Dec 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am unable to get it. When I go to layout Manager, I just see food, Home, News, and etc. Where do I add it, to get it to look like on your demo?
Reply With Quote
  #20  
Old 12-28-2009, 02:52 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mike1018 View Post
I am unable to get it. When I go to layout Manager, I just see food, Home, News, and etc. Where do I add it, to get it to look like on your demo?
Those who click install, I try to help them get it as they need it to be.
Reply With Quote
  #21  
Old 12-28-2009, 02:56 AM
SharedSpirit SharedSpirit is offline
 
Join Date: Dec 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working good, looking good

Gold (PL1), thanks Toxic2
Reply With Quote
Reply

Thread Tools

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 11:04 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.09752 seconds
  • Memory Usage 2,327KB
  • Queries Executed 26 (?)
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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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