MyBBThemes Community

Full Version: UID in Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This will soon be an installable mod. For now, it's a template and file edit.

What this does is it adds your user ID in your post. I know this has been done numerous times, but the text on mine is user friendly lol.

Also, I like to be legit, as in I don't want ANY loose text in templates, meaning it's all language arrays or whatever you call them :P

Open inc/languages/english/global.lang.php and find:

Code:
$l['postbit_full_edit'] = "Full Edit";


Add Below:

Code:
$l['postbit_uid'] = "Member number ";


Now, in the ACP, go edit the templates of whatever skin you want, and then in Postbit Templates->postbit_author_user:

Code:
    {$lang->postbit_joined} {$post['userregdate']}<br />


Add Below:

Code:
{$lang->postbit_uid}<strong>{$post['uid']}</strong><br />


and you're done. Hope you like it :)

Nice. :) I got the user ID in the postbit here too. :)
thanks :)

I'm waiting for someone to help me in the Mods Section because I'm getting an error at the top of the plugins section of the ACP, and the plugin isn't there so I can't activate it to see if it works >.<

It's the UID in Post thing, like it changes the templates for you.
Yeah. It's supposed to change the templates on activation, right?

Well, I can't help you, I can't code. :P
No I got that part right, but there's a line that
i don't even know what it means lol and that's the line it's giving me an error about.

I built off of another file.
Reference URL's