vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   keep users logged in to vbulletin on non-vb page (https://vborg.vbsupport.ru/showthread.php?t=78985)

diesel08 03-29-2005 12:40 AM

keep users logged in to vbulletin on non-vb page
 
Hi i have integrated an ASP chat script i made to use with vbulletin.

When the users are on this ASP page the arent using the vbulletin script at all so they arent showing on the 'whos online'

how can i make it so that somehow within my ASP script the user is kept online in the chat room.. Is there a value within the SQL table i can update.. or something else??

thanks

diesel08 04-04-2005 08:02 AM

bump

Deaths 04-04-2005 08:07 AM

I believe you can just require global.php, and they show up.

diesel08 04-07-2005 01:15 AM

it is an ASP script..

if i include global.php in the asp script would that be enough?

Deaths 04-07-2005 07:18 AM

<?php
require_once('./global.php');
?>

Should work.

Hiro 04-07-2005 08:37 AM

Death's beat me to it.

Code:

<?php
require_once('./global.php');
?>

Yeah, Should work ;)

Deaths 04-07-2005 09:16 AM

Hehe ;)

diesel08 04-07-2005 10:48 AM

just out of curiosity.. how much resources would that require use..
as in how many queries.../resources..

btw.. that code works when the extension is .php...


but that chatroom im using is .asp and that code doesnt work

surely there must be a way :(

Marco van Herwaarden 04-07-2005 11:05 AM

Sorry i don't know any asp, but i doubt you can incorporate a php script into a .asp program.

Deaths 04-07-2005 11:17 AM

I'd suggest using a PHP file, and using a iFrame to link to chat ;)


All times are GMT. The time now is 10:01 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.01322 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete