PDA

View Full Version : Real Name In Profile And Postbit


Mosh
27 Nov 2009, 00:03
http://www.wolfshead-solutions.com/external_images/hack-by-wolfshead-solutions.png (http://www.wolfshead-solutions.com)

Please click Mark as Installed if you are using this hack.


What Does This Hack Do?Silver
This is an update to my 3.8.x version of this hack, designed to work with vBulletin v4.0.x.

A very simple hack to display your real name in your profile and postbit (or postbit legacy), just like here at vBulletin.org.

If no real name is entered, then it will not display in the postbit (or postbit legacy).

DEMO: View it in action here (http://www.wolfshead-solutions.com/threads/63-Happy-New-Year-!!!).

This hack was created because of a request by Hannan here.


Limitation with this hackSilver
People keep asking for usergroup permissions for this hack.

While this would easy to implement, what people fail to realise is that User Profile Fields are not controlled by usergroup permissions at all, and even if usergroup permissions were added to this hack, the User Profile Fields would still be viewable by members even if they do not have permissions to use them.

User Profile Fields are either viewable by all or viewable by none, this is how they were implemented in vBulletin by design, there is no in between with User Profile Fields.

So, I will not be adding usergroup permissions to this hack.


vBulletin Version CompatibilitySilver
This hack can be used with vBulletin versions 4.0.0 - 4.2.0.

For the v3.8.x version of this hack, which will also work with v3.7.x and v3.6.x - check here.


Hack Support/Feature RequestsSilver
IMPORTANT: This hack is no longer supported.



Install/Uninstall InstructionsSilver
The Real Name In Profile And Postbit Installation Instructions 4.0.xxx.pdf instructions file is included in attached .zip (includes visual instructions).
NOTE: If upgrading then just do Step 2 and Step 3 again.


TranslationsSilver
I would like to thank the following people for their translations:

v4.0.001 Arabic translation by Silencer Groans (out of date)
v4.0.002 Italian translation by KURTZ (out of date)


Version HistorySilver
v4.0.3 - Saturday 11th December 2010
-- Fixed: "maxversion" so product can be installed on vBulletin 4.1.0 and above
-- Changed: version number formatting

v4.0.002 - Monday 28th June 2010
-- Was released at Wolfshead Solutions on Sunday 20th June 2010
-- Updated: Plugin to also work on vBulletin 4.0.4
-- Updated: 25/7/2010, removed global $vbulletin statement .... pretty embarrassed, thanks for Boofo for pointing it out (version number not updated)

v4.0.001 - Friday 27th November 2009
-- Initial v4.0.x Release


ThanksSilver
Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation Silver
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Zaiaku
27 Nov 2009, 01:01
Anyway you could do this without creating a profile field? I know its small potatoes but just trying to get around that. Perfect positioning on the profile tab!!!

Mosh
27 Nov 2009, 02:39
Anyway you could do this without creating a profile field? I know its small potatoes but just trying to get around that. Perfect positioning on the profile tab!!!
Nope, sorry :(

SİMAR
27 Nov 2009, 14:41
thanks man

ndahiya
28 Nov 2009, 13:16
1. Just a small issue... In the postbit, it is showing the title as "Real Name", instead of the title of the field as defined (I use "Full name" for example). on the member info page, it shows up correctly.

2. can we have an option to hide the full name from not logged in users?

3. also, wonder if it possible to show the Full name more prominently, esp in the member info page (say just below/instead of the username).

thx

ndahiya

Silencer Groans
29 Nov 2009, 00:58
Excellent .. Thank you

Annex in Arabic with your permission

PinkLiquorice
29 Nov 2009, 06:07
Thank you for upgrading :)

znop
30 Nov 2009, 19:04
thank you.

Dr.osamA
01 Dec 2009, 11:52
thank you.
________
The Cigar Boss (http://thecigarboss.com/)

Mosh
22 Dec 2009, 22:01
Tested and working fine with vBulletin 4.0.0 Gold.

I will no longer be supporting Alpha, Beta & Release Candidates of vBulletin 4.0.0.

Mosh
02 Jan 2010, 01:21
Hi all,

It is with regret that after over 4 years (and thousands of hours) spent providing free support for my free hacks released here, as of today I will no longer be able to provide support for free.

This is due to being unemployed for a while, being strapped for cash and unable to rely on the virtually non-existant donations from here to help to pay the bills or put food on the table for my family. I am now providing all support for my free hacks released here over at Wolfshead Solutions (http://www.wolfshead-solutions.com) via an annual support subscription (for a small fee).

It does not mean I will be no longer release free hacks, I will, I just no longer be supporting them for free.

My free hacks have and always will remain free to download and use. And so will updates/bug fixes.

I will be releasing more free hacks, but if you require any support at all for those free hacks, you will need to purchase an annual support subscription over at Wolfshead Solutions to receive support.

I am really sorry I have to do this, but revenue generated by my programming gigs are now my only source of income, and I can no longer afford the luxury of providing free support here, when that time can be spent creating new commerial products, doing paid work requests or providing paid support to pay the bills.

Thank you for the understanding.

Regards,

Mosh.

vap0r-7
21 Feb 2010, 18:14
Do you have an eta on an update for 4.0.2

Mosh
22 Feb 2010, 02:55
Do you have an eta on an update for 4.0.2
This hack already works with vBulletin 4.0.2, which is why it does not need to be updated.

COL NIL SATIS
24 Feb 2010, 17:21
Thanks for this !!!! installed

Markos
05 Mar 2010, 17:23
i want to rap a box around it anyone tell me what template i edit

http://img.photobucket.com/albums/v306/markos1977/UO0030.jpg

xili4n
06 Mar 2010, 16:39
Is there a way I can change location?
I'd like it just below "Member since".
(And adjusted left)

Markos
10 Mar 2010, 23:10
can no one tell me how to do this ???????????????

http://www.vbulletin.org/forum/showpost.php?p=1997875&postcount=15

Popa Andrei
12 Mar 2010, 17:22
can u make another plugin for Counter Strike Nick in postbit?

crazyace
15 Mar 2010, 22:16
If anyone wants to use this mod with v.net Style Postbit_legacy (http://www.vbulletin.org/forum/showthread.php?t=236953) I have a fix for it.

-=Leb=-
17 Mar 2010, 02:38
thx for the update

AliceHoward
28 Mar 2010, 04:24
Lovely little addition, thank you sweetie.

Mosh
28 Mar 2010, 05:05
Lovely little addition, thank you sweetie.
Thank you for the compliment Alice :)

AliceHoward
28 Mar 2010, 13:58
My pleasure, I just looked at your profile picture, you're such a cutie. ;)

(sorry mod's, spam session ends!)

YankForum
07 Apr 2010, 19:43
i think this is just the beginning of more spams :)
anyway tnx 4 mod :p

Boofo
14 May 2010, 08:52
Nice job, Mosh. ;)

Boofo
19 Jun 2010, 05:35
This may not work in 4.0.4 as, for some strange reason, the $vbulletin variable is not global in the postbit_display_complete hook now. At least is wasn't for me on one of my mods. Just a heads up.

compuminus
19 Jun 2010, 17:39
This may not work in 4.0.4 as, for some strange reason, the $vbulletin variable is not global in the postbit_display_complete hook now. At least is wasn't for me on one of my mods. Just a heads up.

Yes, it's not working for me in 4.0.4. For the creator of this mod: Any plans for an update?

Boofo
19 Jun 2010, 19:05
It's an easy fix. In the code for the postbit_display_complete hook, just add:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




at the very top of the code.

juan71287
22 Jun 2010, 16:47
Hey, can you explain to me exactly where? Cuase I am not 100% where to add the "global $vbulletin;" This is the code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Do I add it in FRONT of

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

or AFTER?

Boofo
22 Jun 2010, 17:05
Replace:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




with:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

juan71287
22 Jun 2010, 17:21
Thanks a lot :)

Mosh
28 Jun 2010, 01:51
Update: v4.0.002
-- Was released at Wolfshead Solutions on Sunday 20th June 2010
-- Updated: Plugin to also work on vBulletin 4.0.4

NickyNet
28 Jun 2010, 06:46
Update: v4.0.002
-- Was released at Wolfshead Solutions on Sunday 20th June 2010
-- Updated: Plugin to also work on vBulletin 4.0.4

thank you! working fine again within 4.0.4 :up:

KURTZ
28 Jun 2010, 09:28
Update: v4.0.002
-- Was released at Wolfshead Solutions on Sunday 20th June 2010
-- Updated: Plugin to also work on vBulletin 4.0.4

thanks :)

juan71287
24 Jul 2010, 17:43
TY.. but I still cant see the name on the POST. and when I went back to edit


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



and replace with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

[/QUOTE]

There is no


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


anymore. Any help on how to get it to show on teh POST again?

Boofo
24 Jul 2010, 17:58
Add this ABOVE the code in the postbit_display_complete plugin:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

KURTZ
24 Jul 2010, 18:05
italian language :)

juan71287
24 Jul 2010, 20:32
@BooFo, thanks for the help man. Your always trying to help me... but I dont know where to put that, This is the code I see:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




I add

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

ABOVE the first PLUGIN tag?



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Boofo
24 Jul 2010, 20:57
No, from what you have posted, the first piece of code that you said you see, already has that in it, even though it is not needed anymore. So the mod should work fine as is. Are you trying to use this in a custom skin by chance?

<plugins>
<plugin active="1" executionorder="5">
<title>Real Name In Profile and Postbit</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[global $vbulletin;
if (!empty($post["field{$this->registry->options['realname_profile_field']}"]))
{
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt>' . $vbphrase['real_name'] . '</dt> <dd>' . $post["field{$this->registry->options['realname_profile_field']}"] . '</dd>';
}]]></phpcode>
</plugin>
</plugins>

juan71287
24 Jul 2010, 22:20
Its working now..... I just had not added my name, so it didn't show. Thanks and sry for the bother.

Boofo
24 Jul 2010, 22:32
No problem, sir. ;)

Mosh
25 Jul 2010, 01:19
Add this ABOVE the code in the postbit_display_complete plugin:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That is not correct; if you have installed the latest version of this hack, you do not need the global $vbulletin statement added, as this hack now accesses the registry object directly and you do not need to globalise anything. It is just likely that the real name field was empty and once it was filled it displayed (that is how it was designed to work).

Mosh
25 Jul 2010, 01:25
italian language :)
Thanks :) added to the first post.

Boofo
25 Jul 2010, 04:33
That is not correct; if you have installed the latest version of this hack, you do not need the global $vbulletin statement added, as this hack now accesses the registry object directly and you do not need to globalise anything. It is just likely that the real name field was empty and once it was filled it displayed (that is how it was designed to work).

And, sir, if you will read the following post, I pointed out the same thing after I saw the code he was referring to. The old code did need that variable, but the new code doesn't, yet it is still there. ;)

http://www.vbulletin.org/forum/showpost.php?p=2074001&postcount=39

Mosh
25 Jul 2010, 04:46
And, sir, if you will read the following post, I pointed out the same thing after I saw the code he was referring to. The old code did need that variable, but the new code doesn't, yet it is still there. ;)

http://www.vbulletin.org/forum/showpost.php?p=2074001&postcount=39
Bugger me sideways, you are absolutely right and I do apologise..... I have removed that, and re-upload the zip.... boy, do I feel embarrassed :o

Boofo
25 Jul 2010, 05:31
No problem, sir. Been there, done that. ;)

GONUMBER6
26 Jul 2010, 16:11
For some reason, I do not have "edit your details" as a selection for a user profile field?

And it is not showing up in postbit.

Nevermind, it's working now :)

Dave-M
07 Aug 2010, 23:54
Hi,

Thanks for this.

I was wondering if it would be possible to create extra user fields and then add them all in the admincp settings separated by a comma or something?

The reason I ask is that I'd like to do something like this (http://www.ocztechnologyforum.com/forum/showthread.php?54939-Phenom-II-and-1066-Memory-Info.). Your mod is the closest thing I've seen and it almost works, but it really needs multiple fields to pull it off I think?

Can it be done, or do I need to look elsewhere?

Thanks very much in advance :)

The_Rayman
18 Aug 2010, 07:40
Cool, thanks! Works fine in VB4.02

miket1234
20 Aug 2010, 15:13
No problem, sir. ;)

you the best
thanks for helping us

working on 4.0.6 also

Alucard^
22 Aug 2010, 03:35
Nice, working perfect but i have a question... How can i change the order in the postbit?

caterkiller
29 Nov 2010, 11:43
Works good too in VB 4.0.8 PL2.
This hack is good but doesn't do exactly what I'm looking for.
I'd like to display the Real Name instead of the user login everytime, not the login and under a line with "Real Name".
Is it possible to do this quite simply ?

basilrath
29 Nov 2010, 11:58
Works good too in VB 4.0.8 PL2.
This hack is good but doesn't do exactly what I'm looking for.
I'd like to display the Real Name instead of the user login everytime, not the login and under a line with "Real Name".
Is it possible to do this quite simply ?

Have a think about what your asking ..........

If this was to work as you want it to function then it would rely upon the registered user using his or her "real name" for the login, which some people may not wish to do. The fact is you add your real name to the profile hence the showing of it? It needs to know what is the real name if you see what im saying of course.

caterkiller
30 Nov 2010, 05:59
Using our real name is the main rule of our league from the beginning there is 10 years ago, so people know this rule when they come in our league.

So yes, that's exactly what I'm looking for : displaying the Real Name instead of the Login

Mosh
11 Dec 2010, 06:29
Update: v4.0.3
-- Fixed: "maxversion" so product can be installed on vBulletin 4.1.0 and above
-- Changed: version number formatting

-=Leb=-
11 Dec 2010, 22:54
thx for the update :)

Mosh
08 Jan 2011, 02:09
Hi all,

Free support has now been moved back to vBulletin.org.

Please see the first post for more information (and also this thread (http://www.wolfshead-solutions.com/threads/444-Our-quot-vBulletin.org-Hacks-Support-quot-subscription-has-been-scrapped) at Wolfshead Solutions).

Enjoy :)

Regards,

Mosh Shigdar - Wolfshead Solutions.

Mosh
08 Jan 2011, 04:54
Using our real name is the main rule of our league from the beginning there is 10 years ago, so people know this rule when they come in our league.

So yes, that's exactly what I'm looking for : displaying the Real Name instead of the Login
That is probably not possible without major alterations to vBulletin (templates and core file edits).

caterkiller
14 Jan 2011, 10:24
Hi, we used your hack without any modification without any problem but since two days, the real name field isn't displayed anymore in the postbit.
We didn't do any modification on the forum.
Do you know how we could correct this problem ?

posh007
15 Jan 2011, 08:28
I have been looking forever for this. LOVE IT! EASY INSTALL THANK YOU!

Mosh
26 Jan 2011, 11:02
Hi, we used your hack without any modification without any problem but since two days, the real name field isn't displayed anymore in the postbit.
We didn't do any modification on the forum.
Do you know how we could correct this problem ?

Sorry for the late reply.

It would not just stop working, something has to have changed on your forum to cause it to stop working. Did you upgrade vBulletin and/or install a new style?

shoer76
24 Mar 2011, 13:17
Hey, Nice Mod. Quick question -

Will the real name be picked up in a frontend search? How about in admincp when searching for users?

Thanks!

Mosh
24 Mar 2011, 22:34
Hey, Nice Mod. Quick question -

Will the real name be picked up in a frontend search? How about in admincp when searching for users?

Thanks!

No, it just uses a custom user profile field. The search would have to be hacked to search for user profile fields.

leebo1010
26 Mar 2011, 12:13
Works GREAT. Thank you!

jbizzle
18 Apr 2011, 17:26
I'm trying to make the "Real Name" come right after the avatar under the postbit, how am I supposed to do that?

jbizzle
30 Apr 2011, 15:28
anyone?

Boofo
30 Apr 2011, 15:39
The only way to do it at that particular location is to manually edit the postbit template.

TombstoneWarrior
16 Feb 2012, 02:44
does this mod have copyright t the footer?

Mosh
16 Feb 2012, 07:18
does this mod have copyright t the footer?

No, it does not.

JohnSG
06 Mar 2012, 07:22
Hi,

New to vBulletin so sorry if this is a dumb problem.

Got it all installed and the fields are there to fill out, but once filled it does not display in the postbit.
Something stupid i hope.

Cheers
J

Mosh
06 Mar 2012, 07:30
Hi,

New to vBulletin so sorry if this is a dumb problem.

Got it all installed and the fields are there to fill out, but once filled it does not display in the postbit.
Something stupid i hope.

Cheers
J

Have you done Step 3 of the installation instructions correctly? Remember your fieldid for the user profile field you created in Step 1 may be different from the example given in the installation instructions.

Scyther
09 Mar 2012, 04:09
cool mod.
installed
5 stars.
MOTM nominated.

sweetpotato
12 Mar 2012, 08:16
How to put Real Name right after avatar on postbit?
Thanks,

JohnSG
12 Mar 2012, 08:52
Have you done Step 3 of the installation instructions correctly? Remember your fieldid for the user profile field you created in Step 1 may be different from the example given in the installation instructions.

Yes, I have it editable in the User CP area, and is visible when selecting a profile, but it does not display in the postbit. Is there a postbit tick box display option i am missing ? Thanks

dilbert
25 May 2012, 18:54
Is this 4.2 compatible?
Thanks

Bundschuh
19 Jun 2012, 15:37
This looks great. :) I was wondering myself why there is no real name support in vbulletin and now asking google, I came around on this mod.

