vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Chatbox 1.2.4 (https://vborg.vbsupport.ru/showthread.php?t=42725)

alzibub 03-30-2003 04:05 PM

I could be as thick as whipped cream here (one is a newbie !)...

I have looked through all 21 pages here and seen fleeting comments to the question but cannot seem to find the fix.... so here goes...

How do you allow Unregistered/not signed in etc users to post a shout ?
I noticed when I tried it came out blank :disappointed:

Logged in etc it works fine !!

After overcoming the time zone hack (server in Hong Kong, Located in UK and most visitors from states!) this is a quality hack !!

Merci Beaucoup Mon ami, c'est splendid !!

sHORTYWZ 03-30-2003 08:40 PM

all that's gonna do is remove the button though isn't it?

users can still type the code in manually..

i'm also now having problems with users using html.. any way to block that out as well? :)

sHORTYWZ 03-30-2003 08:41 PM

also found a bug

I have a user who's name is "Weir T'karr"

the sql query checking for banned users comes up invalid because of the ' in his name:

select user from chatbox_ban where user = 'Weir T'karr'
:mysql error: you have an error in your sql syntax blah blah - near 'karr'' at line 1.

grog6 03-31-2003 11:04 AM

@ sHORTYWZ : In chatbox.php, find

PHP Code:

$result $DB_site->query("SELECT user FROM chatbox_ban WHERE user = '$bbuserinfo[username]'"); 

and replace $bbuserinfo[username] with :

PHP Code:

".addslashes($bbuserinfo[username])." 

Should remove your probleme ;)

sHORTYWZ 03-31-2003 03:28 PM

looks like it worked, thanks!

onto my next question.. anyway to disable bbcode/html? :)

sHORTYWZ 04-01-2003 12:05 PM

another bug, same user:

PHP Code:

Invalid SQLSELECT id FROM chatbox WHERE date LIKE '[31/03|19:%' AND name 'Weir T'karr' AND comment = ':'
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 '
karr' AND comment = ':'' at line 1

mysql error number
1064 


p0s3id0n 04-01-2003 03:50 PM

aaaaaaaarrrggghhhh F*CK !!!

i knew i forgot something when i updated that script :(
i'm sorry, i'll have to udpate the script, to correct those
bugs with the ', just two or three addslashes, but that
must be done.
since i'm very busy, it could take a day or two, but i
wont forget :).

msimplay 04-01-2003 09:18 PM

Hello
was wondering
cuz i have this hack installed is there anyway to have it in the chatbox aswell
all of my members love it , buts what lets it down for us :rolleyes:

anyway i've attached this picture to show u what i mean

and this link to the hack that i'm using

http://www.vbulletin.org/hacks/index...ack&hackid=853

Entourage 04-09-2003 09:12 AM

works great!!! tnx mate!

Coyii 04-14-2003 02:52 PM

I have been trying to modify the chatbox so that it is in a popup instead of on the main page. I tried using the code on pg 4 but I just keep getting "error on page" I did modify the code from shoutbox.php to chatbox.php and removed the space between "java script" and changed 'shout' to 'chat', cant seem to figure out what I am doing wrong.

I looked through all 21 pages of this thread and cant seem to find updated instructions on how to do this.

Has anyone done this?
Can anyone Help?


All times are GMT. The time now is 05:58 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.01734 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete