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)
-   -   Embedded chat (https://vborg.vbsupport.ru/showthread.php?t=36651)

Smoothie 03-29-2002 08:04 AM

yea, you are 100% correct. i missed that 4. anyway, works like a charm. One of the best additions to our forums.

Smoothie 03-29-2002 08:05 AM

BTW, they upgraded me in a matter of minutes as well. $49 well spent.

datatec 03-29-2002 01:48 PM

Thanks for your hard work and sharing with all.

Okay, being totally dumb here lol

My server provides chat room options, Is this the same thing?

I mean, does this incorporate the chat room facilities on my server. rotohost.

Thanks in advance

jjj0923 03-29-2002 02:18 PM

I installed this hack and bought the upgraded chat room, but all of my users are getting "invalid login name" when attempting to access the chat room. I am passing the $username variable in the chatbit template...

ps: I've told people to delete their browser cache and that does not work either.

any ideas?

wot-Mike 03-29-2002 03:34 PM

jjj0923,

Did it work with the free version?

If so:
on raidersoft's admin page, on the General page, did you turn on "require validation", or what's that setting called?

Did you change the files in any way?

If no on everything, pm me your chatbit, and your General settings at raidersoft. An url and test account might help too :)

=================

Datatec,

What kind of chat rooms does your server provide? This hack should work with a lot of java based chats. All that's needed is to dump the code to call the chat into the chatbit template (with a few minor adjustments, I think). Do you have an example of such code?
Otherwise simply try it out. All that's really needed to get this thing going is the creation of three templates, and uploading the chat.php file. No modification of any vBulletin file or database setting is necessary. If it's never going to work (or you don't like it) undoing the install is easily done.

wot-Mike 03-29-2002 06:43 PM

jjj0923,

I meant: did you turn on the "Verify Handle" setting on your general page, not "require validation". Don't know where I got that from :)

jjj0923 03-29-2002 06:55 PM

thanks I figured that on out. yes, that was one of my problems. The other one was that I allow my forum members to use names up to 20 characters. The java chat client only allows 15 and will not let someone in with a $username greater than 15 characters long. I modifed chat.php to truncate $usernames longer than 15 and now they can get logged in automatically.

thanks!

- jeff

jjj0923 03-29-2002 07:41 PM

wot-mike...

would you please email me, I have some question for you.
webmaster@fastboats.info

thanks

- jeff

wot-Mike 03-29-2002 07:59 PM

Hmm, I never even thought about that. I have our forum set to usernames up to 15 characters. A reminiscent from an older one, where long usernames really messed up the layout. Guess more "stuff" out there has problems with 15+ characters in usernames...

Anyway, the accepted usernames for raidersoft chat are 2 to 15 characters, alfa-numerical only and no other characters but an underscore. The chat.php deals with that at least, but not the lenght.

So, what change did you make to deal with longer names? Time to put up version 1.4, I think, hehe.

jjj0923 03-29-2002 08:03 PM

I truncated them:

$username1=ereg_replace("[^A-Za-z0-9]", "_", $bbuserinfo['username']);

$myLength = strlen( $username1 );

if ($myLength > 15) {
$username = substr( $username1, 0, 15 );
} else {
$username = $username1;
}


All times are GMT. The time now is 04:08 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.01121 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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