Dynamically Generated Link In PHP Module?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mscottralston
    Member
    • Jan 2014
    • 41
    • 4.2.X

    Dynamically Generated Link In PHP Module?

    Hi everyone,

    I'm building my first vBulletin 5 installation, and I'm excited by the Site Builder's ability to let me put modules at the top of certain pages.

    I would like one such module to generate (and link) a URL that is dynamically generated to include the logged in viewer's username (it will be on a forum that requires you to be logged in to view it, regardless) -- eg, http://blah.com/whatever?user=username. It seems like a PHP module is the way to make this happen (though I will have to insert an HTML block into that module, I guess by closing and reopening PHP brackets or else doing a whole lot of echos). Could I get some guidance on how to go a bout setting such a thing up?

    Thank you very much!
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24275
    • 6.0.X

    #2
    For help with custom php code, please ask on www.vbulletin.org, the dedicated customisation site.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • mscottralston
      Member
      • Jan 2014
      • 41
      • 4.2.X

      #3
      My apologies! Thank you for your help.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