I'm running a VB 4.0.6 forum for a World of Warcraft Guild and I'm trying to pull a feed from the Blizzard Armory using an iframe. I can get this to work in BBcode in a post, but I want it in the member profile.
I've followed the instructions here for creating extra tabs in the member profile:
https://vborg.vbsupport.ru/showthread.php?t=235860
But I'm not sure how to automagically call the username into my link:
$new_user_data = "<iframe src='http://eu.wowarmory.com/character-model-embed.xml?r=Argent+Dawn&cn=
username&rhtml=true' scrolling='no' height='588' width='321' frameborder='0'></iframe>";
Any help much appreciated! Pointing me at a tutorial is groovy, I don't seem to have had much luck searching, probably because I'm not sure the exact terms I should be searching for,
Many thanks!
--------------- Added [DATE]1284546726[/DATE] at [TIME]1284546726[/TIME] ---------------
Ah-ha!
Worked it out: {$vbulletin->userinfo['username']}
\o/
--------------- Added [DATE]1284559697[/DATE] at [TIME]1284559697[/TIME] ---------------
uh, ok, so it works, but of course it uses the username of the viewer - how do I get it to use the username of the member who's profile it's on?
I've tried memberinfo.username and post.username but no joy.