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

Reserved for more options if needed

Edit: As M3 Pointed out, to get your own personal User ID ---->
Quote:
to get your own chat_uid go to http://chat.widget.me/
Reply With Quote
  #3  
Old 12-21-2009, 05:04 PM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool! gonna try it.
Reply With Quote
  #4  
Old 12-21-2009, 05:57 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow the ridicules amount of 1 stars being passed out around here are getting out of control. I always base my ratings on the mods ability to do as described not on its abilities to do things i "wish" it would do. If i had to guess i would assume these single star ratings are being passed out by people who couldnt code the alphabet let alone a working hack.

This looks promising and like its simplicity in nature. good work.
Reply With Quote
  #5  
Old 12-21-2009, 07:04 PM
M3xital's Avatar
M3xital M3xital is offline
 
Join Date: Jan 2009
Location: Italy
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just tried it, i copied your code and i had your chat on my board, I mean i was seeing what people was chatting over at your site.
To have your own chat you need to change
Code:
chat_uid="t46zg";
to get your own chat_uid go to http://chat.widget.me/
Reply With Quote
  #6  
Old 12-21-2009, 07:13 PM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That makes sense to have to get your own User ID, I will revise it for folks to do that, That didn't occur to me that would happen thanks for the Update The outside Link is where you would get a user ID, I'll revise it. Did you have any problem with making the widget and Layout? Kinda easy I thought.
Reply With Quote
  #7  
Old 12-21-2009, 07:55 PM
zonaenlinea's Avatar
zonaenlinea zonaenlinea is offline
 
Join Date: Dec 2009
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

muy bien gracias probando
Reply With Quote
  #8  
Old 12-21-2009, 08:09 PM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

De nada, voy al Link para el Code Nuevo e Identificacion ID El Code que tengo es un ejemplo

Glad I took Spanish In School LOL
Reply With Quote
  #9  
Old 12-21-2009, 08:33 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work, quick and simple. =)
Reply With Quote
  #10  
Old 12-22-2009, 05:55 AM
M3xital's Avatar
M3xital M3xital is offline
 
Join Date: Jan 2009
Location: Italy
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toxic2 View Post
That makes sense to have to get your own User ID, I will revise it for folks to do that, That didn't occur to me that would happen thanks for the Update The outside Link is where you would get a user ID, I'll revise it. Did you have any problem with making the widget and Layout? Kinda easy I thought.
No problems at all. Was very easy.
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 09:38 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.04340 seconds
  • Memory Usage 2,318KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (2)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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