The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Real Name In Profile And Postbit Details »» | |||||||||||||||||||||||||||||||||
Please click Mark as Installed if you are using this hack.
What Does This Hack Do?[hr]Silver[/hr] 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. This hack was created because of a request by Hannan here. Limitation with this hack[hr]Silver[/hr] 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 Compatibility[hr]Silver[/hr] 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 Requests[hr]Silver[/hr] IMPORTANT: This hack is no longer supported. Install/Uninstall Instructions[hr]Silver[/hr] 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. Translations[hr]Silver[/hr] I would like to thank the following people for their translations:
Version History[hr]Silver[/hr] 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 Thanks[hr]Silver[/hr] Thanks go out to Paul M who gave me permission to use some of his install code. Show Your Appreciation [hr]Silver[/hr] 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. Download Now
Screenshots
Show Your Support
|
Comments |
#22
|
|||
|
|||
Lovely little addition, thank you sweetie.
|
#23
|
||||
|
||||
Thank you for the compliment Alice
|
#24
|
|||
|
|||
My pleasure, I just looked at your profile picture, you're such a cutie.
(sorry mod's, spam session ends!) |
#25
|
||||
|
||||
i think this is just the beginning of more spams
anyway tnx 4 mod |
#26
|
||||
|
||||
Nice job, Mosh.
|
#27
|
||||
|
||||
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.
|
#28
|
|||
|
|||
Yes, it's not working for me in 4.0.4. For the creator of this mod: Any plans for an update?
|
#29
|
||||
|
||||
It's an easy fix. In the code for the postbit_display_complete hook, just add:
Code:
global $vbulletin; at the very top of the code. |
#30
|
|||
|
|||
Hey, can you explain to me exactly where? Cuase I am not 100% where to add the "global $vbulletin;" This is the code:
Code:
<title>Real Name In Profile and Postbit</title> <hookname>postbit_display_complete</hookname> <phpcode><![CDATA[if (!empty($post["field{$vbulletin->options['realname_profile_field']}"])) { $template_hook['postbit_userinfo_right_after_posts'] .= '<dt>' . $vbphrase['real_name'] . '</dt> <dd>' . $post["field{$vbulletin->options['realname_profile_field']}"] . '</dd>'; }]]></phpcode> Code:
<![CDATA[if (!empty($post["field{$vbulletin->options['realname_profile_field']}"])) |
#31
|
||||
|
||||
Replace:
Code:
if (!empty($post["field{$vbulletin->options['realname_profile_field']}"])) with: Code:
global $vbulletin; if (!empty($post["field{$vbulletin->options['realname_profile_field']}"])) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|