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
  #112  
Old 02-15-2006, 01:02 AM
Otikeu Otikeu is offline
 
Join Date: Nov 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, it seems that the version isn't the issue, just the upgrade process could have caused it... here is the MySQL error I get when importing the product (aka it shows this when I click on "Import" and doesn't import the product)

Quote:
Database error in vBulletin 3.5.3:

Invalid SQL:
show tables like ghf_'sl_shout';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ghf_'sl_shout'' at line 1
Error Number : 1064
Date : Tuesday, February 14th 2006 @ 10:00:30 PM
Script : http://forums.xxxxxxxxxxxxx.com/admincp/plugin.php
Referrer : http://forums.xxxxxxxxxxxxx.com/admi...?do=productadd
IP Address : 69.10.160.68
Username : Otikeu
Classname : vb_database
My MySQL version is 4.1.14-standard. It works on a test board of vB 3.5.3, but won't work on my upgraded board of 3.5.3...
Reply With Quote
  #113  
Old 02-15-2006, 10:43 AM
Asha'man Asha'man is offline
 
Join Date: Feb 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

first of all, thanks for the really nice chatbox! It's running fine now in my brandnew vBulletin installation @http://www.celica-community.de

I had to patch a small thing to allow usernames containing ticks (as mine):

$username = ereg_replace("'","\\'",$vbulletin->userinfo['username']);

And then use $username in the rest of the code instead of $vbulletin->userinfo['username'].

It would be great if you could add a fix similar to this to your codebase. So I (and probably others) won't have to take care for the future. It also enhances your security. Someone might be able to inject SQL by using a malformed username or something. I think it's not trivial or maybe not even possible, but why not going the safes way?!

Cheers,
Thomas
Reply With Quote
  #114  
Old 02-15-2006, 10:46 AM
Asha'man Asha'man is offline
 
Join Date: Feb 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Otikeu: I had the same. Just change the statement in the xml to: show tables like 'sl_shout'.

But do this with care and only if you're sure the [yourprefix]sl_shout table is not existing already in your db. This is a nasty workaround to get it running, but it works.
Reply With Quote
  #115  
Old 02-15-2006, 10:08 PM
Otikeu Otikeu is offline
 
Join Date: Nov 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Asha'man
Otikeu: I had the same. Just change the statement in the xml to: show tables like 'sl_shout'.

But do this with care and only if you're sure the [yourprefix]sl_shout table is not existing already in your db. This is a nasty workaround to get it running, but it works.
Aw, yes that is what I thought, but wasn't too sure on what to do. However, I was gonna backup my database and then do that, but now that you've confirmed, I'll proceed with it heh. Thank you for the help, I'll post what the results are.

EDIT: It worked! Thank you!
Reply With Quote
  #116  
Old 02-23-2006, 04:38 AM
zama zama is offline
 
Join Date: Feb 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

while i try to importing the product it appear to error. this is what the program noticed>>>

Quote:
Database error in vBulletin 3.5.3:

Invalid SQL:
show tables like vb3_'sl_shout';

MySQL Error : You have an error in your SQL syntax near 'vb3_'sl_shout'' at line 1
Error Number : 1064
Date : Thursday, February 23rd 2006 @ 01:28:10 AM
Script : http://vuth.com/forum/admincp/plugin.php
Referrer : http://vuth.com/forum/admincp/plugin.php?do=productadd
IP Address : 203.144.160.243
Username : admin
Classname : vb_database
Does anybody can tell me what happened with this? and what should i do to install it please..... :ermm:
Reply With Quote
  #117  
Old 03-14-2006, 01:58 AM
Otikeu Otikeu is offline
 
Join Date: Nov 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zama
while i try to importing the product it appear to error. this is what the program noticed>>>



Does anybody can tell me what happened with this? and what should i do to install it please..... :ermm:
Same issue as I had, check the posts on this page.

Also, what file do I edit to modify Chatbox templates? Cause, I wanna take out the input text field so it doesn't auto refresh... and just customize it some more. Also, maybe for the next release, a /emote system? I can give you a list of good ones.
Reply With Quote
  #118  
Old 03-14-2006, 07:43 AM
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
Location: Jamestown, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's obvious that this mod is made for a lighter skin, if you have a dark skin then you cannot see the button letter's or the text people put into the box. I like this, a bit better than vbshout to be honest as it's much lighter on the db. If someone could tell me how i could change the font colors of the buttons and box text, i would be most happy.
Reply With Quote
  #119  
Old 03-21-2006, 10:16 PM
Otikeu Otikeu is offline
 
Join Date: Nov 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicators
It's obvious that this mod is made for a lighter skin, if you have a dark skin then you cannot see the button letter's or the text people put into the box. I like this, a bit better than vbshout to be honest as it's much lighter on the db. If someone could tell me how i could change the font colors of the buttons and box text, i would be most happy.
The colors depend on your vBulletin's CSS customizations. It works on my dark layout.

You can check the coding, etc, through the chatbox_lite.php file.
WARNING! Basic PHP knowledge required.
Reply With Quote
  #120  
Old 03-24-2006, 06:44 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed with no problems
[high]* Brandon Sheley clicked install[/high]
Reply With Quote
  #121  
Old 03-24-2006, 05:19 PM
ARCANE_B0SS ARCANE_B0SS is offline
 
Join Date: Mar 2006
Location: l i b y a
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i use this hack with vb3.5.4 ????????

is there r any risk?????
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 05:04 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.05473 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
  • (5)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