vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB1 Hacks (https://vborg.vbsupport.ru/forumdisplay.php?f=6)
-   -   [Released] Jpilot VBB Intergrade Hack (https://vborg.vbsupport.ru/showthread.php?t=13165)

shaggster 04-06-2001 11:59 AM

hmmm i am not to sure on what you mean..
please ask again with some detail

Essam 04-06-2001 03:27 PM

If you login to the chat with a nick name that has non-english charecters, you get an error. (erronous nick)

Raptor 04-06-2001 07:24 PM

using vb2 b4.1 - got it to work fine BUT will not grab the username from the forum after logging in

changed $bbusername to $username - still no joy

what could it be ?

I have setup the room using a standard username for now - if someone could re-write this to work with VB2 b4.1 I would be very grateful

http://digital-forums.com/forum/chat.php3

shaggster 04-07-2001 02:14 AM

// You may want to edit some of the PARAMs of the Chat applet
if ($page == "client") {
if ($bbusername != "") {
$num = $bbusername ;
}
if ($bbusername == "") {
$filename = "chat_count.txt";
$contents = file($filename);
$length = strlen($contents);
$number = 0;
$count = 0;
$num = $guestnick.$length ;
$handle= fopen($filename,'a+');
$string = "+";
fputs($handle, $string);
fclose($handle);
}

i would check this line over i am not to sure on what vb2 uses for sesion id's maybe look through for the who;s online script and see what it uses for the id $string
not to sure maybe a vb2 guy would check into this

shaggster 04-07-2001 02:16 AM

Quote:

Originally posted by Essam
If you login to the chat with a nick name that has non-english charecters, you get an error. (erronous nick)
i beleave irc its self doesn't allow caracters like what your talking about

not a prob in the script but maybe in the irc server its self
i will check into this
but i am sure i am correct on that

Essam 04-07-2001 02:44 AM

Quote:

Originally posted by shaggster


i beleave irc its self doesn't allow caracters like what your talking about

not a prob in the script but maybe in the irc server its self
i will check into this
but i am sure i am correct on that


That what I thought before. But freddie did modify *something* that enabled non-english charecters, and I did try it.

shaggster 04-07-2001 02:58 AM

give me a example of a nickname that will be entered

shaggster 04-07-2001 03:00 AM

i am thinking it might be a font issue is why

Raptor 04-07-2001 10:37 AM

Quote:

Originally posted by shaggster
// You may want to edit some of the PARAMs of the Chat applet
if ($page == "client") {
if ($bbusername != "") {
$num = $bbusername ;
}
if ($bbusername == "") {
$filename = "chat_count.txt";
$contents = file($filename);
$length = strlen($contents);
$number = 0;
$count = 0;
$num = $guestnick.$length ;
$handle= fopen($filename,'a+');
$string = "+";
fputs($handle, $string);
fclose($handle);
}

i would check this line over i am not to sure on what vb2 uses for sesion id's maybe look through for the who;s online script and see what it uses for the id $string
not to sure maybe a vb2 guy would check into this

Yes i've looked into all this and the string is $username - but keeps saying no nickname entered

even if I set my own temp string for testing still does it - only lets me enter a name manually

this is a great intergration and someone should look at doing it for vb 2 :)

Raptor 04-07-2001 11:38 AM

i've done it !

the string is $bbuserinfo[username]

and i've also implemented a live room into the index.php under the PM section - check it out at http://digitalforums.com :D


All times are GMT. The time now is 03:50 PM.

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.01066 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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