Version: , by (Guest)
Developer Last Online: Jan 1970
Version: Unknown
Rating:
Released: 01-01-2001
Last Update: Never
Installs: 0
No support by the author.
I would like to include the $loggedinusers on a non VB page.
I assume that writing this data to a TXT file (and inserting it via SSI) everytime this data is modified would be a PAIN for the server as it may change several times per second when traffic is high... SO... what do you suggest?
Any of you guys could help?
I think that several peopel are trying to integrate vBulletin to sites as much as possible... I think that designwise it is the BEST board (onlineDJ.com looks great with the board, perfect integration) but it would be great to have an easy step by step help to show data to non VB pages, and to easily use the login of the board to other parts of the site.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I checked out your page, and you seem to still have a problem with errors showing up for users without a cookie. Check to make sure that the following part of the code from the textfile I posted is before any HTML in index.php.
Code:
<?php
// Changes to forum directory, runs "usersonline.php", and changes back
chdir ("forums/"); // Change "forums/" to reflect your vBulletin directory if it is different
require("usersonline.php");
chdir("../");
?>
Other than that, it looks like it fits in real nicely with the rest of the page
Hi, Can you specify what you did to global.php exactly?
I am using a different method which is causing some problems...would like to do it your way.. P.S. Phat Site!
Originally posted by JackG would like to do it your way.. P.S. Phat Site!
THANKS!
Well.. let me see... you only need to create a copy of index.php and call it sitefrontpage.php for example... then edit the last line to pull a new template instead of the "forumhome" template (echo line).
create your custom frontpage, you can start from the HTML code of the template "forumhome" to keep all the reg members count and all... and add your own design to it..
voila
not harder than this
Thanks for the comments again, feel free to join sometimes if you are into music (not just DJs, also composers and other performers are posting).
THanks allot manoOne for taking the time to explain. I think I capish. Will try it tomorrow.
FYI.. I am already display who's online on my home page thanks to Ben. What I was hoping to do is log a user in when they enter the main page.. I am asuming your method dies this?
About your site.. I sent my partner there..he is New York's #1 freestyle music DJ (on WKTU 103.5). Said he loves it.
Keep up the good work on your site, Mine is similar..except it is all about freestyle music.
The cool thing is that many artists and producers are regulars. Eveyone loves the brand new vBulletin I installed.