Announcement

Collapse
No announcement yet.

How to use this variable on AdminCP -> Settings -> Navigation Manager?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mark.B
    replied
    Originally posted by zylstra View Post
    I attempted to use {forum.forumid} but it appeared blank when I was on a particular forum. What must I do to get this to work? (I'm using 4.2.2)
    Hello, please can you start your own thread with full details of the problem....

    Leave a comment:


  • zylstra
    replied
    I attempted to use {forum.forumid} but it appeared blank when I was on a particular forum. What must I do to get this to work? (I'm using 4.2.2)

    Leave a comment:


  • Trevor Hannant
    replied
    It won't help as your code is for a vBAdvanced template rather than the vBulletin built in Navigation Manager

    Leave a comment:


  • JetLee
    replied
    I'm late to the party, but I've been fighting to get some links working in the "adv_portal_navtab_subpages" template and this thread helped me the most out of the dozens of pages I searched.

    I was trying to get this url:
    HTML Code:
    forumdisplay.php?{session.sessionurl}do=markread&markreadhash={userinfo.securitytoken}
    into the navbar, but I was having issues with the securitytoken part. I ended up with the following and it works beautifully:
    HTML Code:
    <a href="/forum/forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}">Mark Forums Read</a>
    By combining the "vb:raw" and "bbuserinfo" methods, it finally worked properly.

    Sorry for resurrecting this thread, but it's the one that ultimately led me to solving my issue so I just wanted to share. Maybe the next person is able to benefit from this.

    Leave a comment:


  • vivoperdio
    replied
    Sorry, I meant 4.2.0 PL2

    What should I use then?

    - - - Updated - - -

    Finally I made it worked with {userinfo.username}

    Thank you for your help, AusPhotography, Wayne Luke, Dustin L.

    Leave a comment:


  • AusPhotography
    replied
    4.2.1 has not been released yet!! It's alpha only.
    Use {userinfo.username} for 4.2.0 (and PL1 and PL2)

    Leave a comment:


  • vivoperdio
    replied
    Yeah but I used:
    Code:
    http://103.12.12.126:9090/?nick={bbuserinfo.username}&channels=ifradio
    And it's not working on vBulletin 4.2.1's Admin CP -> Settings -> Navigation Manager

    Leave a comment:


  • AusPhotography
    replied
    Be careful!

    4.2.0 the following work...
    • {userinfo.xxx} eg. {userinfo.securitytoken}
    • {options.xxx} eg. {options.bburl}
    • {session.xxx} eg. {session.sessionurl}
    • {ggggg} any global variable, i.e. something you have defined in your code
    • {ggggg.iiiii} any item in a global array


    In 4.2.1 it will be a bit different...
    See: http://tracker.vbulletin.com/browse/VBIV-15312
    • {bbuserinfo.xxx} eg. {bbuserinfo.securitytoken}
    • {vboptions.xxx} eg. {vboptions.bburl}
    • {session.xxx}eg. {session.sessionurl}
    • and {vb#xxxx.yyyy} for anything in $vbulletin eg. {vb#userinfo.userid}
    • {ggggg} any global variable
    • {ggggg.iiiii} any item in a global array


    Kym

    Leave a comment:


  • vivoperdio
    replied
    Originally posted by Dustin L. View Post
    Try this:

    Code:
    http://103.12.12.126:9090/?nick={bbuserinfo.username}&channels=ifradio&prompt=1


    Dustin
    Originally posted by Wayne Luke View Post
    No... That format isn't supported there. You need to use the shorthand code in the second post.
    I'm still getting the same issue, links still appear blank username.

    Leave a comment:


  • Wayne Luke
    replied
    Originally posted by vivoperdio View Post
    I ussually use that vb raw and working, I wonder why when using vb raw on navigation manager not working? Hook needed perhaps?
    No... That format isn't supported there. You need to use the shorthand code in the second post.

    Leave a comment:


  • vivoperdio
    replied
    I ussually use that vb raw and working, I wonder why when using vb raw on navigation manager not working? Hook needed perhaps?

    Leave a comment:


  • Dustin L.
    replied
    Originally posted by vivoperdio View Post
    I would like to use this as new tab variable on AdminCP -> Settings -> Navigation Manager

    Code:
    http://103.12.12.126:9090/?nick={vb:raw bbuserinfo.username}&channels=ifradio&prompt=1
    But it's not working..
    Try this:

    Code:
    http://103.12.12.126:9090/?nick={bbuserinfo.username}&channels=ifradio&prompt=1


    Dustin

    Leave a comment:


  • How to use this variable on AdminCP -> Settings -> Navigation Manager?

    I would like to use this as new tab variable on AdminCP -> Settings -> Navigation Manager

    Code:
    http://103.12.12.126:9090/?nick={vb:raw bbuserinfo.username}&channels=ifradio&prompt=1
    But it's not working..

Related Topics

Collapse

Working...
X