Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Username Request Details »
Username Request
Mod Version: 1.0.9, by King Kovifor (Coder) King Kovifor is offline
Developer Last Online: Aug 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (45 votes - 4.62 average) Installs: 409
Released: 10 Jun 2007 Last Update: 26 Apr 2008 Downloads: 129223
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

Introduction
I was looking through the Modification Requests forum here and found a pretty good idea. The basic idea was to add a list of users who would like a name change for the administrators. I added the basics and released it. In consecutive versions I have added the abilities and features you have requested and this is the product. It is morphing into a more powerful, more useful system each and every version.

The Tools

User Tools
Inside the User Control Panel, there is an area that is added where a user is given the ability to submit a username that they would like their name changed to. They receive PM updates depending upon the "status" of their request, whether it is Accepted or Rejected.

Administrative Tools
As soon as a request is added to the database, the specified administrator is sent an e-mail saying that a user would like a username request. Inside the Administrators Control Panel, a new section is added under the "Users" navigation tab, that lists all the "Pending" requests with the ability to "Reject" or "Approve" the request. A user will be notified via PM when an action is taken. When a username is approved, the system will automatically change the username.

Username History
This tool will list all username changes that a user has requested. It will also display the status of the request, meaning that if you reject it, this will be displayed. This tool will be built upon in a later version.

Username History Changes:
In the next version, the status of a username change request has been revamped and no longer includes hard-coded "Accepted", "Rejected", and "Requested" status values. More information will be given at the release of v1.1.0!

Requirements
This hack has several requirements. They include:
  • vBulletin v3.6.6 or higher (This is the minimum version required for the next requirement)
  • The usercp_nav_bottom template hook.
To get around the second requirement, you can copy the cell manually or add $template_hook[usercp_navbar_bottom] at the end of the User Control Panel navigation.

Installation
Installing the product is easy. Just follow these steps:
  1. Upload Files into your Administrators Control Panel directory.
  2. Import the product through the Product Manager.
  3. Click Install Here
Known Bugs:
  1. No e-mail is sent out to users upon username change. Fix: The next version will include a fix that will respect all the users settings on receiving e-mail from administrators.
  2. The setting for PM sender was ignored within the code and uses the userid of the administrator who changed the username through the administration back-end. Fix: In the next version, revamped settings and improved back-end will now properly use a setting similar to this.
Big Thanks!
I would like to give a big thanks to Paul M for helping me with my stupid mistakes in v1.0.4 - v1.0.6! Now all of my mistakes should be taken care of (unless I made a mistake in the disallowed if statement). Thanks Paul!

I would also like to say thanks to Marco for pointing out a possible SQL Injection that was in v1.0.4 - v1.0.6 (It was inside the ACP, and used a wrong variable name / clean type).

And to Dannyloski for fixing my modification on his forum and providing the fix here. Much faster than I did it.

Final Remarks
I hope that you will enjoy this product as much as I enjoyed making it.

Download Now

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

Screenshots

Click image for larger version

Name:	ACP - Nav.png
Views:	3363
Size:	12.9 KB
ID:	65476   Click image for larger version

Name:	ACP - No Requests.jpg
Views:	3413
Size:	12.1 KB
ID:	65477   Click image for larger version

Name:	ACP - Requests.jpg
Views:	2510
Size:	11.9 KB
ID:	65478   Click image for larger version

Name:	ACP - Results.jpg
Views:	2266
Size:	8.2 KB
ID:	65479  

Click image for larger version

Name:	Current Name.jpg
Views:	3236
Size:	12.2 KB
ID:	65480   Click image for larger version

Name:	Request A Name.jpg
Views:	3596
Size:	12.4 KB
ID:	65481  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 11 Jun 2007, 13:00
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Real name: David
Is it possible to add a change button in the admincp to automatically change the username
Reply With Quote
  #17  
Old 11 Jun 2007, 13:35
Milad's Avatar
Milad Milad is offline
 
Join Date: May 2005
Real name: Milad
You can cancel the template edits for 3.6.6+, try to use the new template hooks
Reply With Quote
  #18  
Old 11 Jun 2007, 14:17
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Excellent idea! This should be a feature built into vBulletin.
__________________
Reply With Quote
  #19  
Old 11 Jun 2007, 15:09
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Indeed, integrate this with a points system or a Post Thankyou hack and it would be soo cool dude.
Something like: "You need X points or X thanks to be able to request a new username."
__________________

Reply With Quote
  #20  
