Log in

View Full Version : How do I insert a function URL in a template?


JulienT
05-29-2008, 05:22 PM
Hi,
I need to retrieve some members' data from my other website to be displayed in the members' profile.
To access these data (a text), I have created on my other server an URL that returns this info.
I tried to insert this URL in the profile template, like $vboptions[homeurl]/vbRetrieve.php?iUsername=$post[username]
If I check the profile page, it displays the URL (which is correct) instead of showing the result of that URL call (the text).
Am I missing something or it's not possible to get call return within a template?
Thanks,
Julien

Dismounted
05-30-2008, 07:06 AM
Maybe you are looking for the iframe tag?

JulienT
06-03-2008, 04:07 PM
I actually solved it by using the <script> tag.
But it seems to slow down significantly my forum, so I'll probably drop this idea.
Thanks though.