PDA

View Full Version : Hite a page from who's online (online.php)??


TheHideoutGuy
11-30-2001, 11:16 PM
This is driving me batty... I'm currently writing a buddy list hack for vbPortal in the form on a column block that displays a users buddy list. I'm currently loading it into an IFRAME with a META Refresh tag set to refresh every 2 minutes. This will give more use to the vB buddy list for us vbPortal users.

My question is, I've written a special script to load the buddy list portion of the IFRAME but whenever it is called it creates an unknown location in the who's online display. I know how to add a location for that script, but what I really want is for it not to register at all since it is being called in the background.

Since I need access to vB variables I'm loading the global.php file which is attaching to the session and causing the location to be updated. The only way out of this that I can think of is to code everything by scratch... Fetch the cookie, look up the user, query the template set and then the templates from the DB, then the user and users buddy list, etc. That's a lot of coding and I'm hoping that there is an easier way...

Anyone care to take a stab at it?
Thanks!

TheHideoutGuy
12-01-2001, 01:32 AM
I decided to re-invent the wheel... The more that I though about it the better of an idea it sounded. By coding everything from code parsing to template retrevial I was able to process a buddy list refresh with only 5 queries, much better than including the global.php file.

Mutt
03-06-2002, 12:59 AM
I really need to figure out how to hide a page from sessions and the online page as well.

the sig image addon screws up the online page. I don't want to add the sig location to online, I want online to ignore it and list that persons last location. in other words, I need to require global.php but not write to sessions.

anyone know how to do this. I've looked thru vb scripts that are hidden from online and none of them require global.

Mutt
03-13-2002, 09:02 PM
I'm re-requesting a little help on this

HELP!