But, does this Mod support the your new fields for real name in the registration process?

If not, is it possible to extend it by another plugin?
I will import multiple User automatically and also set their real names beside the user name.

Maybe you can give me a little advice, how to update the fields for the realname through API.

Many thanks and greetings Bundschuh.


Edit: Ok, I recognized that this plugin does not delivers the real name fields in the postbits of mobile API responses.

sandboa
23 Jul 2012, 21:28
Requesting 4.2 compatability

sandboa
25 Jul 2012, 18:07
Seems to be working on 4.2

megabink
26 Jul 2012, 07:41
Installed and working in 4.2.0 after small fix in the plugin.
Thanks buddy.

datoneer
06 Aug 2012, 21:47
Awesome mod. Thanks Mosh

Amaury25
29 Nov 2012, 03:50
How do you know what to put for the Profile Field ID?

Nirjonadda
29 Nov 2012, 17:09
How I can change location ? How to Show below Join Date ?

Mosh
08 Dec 2012, 07:56
How I can change location ? How to Show below Join Date ?

You can not with this hack, there are no template hooks just below the Join Date.

NOTE: The below is unsupported

But, you could always find this line in the postbit template:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


and move it below this line:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Mosh
08 Dec 2012, 07:59
How do you know what to put for the Profile Field ID?

In the AdminCP, check User Profile Fields -> User Profile Field Manager

Amaury25
09 Dec 2012, 19:50
In the AdminCP, check User Profile Fields -> User Profile Field Manager

I got it yesterday. I didn't realize we had to create a field for it.

I misunderstood the modification. You can create a Real Name profile field without this modification. This modification just makes it appear on the user info. area of the postbit.

fnrtop
10 Dec 2012, 01:21
very cool mod !! would be great if it would look like a secondary name (underneath the original name)

tagged for later and any updates

sandboa
17 Feb 2013, 15:46
Hi,

Thanks for this.

I was wondering if it would be possible to create extra user fields and then add them all in the admincp settings separated by a comma or something?

The reason I ask is that I'd like to do something like this (http://www.ocztechnologyforum.com/forum/showthread.php?54939-Phenom-II-and-1066-Memory-Info.). Your mod is the closest thing I've seen and it almost works, but it really needs multiple fields to pull it off I think?

Can it be done, or do I need to look elsewhere?

Thanks very much in advance :)

I am wondering the same thing. I am having a problem with people only inputting their first name. I would like to create a second required field for their last name and have both fields displayed next to "real name" in the postbit. Please advise.