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

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

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

Name:	ACP - Results.jpg
Views:	2267
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.
  #406  
Old 15 Jan 2008, 01:36
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Non-standard style? You may have to insert the link manually.
Reply With Quote
  #407  
Old 15 Jan 2008, 01:52
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Did you upload the cpnav_unreq.xml file to the /includes/xml/ folder in your system?
__________________
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
  #408  
Old 15 Jan 2008, 01:52
birdie birdie is offline
 
Join Date: Aug 2007
Thanks. So I can check what would the url to it be?

ie
http://www.url.com/url-forum/admincp/(something here).php?do=(something here)
Reply With Quote
  #409  
Old 15 Jan 2008, 02:11
birdie birdie is offline
 
Join Date: Aug 2007
Originally Posted by King Kovifor View Post
Did you upload the cpnav_unreq.xml file to the /includes/xml/ folder in your system?
Yes. BUT now discovered that since installation I now get an error when try to search for user by username or email address:

Warning: Cannot modify header information - headers already sent by (output started at /home/forumname.com/public/www/forumname/admincp/global.php(212) : eval()'d code:10) in /includes/functions.php on line 2801

Assume this may be problem?
Reply With Quote
  #410  
Old 16 Jan 2008, 21:25
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by birdie View Post
Yes. BUT now discovered that since installation I now get an error when try to search for user by username or email address:

Warning: Cannot modify header information - headers already sent by (output started at /home/forumname.com/public/www/forumname/admincp/global.php(212) : eval()'d code:10) in /includes/functions.php on line 2801

Assume this may be problem?
If you disable the product does that error still occur?
__________________
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
  #411  
Old 17 Jan 2008, 00:51
birdie birdie is offline
 
Join Date: Aug 2007
Originally Posted by King Kovifor View Post
If you disable the product does that error still occur?
The search for user by name error goes away when diasble the product. its only serch by name that is affected (ie search by email address etc still works).
Reply With Quote
  #412  
Old 17 Jan 2008, 01:07
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by birdie View Post
The search for user by name error goes away when diasble the product. its only serch by name that is affected (ie search by email address etc still works).
What vBulletin version do you have?
__________________
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
  #413  
Old 17 Jan 2008, 01:24
birdie birdie is offline
 
Join Date: Aug 2007
3.6.8
Reply With Quote
  #414  
Old 20 Jan 2008, 01:23
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by birdie View Post
3.6.8
Sorry for the late reply. I do not know why this would be affecting it. But I will look into this very soon. If I don't get to it please please please remind me... I seem to be extremely forget ful.
__________________
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
  #415  
Old 21 Jan 2008, 16:54
amirlol amirlol is offline
 
Join Date: Oct 2005
Location: FUNEX.IR
Real name: amirlol
very nic code

thanks a lot
Reply With Quote
  #416  
Old 26 Jan 2008, 00:15
toddos toddos is offline
 
Join Date: Nov 2006
edit: did it myself..

Last edited by toddos; 26 Jan 2008 at 07:55.
Reply With Quote
  #417  
Old 26 Jan 2008, 07:00
jwaany's Avatar
jwaany jwaany is offline
 
Join Date: Jul 2003
Real name: Abdullah
nice work..
if u can add pages for the results in Admincp it will be great .
and ihave an other problem
if the username like [ james' ] it send an error in Admincp.
Reply With Quote
  #418  
Old 26 Jan 2008, 07:58
toddos toddos is offline
 
Join Date: Nov 2006
hi,

if i insert a new username and send it, it shows me this sql error:

Whats wrong ? Why doesnt it insert the userid ?


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

Reply With Quote
  #419  
Old 26 Jan 2008, 08:12
solidlink solidlink is offline
 
Join Date: Jul 2006
How do you click "Install Here" ? I dont really understand this part... i have already imported it using the product mgr.
Reply With Quote
  #420  
Old 26 Jan 2008, 08:28
toddos toddos is offline
 
Join Date: Nov 2006
solidlink do you mean me ?
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 02:49.

Layout Options | Width: Wide Color: