View Full Version : Digichat Bridge to VB
Tom_S
02-13-2007, 12:41 PM
I need a way to have the variable $bbuserinfo[username] to pass to the applet for digichat. I only need for the user to be auto logged in as them. I don't allow guests, I don't need icons, avatars, smilies, who is in chat etc...I just need that to pass on to the applet and work.
I have searched up and down the internet and found only old scripts that have been abandoned that do not work and I have also tried contacting the authors of those scripts to no avail.
Can anyone help? I have tried and tried but the best I get is it logs the user in but with the username of the variable "$bbuserinfo[username]".
Thanks,
Tom
Tom_S
02-16-2007, 03:48 PM
Wow...I thought there were some real coders here for something that simple to help out. I honestly wish I knew how to figure it out but I have tried.
Delphiprogrammi
02-18-2007, 11:17 AM
hi,
https://vborg.vbsupport.ru/showthread.php?t=64367 for vBulletin 3.x but somebody could convert it for you that cannot be to hard
Tom_S
02-18-2007, 11:26 AM
I asked him and others invloved in that hack. No responses
Delphiprogrammi
02-18-2007, 02:56 PM
some of the code of that hack is in german ..... I don't understand nor speak german that's one of the reasons hacks that are distributed should be in english only sorry I can't convert something i do not understand fully
Tom_S
02-18-2007, 02:58 PM
I have two of the hacks that are in english. Actually, I didn't get one that was in German. The problem is that it isn't for 3.6.4 and I don't need all the extras in it.
Delphiprogrammi
02-18-2007, 03:11 PM
if the problem is only the $bbuserinfo variable you could try
$bbuserinfo = & $vbulletin->userinfo;
try it with that line oooh and you would also need to change the database calls $DB_Site => $db->query_read()
$bbuserinfo is $vbulletin->userinfo starting of 3.5.x and up your variable would be $vbulletin->userinfo['username'];
Tom_S
02-18-2007, 03:20 PM
Right now I am using a php file to call the template which calls a script.js
I tried all variations of that embedding the code in the template before settling with this. It does bring up the page but with the chat logon field. I have it setup that if the member does not login using their assigned name and is caught they will be banned. That is the best I can get to work so far.
I did a search for $DB_Site => $db->query_read() in the "Search in Phrases" in the ACP but nothing for that came up. I am not good enough with this to mess with something that important for fear of messing up the entire database. I appreciate your efforts though very much.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.