PDA

View Full Version : Who's Online Box


imported_sammyman
06-12-2004, 07:14 AM
I want to use a who's online box from a different forum (that I own) on a different site. I tried importing the globals, but then all of the forums are the same as the first forum. Can I bring in users and transfer their info without doing it manually in mysql? Does this make sense? I want to make it so users don't have to register on both boards, even though they are different boards completely.

Tony G
06-12-2004, 11:00 AM
This would definently involve code modifying if possible, ask over at http://www.vbulletin.org.

imported_sammyman
06-12-2004, 04:18 PM
It can't be impossible. Look at photopost, they use users from a different board. This would be the same type of idea.

I have one idea: One the index.php of a vbulletin homepage there is the line..

require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');

Could I use the globals for a different board on part of the code (for the users), and the globals for above for the categories and forums etc. I have tride codes like:

chdir("../forum1/");
require("../forum1/global.php");
chdir("../forum2/");

But that gives me an error since I am calling globals twice. Any way to call two different global files or use parts of each global file in one forum?