![]() |
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? |
Where are you trying to show this information?
|
In templates, use $bbuserinfo[userid].
|
great! that worked!
|
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? |
In MEMBERINFO, use $userinfo instead of $post
|
All times are GMT. The time now is 02:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|