vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   User Name / Password Variable? (https://vborg.vbsupport.ru/showthread.php?t=247702)

danieltm3 08-01-2010 04:01 AM

User Name / Password Variable?
 
Hello.

We are trying to integrate Parachat with VBulletin 4.0. The database has already been setup through the chat_auth.php file. I know it is working because when users login to the chat manually, they can enter their forum user name and password to enter the chat room.

What we are wanting is have an "Auto-Login" to the chat room with their user name and password.

Currently for the Applet Code I have this:

---------

<!-- Begin ParaChat Applet Code -->
<APPLET CODEBASE="http://host7.parachat.com/pchat/applet"
ARCHIVE=papplet.jar CODE=pclient.main.ChatClient.class HEIGHT=400 WIDTH=600>

<PARAM NAME="cabbase" VALUE="*****">
<PARAM NAME="Net.Site" VALUE="*****">
<PARAM NAME="Net.Room" VALUE="*****">

<param name="Ctrl.AutoLogin" value="true">
<param name="Net.User" value="$bbuserinfo[username]">
<param name="Net.UserPass" value="$bbuserinfo[password]">

Sorry, your browser is not Java enabled, please visit
<a href="http://www.parachat.com/faq/java.html">our java support pages</a>
</APPLET>
<!-- End ParaChat Applet Code -->

---------

However this results in an error. I've tried everything in place of the $bbuserinfo[], such as "username" "userid" "user" etc. all to no avail. Any clue on what I should be using?

Thanks in advance!


All times are GMT. The time now is 05:43 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.00893 seconds
  • Memory Usage 1,705KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete