vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Username Management Addon - History in Profile (https://vborg.vbsupport.ru/showthread.php?t=101411)

Snake 11-17-2006 07:04 PM

Damn this is strange. I used to have this hack on my forums but when I re-installed it on my 3.6 board, it doesn't work anymore. Any idea? Could it be because it will never work on 3.6? It just doesn't show up the user's history in profile page.

Black Widow 02-12-2007 06:08 PM

thanks.
installed.

PimvanJ 02-19-2007 05:05 PM

Any ports for 3.6.4 in progress?

Snake 02-19-2007 07:26 PM

Not really but it should work fine a bit on v3.6.4. Of course, a couple of bugs that you shall see for yourself.

manofphat 09-15-2007 12:57 AM

Working in 3.6.7 PL1 for me.

Thanks! Installed!

Jubei 10-25-2007 07:28 PM

How does one edit this so it only displays the Previous Username, and The Date (Just the date, no time).

Thanks!

Marco van Herwaarden 10-26-2007 08:42 AM

This modification is using the standard 'logdateformat' setting in your vBulletin Options.

Ryloth 10-27-2007 12:10 PM

so does this work on 3.6.4?

fuldon 01-18-2009 12:11 PM

Please, upgrade this hack to 3.8.x vB.

bada_bing 08-06-2009 07:22 PM

can someone update this to work with vb 3.8.3 please

biome.pat 08-27-2009 05:53 PM

Got this working in 3.8.3:

After installing, create a new plugin:

Product: Username Management Addon - History in Profile
Hook location: member_profileblock_fetch_unwrapped
Title: Put username history in stats tabs
Plugin PHP:
PHP Code:

// Include the function library
require_once(DIR '/includes/functions_mh_unm.php');

// Retrieve the history, please note that if called multiple times, also info of other users might be returned
// New user request is added tointernal cache, and full cache is returned
$mh_unm_uph_hist mh_unm_fetch_username_history($userinfo['userid'], truetruetrue);

// Retrieve info about current member from the returned array
$user_hist $mh_unm_uph_hist[$userinfo['userid']];

// If we have found any history, process
if ($user_hist)
{
    
// Process each history row for this user
    
foreach ($user_hist AS $key=>$user_history)
    {
        eval(
'$mh_unm_uph_historybits .= "' fetch_template('mh_unm_uph_historybit') . '";');
    }
    
// Spit out the results
    
eval('$template_hook[profile_stats_pregeneral] .= "' fetch_template('mh_unm_uph_history') . '";');


Enable this and disable the plugin "Add Username History to Public Profile", since this replaces it. Username history will show up in the stats tab, and will still respect the "Can View Username Histroy" permission.

As far as I know, there's quite a bit of slowdown from the queries that make username history show up mouseover in a thread. If you want to just have it show up in the profile, just disable the plugin "Add Username history to postbit(legacy)" from the Username Management product.

Cheers!

bada_bing 08-31-2009 02:20 PM

Quote:

Originally Posted by biome.pat (Post 1875409)
Got this working in 3.8.3:

After installing, create a new plugin:

Product: Username Management Addon - History in Profile
Hook location: member_profileblock_fetch_unwrapped
Title: Put username history in stats tabs
Plugin PHP:
PHP Code:

// Include the function library
require_once(DIR '/includes/functions_mh_unm.php');

// Retrieve the history, please note that if called multiple times, also info of other users might be returned
// New user request is added tointernal cache, and full cache is returned
$mh_unm_uph_hist mh_unm_fetch_username_history($userinfo['userid'], truetruetrue);

// Retrieve info about current member from the returned array
$user_hist $mh_unm_uph_hist[$userinfo['userid']];

// If we have found any history, process
if ($user_hist)
{
    
// Process each history row for this user
    
foreach ($user_hist AS $key=>$user_history)
    {
        eval(
'$mh_unm_uph_historybits .= "' fetch_template('mh_unm_uph_historybit') . '";');
    }
    
// Spit out the results
    
eval('$template_hook[profile_stats_pregeneral] .= "' fetch_template('mh_unm_uph_history') . '";');


Enable this and disable the plugin "Add Username History to Public Profile", since this replaces it. Username history will show up in the stats tab, and will still respect the "Can View Username Histroy" permission.

As far as I know, there's quite a bit of slowdown from the queries that make username history show up mouseover in a thread. If you want to just have it show up in the profile, just disable the plugin "Add Username history to postbit(legacy)" from the Username Management product.

Cheers!



I have just tried this and nothing shows up in the stats tab....

MonkYZ 12-28-2009 09:40 PM

Is there any chance for this addon to be updated for 3.8.x ?

vithorius 09-27-2010 02:08 PM

Quote:

Originally Posted by MonkYZ (Post 1940912)
Is there any chance for this addon to be updated for 3.8.x ?

That would be TREMENDOUSLY GOOD NEWS! :up: :up:

KrisP 10-01-2010 04:54 PM

Quote:

Originally Posted by vithorius (Post 2103705)
That would be TREMENDOUSLY GOOD NEWS! :up: :up:

:up:

kiradotee 08-10-2011 06:43 AM

Will this work on 3.8.* ?


All times are GMT. The time now is 01:04 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.01181 seconds
  • Memory Usage 1,763KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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