Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Chatbox Lite Details »»
Chatbox Lite
Version: 0.6, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 07-19-2005 Last Update: 08-07-2005 Installs: 83
DB Changes Template Edits
Re-useable Code Additional Files  
No support by the author.

This is a very simple shoutbox.

For those of us who don't have the resources to spare for vBShout v2.0.

[high]Installation[/high]
Instructions in the zip.

Show Your Support

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

Comments
  #162  
Old 06-29-2006, 06:05 PM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to prevent unregisters to use chatbox ??
Reply With Quote
  #163  
Old 06-30-2006, 12:56 PM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to add color, smillies , font box to the chatbox ??
Reply With Quote
  #164  
Old 07-01-2006, 04:07 AM
ab420 ab420 is offline
 
Join Date: Feb 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to make the user names in the chatbox a link to their profile?
Reply With Quote
  #165  
Old 07-01-2006, 03:28 PM
ab420 ab420 is offline
 
Join Date: Feb 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was messing around with the chat box this morning, and this is what I came up with:

I have my chatbox only in a seperate window, so they have to click a link on the forum home page to open it. I don't want the big fully-functional chatbox on the home page, but I did want a way for people to see what's going on in there.

I took the chatbox_lite.php file, and renamed it chatboxc_lite.php

Attachment 50151

That is the chatboxc_lite.php file I used. I edited it so you can't shout, delete or refresh from this box. What you can do is edit the options in this chatboxc_lite.php file, such as how many shouts per page, which I set to 3, and set show pages to false.

I removed the chatbox from the forum home page, as I said before, then I added this code right under $navbar in the forumhome template:

Code:
<tbody>
<tbody>
	<tr>
		<td align="center" colspan="2"><div align="center">
			<a href="#" onclick="return openChatboxLite()">These are the last few comments in the $vbphrase[chatboxlite_chatbox]</a></div>
		</td>
	</tr>
</tbody>
	<tr>
		<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center" height="50"><iframe src="chatboxc_lite.php?nofocus=1" width="100%" height="75" style="border: 0px"></iframe></div></td>
	</tr>
</tbody>

What it does is shows the last few shouts, by allowing you to use a second set of options, but still works from the same database. By not allowing manual refreshes or shouting from the main page, the already minimal server load becomes almost nothing, but still allows people to see what's up in the chat room right when they get to your forum!

Screenshot:

Attachment 50144
Reply With Quote
  #166  
Old 08-06-2006, 06:00 AM
Cyruski Cyruski is offline
 
Join Date: Oct 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it ok with 3.6.0 ? I installed it but now worked for me, need help
Reply With Quote
  #167  
Old 08-08-2006, 11:51 PM
beano33 beano33 is offline
 
Join Date: Feb 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this on 3.6 'Gold' today with no problems. Great hack!
Reply With Quote
  #168  
Old 08-13-2006, 06:10 AM
Rahuldhanpat Rahuldhanpat is offline
 
Join Date: Jan 2006
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have vbulletin 3.6 and when i tried to run the Hack_install.php the the error msg i m getting is this... help me please
Fatal error: Call to undefined function: query() in /hsphere/local/home/rahuldha/devghar.com/install/his_files/hack_install_b3.php on line 48
Reply With Quote
  #169  
Old 11-16-2006, 04:16 AM
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Location: Chesapeake, VA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome, thanks man.
oh snap, i just noticed a 'similar link' to move the shoutbox to the welcome panel lol, i moved it myself and dropped it between the main body of my forum and the quote-it lol. heehee, im good, yeah that's right! :P
Reply With Quote
  #170  
Old 11-16-2006, 04:53 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did importing the product file work for you? I think this product file has an error, but if it worked for you im wrong.
Reply With Quote
  #171  
Old 11-21-2006, 08:53 PM
Been Told Been Told is offline
 
Join Date: Oct 2006
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a really nice hack!
I needed to modify it very very slightly because I wanted to hide the chatbox from guests.
To achieve that, do this:
After installing the chatbox...

in Navbar find:
Code:
<td class="vbmenu_control"><a href="#" onclick="return openChatbox()">Chatbox</a></td>
Replace with:
Code:
<if condition="$show['member']"><td class="vbmenu_control"><a href="#" onclick="return openChatbox()">Chatbox</a></td></if>
In FORUMHOME find:
Code:
<!-- Chatbox -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatbox')"><img id="collapseimg_forumhome_chatbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatbox].gif" alt="" border="0" /></a>
			<a href="#" onclick="return openChatbox()">$vbphrase[chatbox_chatbox]</a>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatbox" style="$vbcollapse[collapseobj_forumhome_chatbox]">
	<tr>
		<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%" style="border: 0px" frameborder="0"></iframe></div></td>
	</tr>
</tbody>
<!-- / Chatbox -->
Replace with:
Code:
<!-- Chatbox -->
<if condition="$show['member']">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatbox')"><img id="collapseimg_forumhome_chatbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatbox].gif" alt="" border="0" /></a>
			<a href="#" onclick="return openChatbox()">$vbphrase[chatbox_chatbox]</a>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatbox" style="$vbcollapse[collapseobj_forumhome_chatbox]">
	<tr>
		<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%" style="border: 0px" frameborder="0"></iframe></div></td>
	</tr>
</tbody>
</if>
<!-- / Chatbox -->
What it does is, it checks if the person viewing the page has a user ID (i.e. is logged in) and it shows it only to people with a user ID. And since guests have no user ID, it hides the chatbox from the guests.

As I said, a great hack and a very nice alternative for bigger forums!
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 01:54 AM.


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.04563 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete