vBulletin Hack Sorta?

07-28-2002, 11:06 PM
Well, I was wondering if this is possible. I have a main website then my vBulletin forum is linked to from the main site. I want to create a thing on the main site that says like "XX Users Browsing Forums" and XX is the number of users on. They have this at the bottom of the forums but I would like to add it to the main website also. Any idea on how to do this? :confused:

07-28-2002, 11:18 PM
Just use the same php code. The problem is having the same
database access and global variable setup. But it should be quite
easy to find the SQL that gets that number and duplicate it in any
php page that has the same database access.

07-29-2002, 12:32 AM
:eek: , can you repeat that in english? I dont even know where the php code would be for that. In templates or styles or what?

07-29-2002, 12:45 AM
Then you shouldn't be attempting this. The main page is index.php,
so the code will be in that file. It may use a template to display
in the forum, but you don't have to use a template, you can just
take the number and format it any way you want.

07-29-2002, 02:44 AM
Yea, thats what I figured =/ Oh well, I guess I can...take a 'gander' in the index page :D just see what I find of course...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum