Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 09-10-2005, 08:44 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you run the query to create the table?
Reply With Quote
  #43  
Old 09-10-2005, 09:11 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it wasnt in the instructions.
Code:
First Step

Import product-chatbox_lite.xml using the Product Manager.


Second Step

Upload chatbox_lite.php to your forum root directory (you can edit it first to change some options).


Thirt Step

Edit the navbar template, find

+++++++++++++++++++++++++++++++++++++++++
//-->
</script>
+++++++++++++++++++++++++++++++++++++++++

before that, add

+++++++++++++++++++++++++++++++++++++++++
function openChatboxLite () {
	chatbox = window.open('chatbox_lite.php','chatboxLite','height=330,width=650,directories=n  o,location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes');
	return false;
}
+++++++++++++++++++++++++++++++++++++++++

find

+++++++++++++++++++++++++++++++++++++++++
		<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
+++++++++++++++++++++++++++++++++++++++++

after that, add

+++++++++++++++++++++++++++++++++++++++++
		<td class="vbmenu_control"><a href="#" onclick="return openChatboxLite()">Chatbox</a></td>
+++++++++++++++++++++++++++++++++++++++++

Edit the FORUMHOME template, find

+++++++++++++++++++++++++++++++++++++++++
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
			<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
		</td>
	</tr>
</tbody>
+++++++++++++++++++++++++++++++++++++++++

before that, add

+++++++++++++++++++++++++++++++++++++++++
<!-- Chatbox Lite -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatboxlite')"><img id="collapseimg_forumhome_chatboxlite" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatboxlite].gif" alt="" border="0" /></a>
			<a href="#" onclick="return openChatboxLite()">$vbphrase[chatboxlite_chatbox]</a>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatboxlite" style="$vbcollapse[collapseobj_forumhome_chatboxlite]">
	<tr>
		<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox_lite.php?nofocus=1" width="100%" style="border: 0px"></iframe></div></td>
	</tr>
</tbody>
<!-- / Chatbox Lite -->
+++++++++++++++++++++++++++++++++++++++++


You can change text or translate finding the phrases with "chatboxlite_" prefix.

And it's done, enjoy :)
Reply With Quote
  #44  
Old 09-10-2005, 10:31 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh no the product xml should have created the table, did you import it?...

check your database for the table, if you dont have it run

[sql]CREATE TABLE vb3_chatboxlite_shout (
`shoutid` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`userid` INT( 10 ) NOT NULL ,
`username` VARCHAR( 100 ) NOT NULL ,
`shout` VARCHAR( 255 ) NOT NULL ,
`dateline` INT( 10 ) NOT NULL ,
`ipaddress` VARCHAR( 16 ) DEFAULT '0' NOT NULL ,
PRIMARY KEY ( `shoutid` )
);[/sql]

the product manager should have run that though
Reply With Quote
  #45  
Old 09-10-2005, 01:48 PM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wordplay
anybody knows how to make this shoutbox show a miniture (resized version of the avatar of the user instead of the username if they are registered)? and of course the shout would then have to wrap next to it.

anybody out there that can help out with this?
dream, could you help me out here?
Reply With Quote
  #46  
Old 09-10-2005, 07:32 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wordplay
dream, could you help me out here?
you would have to change code
Reply With Quote
  #47  
Old 09-11-2005, 02:55 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream
oh no the product xml should have created the table, did you import it?...

check your database for the table, if you dont have it run

[sql]CREATE TABLE vb3_chatboxlite_shout (
`shoutid` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`userid` INT( 10 ) NOT NULL ,
`username` VARCHAR( 100 ) NOT NULL ,
`shout` VARCHAR( 255 ) NOT NULL ,
`dateline` INT( 10 ) NOT NULL ,
`ipaddress` VARCHAR( 16 ) DEFAULT '0' NOT NULL ,
PRIMARY KEY ( `shoutid` )
);[/sql]

the product manager should have run that though
That seemed to work
Reply With Quote
  #48  
Old 09-11-2005, 09:30 AM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream
you would have to change code
you feel like helping me out with that?
Reply With Quote
  #49  
Old 09-12-2005, 04:50 PM
Forumi Shqiptar's Avatar
Forumi Shqiptar Forumi Shqiptar is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:
SELECT count(shoutid) AS total FROM vb3_chatboxlite_shout;

MySQL Error : Table 'humoristi_forum.vb3_chatboxlite_shout' doesn't exist
Error Number : 1146
Date : Monday, September 12th 2005 @ 08:49:38 PM
Script : http://humori.net/chatbox_lite.php
Referrer :
IP Address : ***************
Username : [Elisi]
Classname : vb_database




any help why is it doing this ?? what do i have to change and how can i change it please? many thanks for the replies
Reply With Quote
  #50  
Old 09-12-2005, 08:01 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

run that query up there manually, im gonna check why the product xml isnt creating it later
Reply With Quote
  #51  
Old 09-13-2005, 05:19 AM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked this out.

Got a similar problem here as with the vB 3.5 shoutbox: colours. The button/text colours need looking at, though... I'm sure it looks OK on a lot of boards. Other than that it's looking pretty neat. If that gets fixed I may well install.
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 06:01 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.04779 seconds
  • Memory Usage 2,313KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_quote
  • (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
  • (4)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