Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Real Name In Profile And Postbit Details »»
Real Name In Profile And Postbit
Version: 4.0.3, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 4.x.x Rating:
Released: 11-26-2009 Last Update: 12-10-2010 Installs: 196
Uses Plugins
Re-useable Code Translations  
No support by the author.

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

File Type: zip ms_real_name_40.zip (234.3 KB, 722 views)

Screenshots

File Type: png screenshot1.png (12.0 KB, 0 views)
File Type: png screenshot2.png (25.1 KB, 0 views)
File Type: png screenshot3.png (25.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 05-13-2016, 02:37 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My site is not officially up. So, feel free to go to http://www.hidingplace.com/forums/ and sign up for a new account. I will be notified when that happens, and then I will move you to the Administrator usergroup.

Thank you.
Reply With Quote
  #103  
Old 05-13-2016, 02:47 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by justasiam View Post
My site is not officially up. So, feel free to go to http://www.hidingplace.com/forums/ and sign up for a new account. I will be notified when that happens, and then I will move you to the Administrator usergroup.

Thank you.
Okay, I registered and activated my account. Once I have admin access, I will begin investigating. You may see "weird" things going on from time to time as I run my investigations.
Reply With Quote
  #104  
Old 05-13-2016, 02:48 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is done
Reply With Quote
  #105  
Old 05-13-2016, 03:32 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I got it to work:

PHP Code:
if (in_array(THIS_SCRIPT, array('showthread''vbcms')))
{
    if (
$memberinfo['field6'])
    {
        
$new_name $memberinfo['field6'];
    }
    else
    {
        global 
$post;

        if (!
$post)
        {
        
$post fetch_userinfo($memberinfo['userid']);
        }

        
$new_name $post['field6'];
    }

    if (
$new_name)
    {
        
$memberinfo['musername'] = str_replace($memberinfo['username'], $new_name$memberinfo['musername']);
        
$memberinfo['username'] = $new_name;
    }

Please let me know if this takes care of what you wanted to do since you are more familiar with the system.
Reply With Quote
  #106  
Old 05-13-2016, 03:34 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet!! Thank you!! Now I can invite other people to the site to write articles and have their Real Name display on it. Nice!!!

Are you done on my site? Can I lower your access? I might need you again, who knows? Lol
Reply With Quote
Благодарность от:
MarkFL
  #107  
Old 05-13-2016, 03:43 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by justasiam View Post
Sweet!! Thank you!! Now I can invite other people to the site to write articles and have their Real Name display on it. Nice!!!

Are you done on my site? Can I lower your access? I might need you again, who knows? Lol
I added two scripts to the array of script in which the plugin is active so the "Real Name" shows up on the memberaction dropdown there too.

Yes, as long as you are happy, I am done and you can reassign my account to another usergroup (best for security), and then if you need me again, you can put me back as an admin at that time.
Reply With Quote
  #108  
Old 05-13-2016, 04:15 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, I marked this as installed and voted for it as well.

Your demo link does not work. If you want, you can use my site as the demo link.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04782 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (4)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete