The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am very sorry to be a pest about this, but I'm still not getting the digi-chat login to work, and am hoping someone can help me.
What I've done so far is to take mrogish's script from another thread (and I think this hack is not for 2.0)... Code:
require( "global.php" );
if( $bbuserid ) {
$user = $DB_site->query_first( "SELECT username
FROM users
WHERE userid = $bbuserid" );
$bbusername = $user[ username ];
print( "<APPLET align=middle code=\"digi.digichat.DigiChatApplet\" codeBase=\"http://www.yourdomain.com/path/to/digichat/\" width=\"600\" height=\"480\" align=\"middle\" ARCHIVE=\"client.jar\" nickname=\"$bbusername\">
<PARAM NAME=\"siteID\" VALUE=\"1000\">
<PARAM NAME=\"cabbase\" VALUE=\"Client.cab\">
<PARAM NAME=\"background\" VALUE=\"FFFFFF\">
<PARAM NAME=\"textcolor\" VALUE=\"000000\">
<PARAM NAME=\"url\" VALUE=\"http://www.yourdomain.com/member.php?action=getinfo&userid=$bbuserid\">
<PARAM NAME=\"openProfileURL\" VALUE=\"true\">
<PARAM NAME=\"room\" VALUE=\"$room\">
<PARAM NAME=\"embedded\" VALUE=\"true\">
FanHome Chat requires a Java Compatible web browser to run.
</APPLET>\n" );
} else {
print( "<font face=\"TREBUCHET MS,ARIAL,HELVETICA\">Sorry, you must be logged in to use Chat!</font><br>" );
} // end if
So based on your notes in another thread, I changed the two instances of $bbusername to $bbuserinfo, but I didn't change anything else. But it still doesn't recognize my login. I'm apparently leaving something out. Any suggestions? What I'm trying to accomlish is a login like the one on the hole.com site. (I've asked them if they would be willing to share the script, but haven't received a reply yet and need to have this going by the end of the week) thanks for any input
|
|
#2
|
|||
|
|||
|
I changed
Code:
$bbusername = $user[ username ]; Code:
$bbuserinfo = $user[ username ]; Code:
ARCHIVE=\"client.jar\" nickname=\"$bbusername\"> Code:
ARCHIVE=\"client.jar\" nickname=\"$bbuserinfo\"> I added this to the applet: Code:
PARAM NAME=\"nickname\" VALUE=\"$bbuserinfo[username]\"> I changed it to Code:
<PARAM NAME=\"nickname\" VALUE=\"$bbuserid[username]\"> It is at least recognizing a log in at this point, but it's not doing what it should. How can I get it to log me in as my actual username instead of just the first letter or the member number? Thanks! (determined to do this )
|
|
#3
|
|||
|
|||
|
*Bump*
I'm also looking for any information on how to use DigiChat with the VBulletin (v.2) software. Brookelyn? anyone? Cheers, Leigh |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|