Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Username Management - Control who can change Usernames plus history Details »
Username Management - Control who can change Usernames plus history
Mod Version: 1.04, by Marco van Herwaarden (Member) Marco van Herwaarden is offline
Developer Last Online: Dec 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.2 Rating: (10 votes - 4.60 average) Installs: 231
Released: 22 Nov 2005 Last Update: 23 Dec 2005 Downloads: 845
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

Username Management - Version 1.04

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

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Screenshots

Click image for larger version

Name:	mh_unm AdminCP History.JPG
Views:	1458
Size:	72.4 KB
ID:	38046   Click image for larger version

Name:	mh_unm Change Other Username 1.JPG
Views:	1254
Size:	19.7 KB
ID:	38047   Click image for larger version

Name:	mh_unm Change Other Username 2.JPG
Views:	914
Size:	19.1 KB
ID:	38048   Click image for larger version

Name:	mh_unm Change Own Username.JPG
Views:	1702
Size:	70.4 KB
ID:	38049  

Click image for larger version

Name:	mh_unm History in Postbit.JPG
Views:	1762
Size:	11.1 KB
ID:	38050   Click image for larger version

Name:	mh_unm Usergroup Permissions.JPG
Views:	1071
Size:	32.8 KB
ID:	38051  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Username Management Addon - Latest Username Changes on Forumhome Marco van Herwaarden vBulletin 3.5 Add-ons 19 22 Jun 2012 07:17
Username Management Addon - History in Profile Marco van Herwaarden vBulletin 3.5 Add-ons 55 10 Aug 2011 07:43

Comments
  #2  
Old 22 Nov 2005, 10:25
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
If you are running version 1.00 and have problems viewing your Private Message, please apply the following fix (thanks to mini2 for pointing it out and providing the fix):
Goto AdminCP->Plugin System->Plugin Manager.
Click on Edit behind plugin 'Add Username history to postbit(legacy)'
In the Hook Location dropdown, change 'postbit_display_complete' to 'postbit_factory' (2 lines higher) and Save. All should be fixed now.

Better is to upgrade to 1.01, all known problems have been fixed.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator

Last edited by Marco van Herwaarden; 22 Nov 2005 at 20:51.
Reply With Quote
  #3  
Old 22 Nov 2005, 10:34
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Real name: Andy
Awesome.. This will certainly be useful for my future plans (premium users).
Reply With Quote
  #4  
Old 22 Nov 2005, 10:34
plubius plubius is offline
 
Join Date: Dec 2004
this hack rawks. And I got the second post. Yay!

Edit. Dangit I was too slow! :nervous:
Reply With Quote
  #5  
Old 22 Nov 2005, 11:10
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Originally Posted by Oblivion Knight
Awesome.. This will certainly be useful for my future plans (premium users).
Then please click Install
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #6  
Old 22 Nov 2005, 11:49
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Awesome. I am definitely going to install this hack for all my premium users too! Thanks.

One thing, do you think you can make a mini addon for Previous usernames too? That would be useful so users may notice the user's previous names anytime, just like this forum. http://forums.adventchildren.net/member.php?u=1

Last edited by Snake; 22 Nov 2005 at 11:56.
Reply With Quote
  #7  
Old 22 Nov 2005, 12:04
Flow Fusion's Avatar
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Help...My postbit_legacy

This seems to work even if you don't edit the postbit legacy. But...
And I get this error also...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Flow Fusion; 22 Nov 2005 at 12:16.
Reply With Quote
  #8  
Old 22 Nov 2005, 12:47
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Originally Posted by Aftermath
One thing, do you think you can make a mini addon for Previous usernames too? That would be useful so users may notice the user's previous names anytime, just like this forum
You kinda alrady can do this (only the list of old names), but i forgot to add that to the documentation. Will see if i can add this to the documentation today.

PS That would basically just require you to create a new plugin with (almost) the same code as the Postbit plugin, and the same edits to the template.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #9  
Old 22 Nov 2005, 12:50
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Originally Posted by Flow Fusion
And I get this error also...
When do you get this error, and what vB version are you using? Did you rebuild the bitfields as instructed? Are all files uploaded (in ASCII) correct?


Originally Posted by Flow Fusion
Help...My postbit_legacy

This seems to work even if you don't edit the postbit legacy. But...
Please be clear, does it work or not for you?
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator

Last edited by Marco van Herwaarden; 22 Nov 2005 at 13:40.
Reply With Quote
  #10  
Old 22 Nov 2005, 13:36
MThornback's Avatar
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Originally Posted by MThornback
Your product script isn't installing the tables...nearly gave me a heart attack

it didn't do any of the database edits because you forgot to add $ to the db variable
For some reason, (and I had posted something else before (sorry...but I am still fairly sure that the $ was missing from the db variable )

It created the history table without the table prefix as well...thought you'd care to know....


But I installed it anyway and it seems to work fine now

Thanks
Reply With Quote
  #11  
Old 22 Nov 2005, 13:45
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Originally Posted by MThornback
It created the history table without the table prefix as well...thought you'd care to know....
Thanks for this, I somehow missed the table_prefix on that create statement. Fixed in my copy now, will update zip later today.

Originally Posted by MThornback
For some reason, (and I had posted something else before (sorry...but I am still fairly sure that the $ was missing from the db variable )
Could you please be more specific, i couldn't find a missing $ in the install code (or was it somewhere else?)

Originally Posted by MThornback
But I installed it anyway and it seems to work fine now
Then please click Install.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #12  
Old 22 Nov 2005, 13:54
MThornback's Avatar
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Originally Posted by MarcoH64
Thanks for this, I somehow missed the table_prefix on that create statement. Fixed in my copy now, will update zip later today.


Could you please be more specific, i couldn't find a missing $ in the install code (or was it somewhere else?)

Then please click Install.
I did forget to clickinstall didn't I...whoops

all your db variables that you need to write changes to the database were missing their "$" in front of it

ie I changed:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and thats the only way it wrote to my tables...
Reply With Quote
  #13  
Old 22 Nov 2005, 13:55
jugo jugo is offline
 
Join Date: Feb 2004
Thank you sir.
__________________
NovaWarfare.com - Bringing back the Game - http://www.NovaWarfare.com

Website Hosting - Game Server Hosting - http://www.freaks-network.com
Teamspeak Status Block for vBAdvanced / PHP-Nuke / php Include

PM me if you need hacks installed or simple template modifications...I'm cheap..
Reply With Quote
  #14  
Old 22 Nov 2005, 14:01
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Originally Posted by MThornback
all your db variables that you need to write changes to the database were missing their "$" in front of it
There should be no $ in front of 'db', there is already 1 in front of vbulletin ($vbulletin->db->....)
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #15  
Old 22 Nov 2005, 14:08
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Originally Posted by mini2
OK, I only use legacy, and I've installed this and it seems to work OK, BUT, private messages are screwed. So I'm guessing it's postbit(legacy) related.
Please disable the product, i will find what is causing this and uplaod an update.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:28.

Layout Options | Width: Wide Color: