vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   DigiChat Integration V2.0 (https://vborg.vbsupport.ru/showthread.php?t=64367)

Pseudomizer 12-18-2004 12:36 PM

Quote:

Originally Posted by mattster2002
Was about to get that working but decieded not to yet. Good thing i read this. Looking forward to seeing what you can do in a new template sort of thing (and possibly a CPMS module?)

Matt

This is depending on your version of DigiChat. If you use 5.0.1.6 and above then you will run into the chat_who problem, not before.

My update would just fix the chat_who output which does not work any more for the newer versions.

And sorry, no plans for CPMS yet.

Cheers,

mpadc 12-19-2004 12:26 PM

Amazing Hack Quite a Genuis!

thanks for that it works like a gem!

one thing though why are some users getting this error message:

Welcome Guest
You will be logged into the chat with a random user name.
Please be patient. The loading can take 1 or 2 minutes.

If you wish to use your own name then please register here,
and you will get access to all chat functions.

The digital signed applet is NOT a dialer.
It just verifys that this software is not freeware.

Your TEAM

is it something to do with the Version of Java?

Pseudomizer 12-19-2004 03:30 PM

Quote:

Originally Posted by mpadc
Amazing Hack Quite a Genuis!

thanks for that it works like a gem!

one thing though why are some users getting this error message:

Welcome Guest
You will be logged into the chat with a random user name.
Please be patient. The loading can take 1 or 2 minutes.

If you wish to use your own name then please register here,
and you will get access to all chat functions.

The digital signed applet is NOT a dialer.
It just verifys that this software is not freeware.

Your TEAM

is it something to do with the Version of Java?

Hello mpadc,

no, this has nothing to do with the java version. This is the guest login. Users who did not register does not have the $bbuserinfo[userid] set.

Due to this they will get the guest access which can be enabled or disabled in the chatconfig.php. Per default the guest user gets a name "guestXXX" where XXX is a random number. In the DigiChat usermanagement the guest account has no rights to change neither name, icon nor any other chat settings. This is all done through my integration in vbulletin. So you can define that only registered users can choose their icons, etc and guest users get a given random name with a standard icon. This is to motivate the users to register on your site to gain full access to all chat settings.

Hope this helps.

Cheers,

docvader 12-20-2004 02:38 PM

Pseudomizer, have you done any work towards integrating Hubz with the VB user base? I've been looking, and trying, but I can't seem to find anything that will allow my Hubz to draw vb names out, as you've so successfully done with Digichat.

Here's one attempt (relevant parts of java script code only):

Quote:

document.write("<APPLET CODEBASE=http://x.russbo.com/xx/xxxxx/hubz/");
document.write(" CODE=com.diginet.hubz.applet.Hubz.class ");
document.write(" WIDTH=100 ");
document.write(" HEIGHT=100 ");
document.write(" MAYSCRIPT ");
document.write(" ARCHIVE=HubzApplet.jar ");
document.write(" name=Hubz> ");
document.write(" <param name = cabbase value = HubzApplet.cab>");
document.write(" <param name = nickname value = '$fileusername'>");
document.write(" <param name = profileURL value = 'http://x.russbo.com/vb/member.php?&action=getinfo&userid=$fileuserid'>");
document.write(" <param name = editProfile value = no>");
document.write(" <param name = persistent value = yes>");
document.write(" <param name = autoStartup value = no>");
document.write(" <param name = webpageimg value = webpageStatsImg.gif>");
document.write(" <param name = webpageChannelLoc value = '65,24'>");
document.write(" <param name = webpageSiteLoc value = '65,40'>");
document.write(" <param name = chatroomURL value = 'http://x.russbo.com/digichat.html'>");
document.write(" <param name = passProfileChatroom value = true>");
document.write(" <param name = chatEmptyColor value ='218,218,218'>");
/*
This is based off of Pgowder's post, which can be found here: https://vborg.vbsupport.ru/showpost....60&postcount=8

Thanks!

rich

pgowder 12-20-2004 02:48 PM

Quote:

Originally Posted by docvader
Pseudomizer, have you done any work towards integrating Hubz with the VB user base? I've been looking, and trying, but I can't seem to find anything that will allow my Hubz to draw vb names out, as you've so successfully done with Digichat.

Here's one attempt (relevant parts of java script code only):



This is based off of Pgowder's post, which can be found here: https://vborg.vbsupport.ru/showpost....60&postcount=8

Thanks!
rich

It works great for me. Are you trying to use it and having problems?

pgowder 12-20-2004 02:49 PM

Put this line in your phpinclude_start:

PHP Code:

$fileusername "$bbuserinfo[username]";
$fileemail "$bbuserinfo[email]";
$fileuserid "$bbuserinfo[userid]"


docvader 12-24-2004 06:56 AM

Thanks. But I think I'm missing something. I'm still getting $fileusername in the hubz panel.

This is my relevant portion of phpinclude_start, as per your suggestion:

Quote:

// Example of how to include a seperate file:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
$fileusername = "$bbuserinfo[username]";
$fileemail = "$bbuserinfo[email]";
$fileuserid = "$bbuserinfo[userid]";
eval('$navbar2 = "' . fetch_template('navbar2') . '";');
if (defined('VBA_PORTAL')){
$postthumbnail = implode("", file("http://x.russbo.com/photopost/thumbincluder11.php"));
This is the relevant portion of my hubz.js, also as per your hack, adjusted to fit within my hubz java script:

Quote:

document.write("<APPLET CODEBASE=http://x.russbo.com/hubz/");
document.write(" CODE=com.diginet.hubz.applet.Hubz.class ");
document.write(" WIDTH=100 ");
document.write(" HEIGHT=100 ");
document.write(" MAYSCRIPT ");
document.write(" ARCHIVE=HubzApplet.jar ");
document.write(" name=Hubz> ");
document.write(" <param name = cabbase value = HubzApplet.cab>");
document.write(" <param name = nickname value = '$fileusername'>");
document.write(" <param name = email value = '$fileemail'>");
document.write(" <param name = pushContent value = yes>");
document.write(" <param name = editProfile value = no>");
document.write(" <param name = profileURL value = 'http://x.russbo.com/vb/member.php?&action=getinfo&userid=$fileuserid'>");
document.write(" <param name = persistent value = yes>");
document.write(" <param name = autoStartup value = no>");
document.write(" <param name = webpageimg value = webpageStatsImg.gif>");
document.write(" <param name = webpageChannelLoc value = '65,24'>");
document.write(" <param name = webpageSiteLoc value = '65,40'>");
document.write(" <param name = chatroomURL value = 'http://x.russbo.com/digichat.html'>");
document.write(" <param name = passProfileChatroom value = true>");
document.write(" <param name = chatEmptyColor value ='218,218,218'>");
/*
I'm assuming that I'm missing something pretty obvious (as usual).

Greatly appreciate the assistance. I've wanted to get this working for quite a long time now.

rich
http://x.russbo.com/vb/index.php

Pseudomizer 01-19-2005 04:23 PM

Hi @LL,

if any of you are experiencing problemes with the chat_who page then please post it here. If you are running DigiChat 5.0.1.7 or above you should get some errors.

Cheers,

mattster2002 01-20-2005 11:03 AM

Hey Pseudomizer,
once again, thank you for your continued work and support with this hack. we do appriciate it.
Now with the chat_who page, how is work going on a chat_who page for users of 5.0.1.7 or above, I have a few members on my site requesting this addition. I know your very busy this would help alot :)

Thanks alot !!
Matt

Pseudomizer 01-20-2005 11:08 AM

Quote:

Originally Posted by mattster2002
Hey Pseudomizer,
once again, thank you for your continued work and support with this hack. we do appriciate it.
Now with the chat_who page, how is work going on a chat_who page for users of 5.0.1.7 or above, I have a few members on my site requesting this addition. I know your very busy this would help alot :)

Thanks alot !!
Matt

Hello Mattster,

attached you will find the new chat_who.php file. But again this is only for DigiChat version 5.0.1.7 and above. It fixes the corrupted lines for users in chat and the room names.

P.S.: Go to line 157 and edit the buffer variable to point it to your txt output file from your commander. The second variable below is for your staff to make them colored on the chat who page. Just a gimmik. ;-)

Cheers,


All times are GMT. The time now is 01:13 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.01301 seconds
  • Memory Usage 1,763KB
  • 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)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (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