Old 11 Jun 2007, 16:35
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Originally Posted by Mike-D View Post
Product Upload? Probably you mean the Product to Import 'product-kk_request_un.xml'. It's located inside the ZIP file!!!
Thanks m8 my bad. I had Explore set on filmstrip view and I didn't see the .xml file.

Nice mod, installed.

I agree with the one feature request of a PM or email notification for the admin when a member request a name change.
__________________
Alibass
Reply With Quote
  #21  
Old 11 Jun 2007, 18:48
txspaderz's Avatar
txspaderz txspaderz is offline
 
Join Date: Apr 2006
Real name: Jacob
I'm going to hold off as well as this is a great idea with an unbelieveable growth potential.
__________________
-JP
Reply With Quote
  #22  
Old 11 Jun 2007, 19:02
Seiyaboy Seiyaboy is offline
 
Join Date: May 2006
I like the idea alot. But since my site is a pretty big one, I'll take some time to backup mySQL. I'll let the other users test it first. Thanks again for this wonderful modification.
Reply With Quote
  #23  
Old 11 Jun 2007, 19:10
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
This is a great hack but I was wondering if it's possible to add an optional ACP feature where users are able to edit their usernames by themselves in the User CP, just like the others, y'know.
Reply With Quote
  #24  
Old 11 Jun 2007, 21:21
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
WOW. Let me just say that. A lot of installs in about 24 hours.

The features I plan to add (as some of you suggested) are:
  1. Minimum Post Amount (!)
  2. User PMs: One for Accepted and one for Rejected (!)
  3. Admin Notifications (!)
  4. Automatic Update of Username (ACP)
  5. Username Checking (!)
  6. Better error checking & handling
  7. Phrased
  8. Username Limits Checking (!)
  9. Points Integration (Name a few)

(!) denotes completed.

The reason I have the template edit is that I have 3.6.4 installed locally and haven't been able to update it.

I'm glad to see that you guys have helped each other, and really enjoy this mod. I would love feature requests!

Originally Posted by Mike-D View Post
Too bad that this hack won't work. But the idea is really good
What is not working properly? I would be glad to have a look at it.

Originally Posted by ndahiya View Post
If this hack could be extended for custom field change requests, it would be extremely helpful. In our forums, we have some custom fields that are normally not editable by members. now they end up writing to the mods to change the data....
Just change the text in all the places. That way you'll have "username requests" but for the field.

Originally Posted by hornstar1337 View Post
Okay awesome some questions or suggestions.

1. what happens if the username they request is already in use?
2. I only allow letters and numbers on my site for usernames, can I limit there requests to numbers and letters only? if not, can you please add this feature.
3. in admincp when i view username requests, does it have the option to accept it, or do i have to manually change it still.

Otherwise awesome work!
Number 2 I might have to work on but the other ones definitely.

Originally Posted by Snake View Post
This is a great hack but I was wondering if it's possible to add an optional ACP feature where users are able to edit their usernames by themselves in the User CP, just like the others, y'know.
Maybe another hack!
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration

Last edited by King Kovifor; 13 Jun 2007 at 02:15.
Reply With Quote
  #25  
Old 12 Jun 2007, 08:27
G0F0RBR0KE's Avatar
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Real name: James
Possible if you can make this for 3.5.x?
__________________
http://vb-spanish.com is releasing soon (help will be appericated).
Reply With Quote
  #26  
Old 12 Jun 2007, 08:48
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
looks forward to your list being completed, those are features i will need to wait for. thanks
Reply With Quote
  #27  
Old 12 Jun 2007, 09:38
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Nice mod!
__________________
I'm italian, I am learning english.. so, please, if you see any errors in my grammar or spelling, let me know via PM. Danke!
Reply With Quote
  #28  
Old 12 Jun 2007, 09:43
chatzworld chatzworld is offline
 
Join Date: May 2007
hay is their a way you can make the mod change the username by a click of a button? and it will auto send the pm to say its been done rather than having to view the request, go into the user's account and settings just a thought
Reply With Quote
  #29  
Old 12 Jun 2007, 11:20
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by EvilAkuma View Post
Possible if you can make this for 3.5.x?
I could try, but I don't see why this wouldn't work. I only have a 3.6.7 board installed.

Originally Posted by chatzworld View Post
hay is their a way you can make the mod change the username by a click of a button? and it will auto send the pm to say its been done rather than having to view the request, go into the user's account and settings just a thought
That's another mod that I'm going to build after this one.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #30  
Old 13 Jun 2007, 04:33
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Aug 2005
great stuff@ such a great hack!
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 00:40.

Layout Options | Width: Wide Color: