Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Username Management - Control who can change Usernames plus history Details »»
Username Management - Control who can change Usernames plus history
Version: 1.04, by Marco van Herwaarden Marco van Herwaarden is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 11-21-2005 Last Update: 12-22-2005 Installs: 231
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

<font size="4">Username Management - Version 1.04</font>

Hack: Username Management
Version: v1.04
Author: MarcoH64

Description
With this modification installed you can let your members change their own username, or let Staff members change the usernames of other members.

Also a history of previously used names for a member is kept.

Features
- Users can change their own username controlled by Usergroup Permissions. If needed a time limit between changes can be set.
- Staff can change the Username of other members. This is again controlled by Usergroup Permissions.
- Previously used Usernames of a member can be viewed in posts, by hoovering over their Username. This is also controlled by Usergroup settings
- Full searchable history of Username changes in AdminCP
- Fully Phrased
- Optimized for server performance
- Documented API for addon developers

Changelog
23-12-2005 v1.04
- Changed master="true" to false in cpnav file.
- Fixed bug where history was generated when running Update User Names from Update Counters

v1.03
- Changed the size of the 'mh_unm_changelimit' & 'mh_unm_changelimit' columns in the usergroup table
from TINYINT to SMALLINT to support values > 255

23-11-2005 v1.02 (maintenance release)
- Improved internal caching routines
- Added internal routine for retrieving the latest changed usernames
- Coders: Parameter value change for parameter '$overridelimit' in 'mh_unm_fetch_username_history'
This release is needed if you want to use some fo the new Addon's!!
Known issues: Coder documentation not complete, no examples are given, although the 2 released addon's can be used as examples.

22-11-2005 v1.01
- Fixed bug messing up Private Messages (thanks mini2)
- Fixed bug in install routine that would create a wrong tablename if using table prefixes
- Changed the internal caching routines
- Added more parameters to mh_unm_fetch_username_history for more flexibility for Addon coders
- Added extended information mode
- Created first version of the Coders documentation
Known issues: No example code for an Addon Plugin yet.

22-11-2005 v1.00
Initial release

Upgrades
Upload all files from 'upload' folder.
Install the new product file, choosing an overwrite install.

Notes
Copyright ©2005 MarcoH64
This Modification may not be redistributed in whole or significant part or changed without prior agreement of author.
Please don't forget to click Install.
If you like this work and would like to support the author, donations are always welcome at Paypal: Marcoh64 AT gmail.com

Show Your Support

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

Comments
  #232  
Old 07-25-2011, 11:29 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DanWest View Post
Anyone know if the current version works for 4.X?
Since this was made for 3.5.x, no, it will not work for 4.x.x
Reply With Quote
  #233  
Old 08-10-2011, 06:42 AM
kiradotee's Avatar
kiradotee kiradotee is offline
 
Join Date: Jul 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work on 3.8.* ?
Reply With Quote
  #234  
Old 09-12-2011, 07:05 PM
danyxxx danyxxx is offline
 
Join Date: Oct 2010
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lon View Post
Works for 3.8.8

Upload all files and perform template edits in install.txt file

Template changes:

In template 'MEMBERINFO', find:
PHP Code:
<if condition="can_moderate()">
        <
td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
    </if> 
Add under:
PHP Code:
<!-- HackUsername Management (MarcoH64) -->
    <if 
condition="$mh_unm_can_change_other_name">
        <
td class="vbmenu_control"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></td>
    </if>
    <!-- / 
HackUsername Management (MarcoH64) --> 
-----------------------------------------------------------------------------------------------------------

In template 'modifypassword' (Modify User Option Templates), find:

PHP Code:
<div>$vbphrase[confirm_new_email_address]:</div>
                        <
div><input type="text" class="bginput" name="emailconfirm" value="$bbuserinfo[email]size="50" maxlength="50" dir="ltr" /></div>
                    </
td>
                </
tr>
                </
table>
            </
fieldset
Add under:
PHP Code:
<!-- HackUsername Management (MarcoH64) -->
            <if 
condition="$bbuserinfo[mh_unm_can_change_username]">
                <
fieldset class="fieldset">
                    <
legend>$vbphrase[mh_unm_change_username] ($vbphrase[optional])</legend>
                    <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                    <
tr>
                        <
td>
                            <
div>$vbphrase[mh_unm_new_username]:</div>
                            <
div><input type="text" class="bginput" name="mh_unm_new_username" value="$bbuserinfo[mh_unm_new_username]size="50" maxlength="50" dir="ltr" /></div>
                        </
td>
                    </
tr>
                    <
tr>
                        <
td>
                            <
div>$vbphrase[mh_unm_confirm_new_username]:</div>
                            <
div><input type="text" class="bginput" name="mh_unm_confirm_new_username"  size="50" maxlength="50" dir="ltr" /></div>
                        </
td>
                    </
tr>
                    </
table>
                </
fieldset>
            </if>
            <!-- / 
HackUsername Management (MarcoH64) --> 
-----------------------------------------------------------------------------------------------------------

In template 'postbit', find:
PHP Code:
<class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a
REPLACE by:
PHP Code:
<class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]$post[mh_unm_username_history]>$post[musername]</a
-----------------------------------------------------------------------------------------------------------

In template 'postbit_legacy', find:
PHP Code:
<class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a
REPLACE by:
PHP Code:
<class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]$post[mh_unm_username_history]>$post[musername]</a
-----------------------------------------------------------------------------------------------------------

Currently testing and modifying for 4.x
I have a big problem, I can't find:

PHP Code:
<if condition="can_moderate()">
        <
td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
    </if> 
In MEMBERINFO .

------------

Wha I must do ?
Reply With Quote
  #235  
Old 01-24-2013, 02:01 PM
SoftWareRevue's Avatar
SoftWareRevue SoftWareRevue is offline
 
Join Date: Nov 2001
Location: Kalamazoo
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by danyxxx View Post
Wha I must do ?
Have you tried searching for?
Code:
<if condition="can_moderate()">
You may have another plugin that's wrapped in there somewhere.
Reply With Quote
  #236  
Old 05-20-2013, 03:10 PM
Tyran1 Tyran1 is offline
 
Join Date: Jan 2007
Location: Deutsches Reich
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SoftWareRevue View Post
Have you tried searching for?
Code:
<if condition="can_moderate()">
You may have another plugin that's wrapped in there somewhere.
Thijs:

<if condition="$show['edit_profile']">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>

add under:

<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<li class="thead"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></li>
</if>
<!-- / Hack: Username Management (MarcoH64) -->

Works with 3.8.7 !!
Reply With Quote
  #237  
Old 05-20-2013, 03:26 PM
Tyran1 Tyran1 is offline
 
Join Date: Jan 2007
Location: Deutsches Reich
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Old Username is not free !!!! Help!!
Reply With Quote
  #238  
Old 10-06-2013, 02:44 PM
edrecovery edrecovery is offline
 
Join Date: Apr 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would someone be willing to do the templet edits/changes for me? I'm not good at doing that, and I do not want to mess up my 3.8.7 board. PM me, and I'll give you a temp admin account.
Reply With Quote
  #239  
Old 01-03-2014, 01:02 AM
edrecovery edrecovery is offline
 
Join Date: Apr 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it installed, but there's no fields to change the username. it only gives me change user name and comform username change, but I'm not able to type in it.
Reply With Quote
  #240  
Old 01-03-2014, 01:06 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edrecovery View Post
I have it installed, but there's no fields to change the username. it only gives me change user name and comform username change, but I'm not able to type in it.
Your running, vB Version: 3.5.2?
Reply With Quote
  #241  
Old 04-04-2014, 09:10 PM
elteejay elteejay is offline
 
Join Date: Jun 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway to get this plugin today? I cant find it anywhere and its archived but Ive heard that it still works fine on 3.8.
Reply With Quote
Reply

Thread Tools

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 01:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08934 seconds
  • Memory Usage 2,361KB
  • 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
  • (2)bbcode_code
  • (9)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete