MyBB Community Forums

Full Version: Poster's UID Function?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wish to put something in the postbit that will link to something like:
http://url.tld/uid.php?={mybb ["posteruid']} or something like that.

For example:

Post One (First Member)
<a href="http://url.tld/uid.php?=1">User Special Profile (Example)</a>

Post Two (86th Member)
<a href="http://url.tld/uid.php?=86">User Special Profile (Example)</a>

Post Three (101st Member)
<a href="http://url.tld/uid.php?=101">User Special Profile (Example)</a>

So, rather than the viewer's UID, it's the postbit owner/author's.
Any help?

BTW, I know the function is written incorrectly, as well as the URL.
So basically your trying to get a user's profile and show a link for it?
Are you talking about adding it to the postbit or classic_postbit templates?
Do you mean something like this??

<a href="member.php?action=profile&uid={$post['uid']}">Text</a>
Oh thanks!
And it wasn't the User Profile, just used it as an example.
Thanks!