PDA

View Full Version : Dynamically Generated Link In PHP Module?


mscottralston
01-11-2017, 02:48 PM
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!

--------------- Added 1484166953 at 1484166953 ---------------

Disregard, I figured it out! :)