PDA

View Full Version : iframe an external page with $userinfo value?


Kaasie
05-28-2007, 03:49 PM
hello everyone,

I want to use a vB field as in $userinfo[fieldX] into an Iframe on a page.
this page is pointing to an other page which has a # value.

What i want is to change the value of the framed url into the value of the field per user

example... uhmmm
this is how i THOUGHT it would work


<iframe style="width: 100%; height:1000px"; border: 0px" id="catalog" frameborder="0" scrolling="yes"
src="/catalog/index.php?manufacturers_id=$userinfo[field70]"></iframe>


unfortunately i dont get the #value i want, am i forgetting something here?
Any help would be much appreciated

Dismounted
05-29-2007, 09:06 AM
$bbuserinfo instead of $userinfo.

Kaasie
05-31-2007, 05:22 AM
hmmz thank you for the reply and i tried it right away.... but didnt work.. so still somn missing? this frame is placed on an external page so its not a vB page but within the zoints profile so it just shows an empty frame :( cry

Dismounted
05-31-2007, 06:53 AM
Zoints Profile?

odonel
05-31-2007, 10:32 AM
you need to chrdir('/forumdir'); and require_once your global.php on top of that page

try index.php?manufacturers_id=$vbulletin->userinfo['field70']"></