1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to get username in a page?

Discussion in 'XenForo Questions and Support' started by Ronny Chan, May 1, 2013.

  1. Ronny Chan

    Ronny Chan New Member

    I have an iframe pointing to an IRC webclient, I want the nick supplied to the iframe to be the username of the currently logged in user.

    I've tried
    <iframe seamless src="http://iris.stormbit.net/?nick={$user}&channels=mystia&prompt=1" width="100%" height="550px" scrolling="no"></iframe>
    But that doesn't seem to work. How would I do this?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Ronny Chan likes this.

Share This Page