Quote:
Originally Posted by mlthmp
Hey guys.. I have a question.
I am trying to add a link to my member;s profile page (in the mini stats box) Directly under the "Show All Statistics" link.
This is the code im trying to use, however whenever I try and test it out it takes me to my itrader stats. -
<div class="alt2 smallfont block_row block_footer"><a href="itrader.php?$session[sessionurl]u=$post[userid]">iTrader Info</a></div>
Using that code the link shows fine in the mini stats box.. but when you click on it it opens http://www.smallball.org/itrader.php?u= (which shows me my info) What do I need to be using to have the link point to that person's (whose profile you are viewing) stats instead?
Sorry if this is a dumb question.. I am new to VB, my forums have been opened less than a week.
|
It's the
$post[userid].
$post is only for the postbit templates, which is why there's no ID number at the end of your URL when you click on it. The link simply takes you to the default
itrader.php page.
There is a product for adding an iTrader stats box to your profile pages available. You can find it by doing a Title Search for iTrader.