View Full Version : keep users logged in to vbulletin on non-vb page
diesel08
03-29-2005, 12:40 AM
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.
Death's beat me to it.
<?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 ;)
diesel08
04-09-2005, 02:25 AM
how exactly does the keeping users logged in work for vbulletin?
the reason im asking is..
i have a mysql table with the same user id's as vbulletin and there is a field 'active' = 1 (if users are logged in)
is it possible to add somewhere in the *users online* function of vbulletin some code to add online users where Active = '1' from USERS table?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.