The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
I am attempting to get $activeusers to work within a Javascript popup. If I can get this to work, I will later add some other items but I am needing some help.
The calls are this. ------------------------------------------------------------------- In the header: <script language='javascript'> <!-- function SC_openWin() { var membersonline=window.open('/community/membersonline. php','MembersOnline','width=600,height=300,top=200 ,left=200,menu=no,toolbar=no,d irectories=no,status=no, scrollbars=no,,dependent=no'); } // --> </script> --------------------------------------------------------------------- and <a href="javascript:SC_openWin()"> in the body. When you click on whatever you set the link for in the body it opens membersonline.php which I wrote to look like this.... <? require( "global.php" ); eval("dooutput(\"".gettemplate('membersonline')."\ ");"); ?> I then have a template (membersonline) with the $activeusers in it. I am trying to have the Current Members Online in a popup instead of displayed on the forumhome page. I am successfull at getting a link to pull open the membersonline template in the db but the $activeusers don't show up. I included my membersonline template to the list of templates in the index.php. I thought that might help but....Ugh. Nope. Anyhow, I'm sure there would be a few things I'm missing. Any Ideas as to what I could do to get this to work is appreciated. Thanks. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|