The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
pass on user info variable
Ok,
I have a stock system that I want to use on my forum, and each user has its own portfolio, I want to make it possible to see the other members their stocks by making the link to it, but I am not sure how to pass on this info for example to get to my stock would automatically www.url.com/stocks.php?ID=1 Now how do I make the link to get that users ID? |
#2
|
|||
|
|||
Where are you trying to show this information?
|
#3
|
||||
|
||||
In templates, use $bbuserinfo[userid].
|
#4
|
|||
|
|||
great! that worked!
|
#5
|
|||
|
|||
Ok,
I have a page with user information, stocks.php?u=3 In the postbit it works fine if i use this Code:
<br><div class="smallfont"><a class="smallfont" href="stockts.php?$session[sessionurl]u=$post[userid]">Portfolio</a></div> But, when I put the same in MEMBERSINFO it doesnt work, all I get is this stocks.php?u= Without the USER ID How can I fix this? --------------- Added [DATE]1238068942[/DATE] at [TIME]1238068942[/TIME] --------------- please... Anyone? |
#6
|
||||
|
||||
In MEMBERINFO, use $userinfo instead of $post
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|