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
I've replaced the urls with my own of course. The applet appears, but it doesn't recognize my login, even though i am logged into the forum.
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