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!
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!