vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   End-User Options - Real Name In Profile And Postbit (https://vborg.vbsupport.ru/showthread.php?t=228961)

justasiam 05-13-2016 02:37 PM

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.

MarkFL 05-13-2016 02:47 PM

Quote:

Originally Posted by justasiam (Post 2570687)
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. :)

justasiam 05-13-2016 02:48 PM

It is done

MarkFL 05-13-2016 03:32 PM

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. :)

justasiam 05-13-2016 03:34 PM

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

MarkFL 05-13-2016 03:43 PM

Quote:

Originally Posted by justasiam (Post 2570697)
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. :)

justasiam 05-13-2016 04:15 PM

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.


All times are GMT. The time now is 05:58 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.01222 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete