View Full Version : Digichat Bridge to VB
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
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
18 Feb 2007, 13:17
hi,
http://www.vbulletin.org/forum/showthread.php?t=64367 for vBulletin 3.x but somebody could convert it for you that cannot be to hard
I asked him and others invloved in that hack. No responses
Delphiprogrammi
18 Feb 2007, 16:56
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
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
18 Feb 2007, 17:11
if the problem is only the $bbuserinfo variable you could try
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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'];
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.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.