![]() |
lost... sorry double post!
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> So the above works great in postbit 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? |
$post[userid] is a variable that only exists when you're dealing with posts in threads. Hense the "post" part of the variable name. Try using the $userinfo[userid] for the memberinfo template instead.
Your code should be: Code:
<br><div class="smallfont"><a class="smallfont" href="stockts.php?$session[sessionurl]u=$userinfo[userid]">Portfolio</a></div> |
that finally did the trick, thank you soo much!
|
$userinfo will use the info for the user that is visting the page, not for the profile visited.
|
Quote:
|
All times are GMT. The time now is 12:48 AM. |
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:
|