2011-01-13, 01:42 AM
I'm trying to create a link to a user's achievement profile. (So in this instance, I'm using the My Achievements plugin.) This is in the postbit, and I need the ID of a user in the postbit—not the ID of the user who is logged in.
<a href="{$mybb->settings['bburl']}/myachievements.php?uid={$uid}">See Achievements</a>
This is what I have currently, but I know I've screwed up somewhere as it shows the URL as I'd expect, but without the user ID at the end. I'm not a programmer so I'm glad I've got this far, but can anyone help me finish it?
<a href="{$mybb->settings['bburl']}/myachievements.php?uid={$uid}">See Achievements</a>
This is what I have currently, but I know I've screwed up somewhere as it shows the URL as I'd expect, but without the user ID at the end. I'm not a programmer so I'm glad I've got this far, but can anyone help me finish it?