![]() |
Real Name in Postbit
Tested and installed on vBulletin 2.3.0
Created for vBulletin v2.3.0, but should work in most versions of vBulletin. ALL CREDIT AND CODING FOR THIS MODIFICATION GO TO BOOFO. I AM JUST RELEASING THIS WITH HIS PERMISSION. The original request for this hack can be found here... https://vborg.vbsupport.ru/showthrea...threadid=53343 What it does is give a forum member the option to enter their real name into their profile options in the USER CP and have it show up in the postbit if the information was entered. If no name is entered none of the real name info will show up in the postbit. Files to edit: (1) functions.php Templates to edit: (1) postbit Install time: 1 minute. I know this is nothing major and most people probably already knew how to do this. Well, I didn't know and with Boofo's help I do now so I want to release this for those who want it and don't know how. :) Thanks Boofo. |
Similar to what we have here at vB.org :)
|
Mike, the one I was looking for. Got it rolling...
|
Nice - I have it installed on my forums:)
Satan |
its another hack that should have been there by default
|
Quote:
|
all you gotta do is make another profile field.. and include it in the postbit. Or is that what this does? lol i didnt download it.
|
Good idea
/me clicks install /me also installs it |
Quote:
If you just create a profile field and stick it in the postbit it will still show Real Name: whether a person has a name or not. This was makes it so if a person does not enter their name the Real Name: part won't show in the postbit. |
Quote:
|
I made it so i could have it as a template instead... therefor making it easier to edit if i ever needed to.
Hope you dont mind me adding this... *Note... you need to have installed the hack before adding this. ## in admin/functions.php Find: PHP Code:
PHP Code:
Now create the template called postbit_realname and add the following: PHP Code:
I just think the above makes it easier to edit if you ever needed to. Enjoy. |
I like this, but I also want it to show up in the members profile like here at vb.org. Is that a hack here?
|
Quote:
I'm curious, what would you ever need to edit with this? You only have "Name:" to deal with. ;) |
Quote:
If you do that, you are adding 1 extra query to showthread. To save this query, you need to cache that template. Make sure you edit "showthread.php", find: PHP Code:
And change it to: PHP Code:
|
Isn't that what I basically said in this?
Quote:
|
Quote:
|
Quote:
Thanks i didnt realize that... infact i editted my functions.php and took my things out of templates and cut back on 4 queries... Very nice. |
Quote:
|
Nice hack, thank god it's incredibly small. lol ^^;
|
i can't find this code in functions.php. how do i get this to work with 3.6.5?
|
All times are GMT. The time now is 05:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|