Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Username Request Details »»
Username Request
Version: 1.0.9, by King Kovifor King Kovifor is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 06-09-2007 Last Update: 04-25-2008 Installs: 411
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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.

Show Your Support

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

Comments
  #282  
Old 09-11-2007, 09:32 AM
FireFish's Avatar
FireFish FireFish is offline
 
Join Date: Jan 2006
Location: Yipppikayeh, Mofoh!!!
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BigDog56 View Post
Installed the mod, no problems. Now I'll have to wait for someone to request a change before I know it's working without a hitch. Nice mod. Thank you very much for the time you spent creating it! :up:
If you want to learn how it works, you can simply make a test user on your forum (which isn't a bad idea anyways to test user permissions in general) & request a change from that account.

---> I only have one more issue with this module now: User requests a name change, admin approves; it Private Messages the user; WHAT IT the user turned off e-mailed notification upon new Private Messages? They'll have difficulties logging in next time unless they're smart enough to try their new username?!?! (this happened to me).

---> Plus, it would be nice to see a feature added which would allow an immediate change of the username if the admin allows; in cases where an admin won't have a reason not to approve a username change. In this case, history should still be kept.
Reply With Quote
  #283  
Old 09-11-2007, 09:39 AM
BBF BBF is offline
 
Join Date: Dec 2006
Location: Israel, Netanya.
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much!
it's work excellent!

i'm recommended for Modification of the Month
Reply With Quote
  #284  
Old 09-11-2007, 09:41 AM
jellybaby jellybaby is offline
 
Join Date: Jul 2005
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aha I dont know what happened but I did it again and it works now!!

Thanks so much for this.
Reply With Quote
  #285  
Old 09-12-2007, 01:29 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the update!
Reply With Quote
  #286  
Old 09-12-2007, 05:27 AM
BellyBelly's Avatar
BellyBelly BellyBelly is offline
 
Join Date: Jun 2006
Location: Melbourne, Australia
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a problem with this, it's showing in the default template but not my custom one. I have put on a couple of mods in the last week so maybe something is conflicting... but is there a reason you can think of that this would be happening?
Reply With Quote
  #287  
Old 09-12-2007, 09:35 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi mate, some feedback on the newest version 1.0.7:

You might want to re-visit the phrases. I have had to modify a few for errors or small problems.

Example, a small spelling mistake I noticed:

Phrase: unreq_uniu_txt
Code:
The username that you have specied appears to be the username that you are currently using.
A small tense issue:

Phrase: unreq_adminpm_txt
Code:
{1} has requested that his username be changed to {2}. You may approve or disapprove this in the ACP.
The one above maybe should include "she" also

Character Issue:

Phrase: unreq_minpost_txt
Code:
The administrator has specified that you have atleast {1} posts. You currently have {2} {3}. Please try again when you post {4} more {5}.
Anyway dont mean to be picky, just something that maybe you should be aware of if you arent already.

Thanks for the great update all working fine

EDIT: A suggestion also:

Under Options in the Admin CP for this mod, it says "enter the notification ID for the admin to be PMed". Maybe add that so you can have several. For larger boards including mine, there is usually more than one admin and it would be great if we could add a few ID's there example:

Code:
1,44,61,45
I tryed doing that to no avail. It only seems to work with one admin
Reply With Quote
  #288  
Old 09-12-2007, 11:31 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot View Post
just a nice feature would be if anytime a username is changed, it saves the old username in their user notes, each time they have their names changed.
That is what the User History feature is for. It keeps track of the old name, the date, the status, and the requested name.

Quote:
Originally Posted by FireFish View Post
If you want to learn how it works, you can simply make a test user on your forum (which isn't a bad idea anyways to test user permissions in general) & request a change from that account.

---> I only have one more issue with this module now: User requests a name change, admin approves; it Private Messages the user; WHAT IT the user turned off e-mailed notification upon new Private Messages? They'll have difficulties logging in next time unless they're smart enough to try their new username?!?! (this happened to me).

---> Plus, it would be nice to see a feature added which would allow an immediate change of the username if the admin allows; in cases where an admin won't have a reason not to approve a username change. In this case, history should still be kept.
I was pointed that out, and I need to work that into either v1.1.0 or v1.0.8. Not sure which version I'm going to jump to (hopefully v1.1.0).

The immediate change was going to become a separate modification, but if I can get the name changed to "Username Management", I will probably be adding it to v1.1.0. If I can't change the name, I might create a separate modification. These would work together as a username management tools.

Quote:
Originally Posted by BellyBelly View Post
I'm having a problem with this, it's showing in the default template but not my custom one. I have put on a couple of mods in the last week so maybe something is conflicting... but is there a reason you can think of that this would be happening?
Make sure $navbar (the variable) is used within your default vBulletin template.

Quote:
Originally Posted by m002.p View Post
Hi mate, some feedback on the newest version 1.0.7:

You might want to re-visit the phrases. I have had to modify a few for errors or small problems.

Example, a small spelling mistake I noticed:

Phrase: unreq_uniu_txt
Code:
The username that you have specied appears to be the username that you are currently using.
A small tense issue:

Phrase: unreq_adminpm_txt
Code:
{1} has requested that his username be changed to {2}. You may approve or disapprove this in the ACP.
The one above maybe should include "she" also

Character Issue:

Phrase: unreq_minpost_txt
Code:
The administrator has specified that you have atleast {1} posts. You currently have {2} {3}. Please try again when you post {4} more {5}.
Anyway dont mean to be picky, just something that maybe you should be aware of if you arent already.

Thanks for the great update all working fine

EDIT: A suggestion also:

Under Options in the Admin CP for this mod, it says "enter the notification ID for the admin to be PMed". Maybe add that so you can have several. For larger boards including mine, there is usually more than one admin and it would be great if we could add a few ID's there example:

Code:
1,44,61,45
I tryed doing that to no avail. It only seems to work with one admin
Thanks for the phrases. If I don't release a v1.0.8 to fix some things and add some small things, they will be in v1.1.0! And that is a planned feature for v1.1.0...
Reply With Quote
  #289  
Old 09-13-2007, 01:41 PM
Marco Marco is offline
 
Join Date: Nov 2001
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice! Is it also possible to limit the number of username changes a user can get?
Reply With Quote
  #290  
Old 09-13-2007, 01:47 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco View Post
Looks nice! Is it also possible to limit the number of username changes a user can get?
Sure. Stop approving new requests.
Reply With Quote
  #291  
Old 09-13-2007, 07:31 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco View Post
Looks nice! Is it also possible to limit the number of username changes a user can get?
All the data is in place now to limit that, but I never wrote the code for the feature. v1.1.0 will have it.

Quote:
Originally Posted by djbaxter View Post
Sure. Stop approving new requests.
Reply With Quote
Reply


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 06:51 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.07718 seconds
  • Memory Usage 2,339KB
  • 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
  • (8)bbcode_code
  • (8)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
  • (4)pagenav_pagelink
  • (2)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