Announcement

Collapse
No announcement yet.

Making a global variable

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

  • Making a global variable

    Hi

    Is there any way to make $post[usertitle] a global variable that will work on all pages and not just member info and postbit?

  • #2
    What exactly are you trying to do?

    If you want the data from the user browsing the page, you can use $bbuserinfo[usertitle]
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      What I want to be able to do is everywhere the username is mentioned throughout the system the usertitle is shown right next to it as well.

      So for example you'd have... (this is the forumhome)
      Code:
      Making a global variable
      by vBulletin Team Colin F
      Today 2:30pm
      Where the italic is the usertitle and bold is the username.

      Comment


      • #4
        Most likely that won't work, as the usertitle isn't even fetched from the database in a lot of cases.
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X