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
  #342  
Old 10-25-2007, 10:19 PM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would definitely use this if you add the Change Amount Limitation feature to this hack!

Thanks though.
Reply With Quote
  #343  
Old 10-25-2007, 10:37 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working on that...
Reply With Quote
  #344  
Old 10-25-2007, 10:53 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack, King Kovifor!! :up:

Mod Works Great!! User Name Changes Are Done Succesfully!! :up:

Three little Bug (I Think)!!

When Trying to See the "Username History", Appears "No history to be found", even When I've Made 4 Changes On That User. (That's The First Bug)!!

EDIT 2: Perhaps The Hack Could be Trying to Look for the Previous (Changed) Username Instead of the New Changed Username?? (Could Be Better To Reference Them By the User Unique Number Code, and also Present that Code in an Additional Column)!!

I Copy/Paste the Table of Username Requests:

Code:
Requests 
Username Nuevo Nombre de Usuario Solicitado Date Actions 
foros foros1 06:34 PM, 25-10-2007 Approve - Reject - Username History 
foros1 foros 06:40 PM, 25-10-2007 Approve - Reject - Username History 
foros foros2 06:42 PM, 25-10-2007 Username History 
foros2 foros3 06:43 PM, 25-10-2007 Username History
I've made 4 Changes to the Username of a User called foros; first to foros1, then to foros (again), then to foros 2, and then to foros3.

When I made the second change back to foros (from foros1), the Approve/Reject Links Activated to Both Previous Requests (Even When I've Approved Them Both)!! (That's The Second Bug)!!

EDIT 1: Another Bug I Found after writing this Message, is that When seeing the "Username History Tip", when I've got the "Username History - No history to be found." Result, and when I tried Introducing the "Months" value in the option "Username History Tip", and pressed the Button "Refine Your Search!", I've got the Error Result "Error - No username was specified.", even when I've been trying to see the Results for Username "foros". (The one of the Previous described Bugs). (That's The Third Bug)!!

I Hope You Can Test This Great Hack and Correct Those Little Bugs!!

Great Hack!! Process of Changing Usernames is Great and Very Fast!! Communication of Final Results is Automatic and Very Easy!! Thank You Very Much!! :up:

My Best Regards!!

Reply With Quote
  #345  
Old 10-25-2007, 11:29 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One Little Question: How do Users Check The History Changes They've Made??

I've set the Option "Can View Username History" to "Yes", but I Haven't Been Able To Locate The Link for the User To Check Those Changes!!

I Appreciate Your Help!!

My Best Regards!! :up:

Reply With Quote
  #346  
Old 10-27-2007, 12:18 PM
Ryloth Ryloth is offline
 
Join Date: Dec 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone tested on 3.6.4 ? i see the min req, but just wondering b/c i dont have plans on updating anytime soon.
Reply With Quote
  #347  
Old 10-27-2007, 03:46 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 inciarco View Post
Great Hack, King Kovifor!! :up:

Mod Works Great!! User Name Changes Are Done Succesfully!! :up:

Three little Bug (I Think)!!

When Trying to See the "Username History", Appears "No history to be found", even When I've Made 4 Changes On That User. (That's The First Bug)!!

EDIT 2: Perhaps The Hack Could be Trying to Look for the Previous (Changed) Username Instead of the New Changed Username?? (Could Be Better To Reference Them By the User Unique Number Code, and also Present that Code in an Additional Column)!!

I Copy/Paste the Table of Username Requests:

Code:
Requests 
Username Nuevo Nombre de Usuario Solicitado Date Actions 
foros foros1 06:34 PM, 25-10-2007 Approve - Reject - Username History 
foros1 foros 06:40 PM, 25-10-2007 Approve - Reject - Username History 
foros foros2 06:42 PM, 25-10-2007 Username History 
foros2 foros3 06:43 PM, 25-10-2007 Username History
I've made 4 Changes to the Username of a User called foros; first to foros1, then to foros (again), then to foros 2, and then to foros3.

When I made the second change back to foros (from foros1), the Approve/Reject Links Activated to Both Previous Requests (Even When I've Approved Them Both)!! (That's The Second Bug)!!

EDIT 1: Another Bug I Found after writing this Message, is that When seeing the "Username History Tip", when I've got the "Username History - No history to be found." Result, and when I tried Introducing the "Months" value in the option "Username History Tip", and pressed the Button "Refine Your Search!", I've got the Error Result "Error - No username was specified.", even when I've been trying to see the Results for Username "foros". (The one of the Previous described Bugs). (That's The Third Bug)!!

I Hope You Can Test This Great Hack and Correct Those Little Bugs!!

Great Hack!! Process of Changing Usernames is Great and Very Fast!! Communication of Final Results is Automatic and Very Easy!! Thank You Very Much!! :up:

My Best Regards!!

The username history should be greatly improved (hopefully fixing these bugs) and a new feature will fix approval of both...

Quote:
Originally Posted by inciarco View Post
One Little Question: How do Users Check The History Changes They've Made??

I've set the Option "Can View Username History" to "Yes", but I Haven't Been Able To Locate The Link for the User To Check Those Changes!!

I Appreciate Your Help!!

My Best Regards!! :up:

Username History is attached inside the profile pages.

Quote:
Originally Posted by Ryloth View Post
has anyone tested on 3.6.4 ? i see the min req, but just wondering b/c i dont have plans on updating anytime soon.
Yeah. It works. You just need to manually add the template cell instead of having template hooks. I could write up instructions later for you.
Reply With Quote
  #348  
Old 10-29-2007, 02:45 AM
anwar.abdullakh anwar.abdullakh is offline
 
Join Date: Oct 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when I request username and press submit...
i get the following error...

Code:
Fatal error: Cannot use object of type vB_DataManager_User as array in /home/forum/www/profile.php(2886) : eval()'d code on line 33
Reply With Quote
  #349  
Old 10-30-2007, 07:53 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 anwar.abdullakh View Post
when I request username and press submit...
i get the following error...

Code:
Fatal error: Cannot use object of type vB_DataManager_User as array in /home/forum/www/profile.php(2886) : eval()'d code on line 33
I don't know what is causing this, but I will look into it.
Reply With Quote
  #350  
Old 10-31-2007, 09:16 AM
benFF benFF is offline
 
Join Date: Jul 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A little request, but it would be cool if a user could type in a reason for the username change which is also listed in the table
Reply With Quote
  #351  
Old 10-31-2007, 10:11 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 benFF View Post
A little request, but it would be cool if a user could type in a reason for the username change which is also listed in the table
This may be added in v1.1.0!
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 09:42 AM.


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.08593 seconds
  • Memory Usage 2,338KB
  • 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
  • (4)bbcode_code
  • (5)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