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:	3362
Size:	12.9 KB
ID:	65476   Click image for larger version

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

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

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

Click image for larger version

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

Name:	Request A Name.jpg
Views:	3595
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.
  #46  
Old 14 Jun 2007, 19:10
bashy bashy is offline
 
Join Date: Nov 2005
what are these .ds files that it wants to overwrite on the server?
__________________
Bashy

Bashys Place ~ Bashys Hosting

Last edited by bashy; 14 Jun 2007 at 19:25.
Reply With Quote
  #47  
Old 14 Jun 2007, 21:41
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by bashy View Post
what are these .ds files that it wants to overwrite on the server?
The .ds files are files that my mac create. They are "datastore" Files. I'm not exactly sure why they are there. Don't need to worry about 'em.
__________________
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
  #48  
Old 14 Jun 2007, 22:47
t325 t325 is offline
 
Join Date: Sep 2005
Nice start to what we're looking for.

We limit username changes to once every 3 months for a total of 3 per year since some members would change their name every other day if we let them. We use user notes right now to keep track of who changed to what and when, but sometimes we forget to check the notes or forget to add them. It would be nice if you eventually expanded this to implement such limits.
Reply With Quote
  #49  
Old 14 Jun 2007, 22:52
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by t325 View Post
Nice start to what we're looking for.

We limit username changes to once every 3 months for a total of 3 per year since some members would change their name every other day if we let them. We use user notes right now to keep track of who changed to what and when, but sometimes we forget to check the notes or forget to add them. It would be nice if you eventually expanded this to implement such limits.
Thanks for the suggestion.... cron job for the 3 per year (to remove the checks)... Checking for the 3 months might be hard... But notes could do it... I'll figure something out!

Technically, your limits could be enforced since this doesn't change them right away - and administrator must approve them.
__________________
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
  #50  
Old 15 Jun 2007, 01:10
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Aug 2005
hmm it works fine in the ACP, but I don't see a username request link in the regular usercp anywhere...
Reply With Quote
  #51  
Old 15 Jun 2007, 01:30
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by FreshFroot View Post
hmm it works fine in the ACP, but I don't see a username request link in the regular usercp anywhere...
It should be under the last category. Under "Miscellaneous".
__________________
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
  #52  
Old 15 Jun 2007, 01:51
G0F0RBR0KE's Avatar
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Real name: James
What's the point if we don't have the "Approval" option?

I thought we'll get it?
__________________
http://vb-spanish.com is releasing soon (help will be appericated).
Reply With Quote
  #53  
Old 15 Jun 2007, 01:54
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by EvilAkuma View Post
What's the point if we don't have the "Approval" option?

I thought we'll get it?
There is an approval option... Unless I somehow totally screwed up the package, I'm not sure what happened. It should be in the ACP.

It should say:

CURRENT USERNAME | REQUESTED USERNAME | Approve - Reject

in the three columns.
__________________
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
  #54  
Old 15 Jun 2007, 03:01
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
I am getting an uncached template message in usercp.php:

Uncached templates: modifyusername_usercp (1)

Are all the templates cached?
Reply With Quote
  #55  
Old 15 Jun 2007, 03:36
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Aug 2005
Originally Posted by King Kovifor View Post
It should be under the last category. Under "Miscellaneous".
it's not there... which is why I posted.. you sure everything works fine with the new updated one? I uploaded, installed plugin the ACP seems to work, just not the usercp area.
Reply With Quote
  #56  
Old 15 Jun 2007, 04:06
G0F0RBR0KE's Avatar
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Real name: James
^Disable the modification and enable it again.

I'll upload the new file and see what I get this time.
__________________
http://vb-spanish.com is releasing soon (help will be appericated).
Reply With Quote
  #57  
Old 15 Jun 2007, 04:08
stwilson stwilson is offline
 
Join Date: Dec 2006
Real name: ST
Originally Posted by t325 View Post
Nice start to what we're looking for.

We limit username changes to once every 3 months for a total of 3 per year since some members would change their name every other day if we let them. We use user notes right now to keep track of who changed to what and when, but sometimes we forget to check the notes or forget to add them. It would be nice if you eventually expanded this to implement such limits.
Here's a suggestion that would accomplish this task....add the ability for this MOD to create a new thread in a designated forum, just like you can with the contact us page. That would allow you to keep an archive and would be a simple addition to the mod. You could have it post the thread as the user who is submitting the request, allowing a site owner to keep track. Naturally, as a site admin the forum ID would point to a forum that only administrators or moderators have access to.
__________________
ST
Reply With Quote
  #58  
Old 15 Jun 2007, 04:09
stwilson stwilson is offline
 
Join Date: Dec 2006
Real name: ST
BTW...mine is working fine. I was able to submit, receive PM and approve the change without any issue. Nice MOD.
__________________
ST
Reply With Quote
  #59  
Old 15 Jun 2007, 04:45
MThornback's Avatar
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
When you use Princetons usercp shell template mod it puts the link at the bottom of the page...but aside from that, it works great installed and just moved the link manually
Reply With Quote
  #60  
Old 15 Jun 2007, 17:45
Akiia Akiia is offline
 
Join Date: Nov 2006
Nice mod, Installed and this should stop those annoying pm's people send to us.
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 08:23.

Layout Options | Width: Wide Color: