MyBB Community Forums

Full Version: [UPDATED]-UID (User ID ) in Profile - For 1.6 & 1.4 both
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Author: Pratik Unadkat (crazy4cs)
Author site: http://www.mybb-world.com
License: Attached inside zip.

Description: Allows you to display user id of each user in their profiles, useful when using Google SEO to show user's uid.

UPDATE - v1.1 - This plugin now runs NO QUERY but just template edits. So you can use it without worrying about adding extra query to your forum.

Previews:

[attachment=24325]

Installation instructions:

1. Unzip the archive.
2. Upload uidpf.php inside the inc/plugins/ folder which we just extracted now to (root)./inc/plugins directory of your website's server.
3. Go to ACP > Plugins and find User id in profile setting and activate it.
5. Done, enjoy.

License:

Anyone who have downloaded this, the below but not limited to rules applies to them:

1. Not distributed under GNU/GPL.
2. You may modify the codes or plugin for your personal use but cannot claim it to be own or remodify and sell or reproduce under any cirumstances.
3. Free to edit for personal use but not distributing to plugin by modifying any codes.

I can be reached via my website http://www.mybb-world.com/ or MyBB Community Forums.

Download:

Download from below until mods site approves the new version:
[attachment=26756]
-------------------------------------

http://mods.mybb.com/view/uid-in-profile

Enjoy.
Updated with Mods site download link, enjoy.
Ah perfect. I will be changing the text, but it's great!
Thank you Aris. If possible, just hook up your site on which you'll install, so I can add a demo link if its okay with you.
I'm sorry but I don't really see much point in this, please explain. Isn't the UID mostly available up in the URL?
Not trying to trash the thread.
(2011-10-09, 11:12 AM)HybridForum Wrote: [ -> ]I'm sorry but I don't really see much point in this, please explain. Isn't the UID mostly available up in the URL?
Not trying to trash the thread.
Yes, no problem. Indeed it is, but if you've read description nicely, it says:

Quote:Description: Allows you to display user id of each user in their profiles, useful when using Google SEO to show user's uid.

And we are acquainted and familier with MyBB system of showing it in URL, but the forum users may not be knowing or often fail to see them, so its an easy mod to show this, especially for Google SEO URL plugin in which profile url is replaced by a user's username instead of userid, like /user-crazy4cs and so on.

simple but util =P
Thanks. :)
fyi you can simply add your html code from your function to the actual template. Zero need for the plugin itself.

Edit the template "member_profile" then after {$userstars}<br /> add this:

<strong>UID:</strong>{$memprofile['uid']}

Maybe you should read this: http://community.mybb.com/thread-105455.html

And as for SEO purposes...this will serve no function.
Quote:And as for SEO purposes...this will serve no function.
I didn't said it serves purpose for SEO? I told,;

Quote:We are acquainted and familier with MyBB system of showing it in URL, but the forum users may not be knowing or often fail to see them, so its an easy mod to show this, especially for Google SEO URL plugin in which profile url is replaced by a user's username instead of userid, like /user-crazy4cs and so on.

I mentioned Google SEO plugin which has option to replace user's profile url with username's link instead of uid.
Pages: 1 2