vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Digichat Bridge to VB (https://vborg.vbsupport.ru/showthread.php?t=139298)

Tom_S 02-13-2007 12:41 PM

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

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

PHP Code:

$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.


All times are GMT. The time now is 09:34 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.01021 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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