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 |
#32
|
|||
|
|||
Thanks a lot
|
#33
|
||||
|
||||
Update: v4.0.002
-- Was released at Wolfshead Solutions on Sunday 20th June 2010 -- Updated: Plugin to also work on vBulletin 4.0.4 |
#34
|
|||
|
|||
thank you! working fine again within 4.0.4 :up:
|
#35
|
|||
|
|||
thanks
|
#36
|
|||
|
|||
TY.. but I still cant see the name on the POST. and when I went back to edit
Code:
if (!empty($post["field{$vbulletin->options['realname_profile_field']}"])) Code:
global $vbulletin; if (!empty($post["field{$vbulletin->options['realname_profile_field']}"])) There is no Code:
if (!empty($post["field{$vbulletin->options['realname_profile_field']}"])) |
#37
|
||||
|
||||
Add this ABOVE the code in the postbit_display_complete plugin:
Code:
global $vbulletin; |
#38
|
|||
|
|||
italian language
|
#39
|
|||
|
|||
@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:
<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> I add Code:
global $vbulletin; Code:
global $vbulletin;<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> |
#40
|
||||
|
||||
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?
Quote:
|
#41
|
|||
|
|||
Its working now..... I just had not added my name, so it didn't show. Thanks and sry for the bother.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|