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
  #152  
Old 07-31-2007, 06:52 AM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jasiu View Post
To fix the issues change the following:

unreq.php in ADMINCP
PHP Code:
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL); 
Change to:
PHP Code:
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE); 
The error was because of notice reporting. You forgot to tell PHP not to report the notices.
Hmmm... that's not really a fix, but merely an option to not see any php-errors. I prefer not to disable that php-error-report feature.
Reply With Quote
  #153  
Old 07-31-2007, 08:29 AM
Jasiu Jasiu is offline
 
Join Date: Aug 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCB View Post
Hmmm... that's not really a fix, but merely an option to not see any php-errors. I prefer not to disable that php-error-report feature.
You can even go to vBulletin.com site and they say to turn it on. The reason being is that its just a notice and not an error. Nothing to worry about.
Reply With Quote
  #154  
Old 07-31-2007, 11:39 AM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please, in next version change admin text to vb phrase system too.
Reply With Quote
  #155  
Old 07-31-2007, 12:43 PM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to change usergoups Permissions in version 1.04?

I cant see nothing about it.

My vb is 3.6.7
Reply With Quote
  #156  
Old 07-31-2007, 03:10 PM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 3.6.8 and upgrade to 1.04 this morning. I am getting this error when checking username request.

Quote:
Undefined index: HTTPS in /home/XXXXXXXXXX/public_html/forums/includes/class_core.php on line 1591
Also I cannot uninstall 1.04. I get this error.

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE `usergroup` DROP `unreq_perms`;

MySQL Error : Can't DROP 'unreq_perms'; check that column/key exists
Error Number : 1091
I looked at 1.04 and there is no uninstall code for this product.

Needs some help here. Thanks!

EDIT: I returned to 1.03 until issues are fixed in 1.04
Reply With Quote
  #157  
Old 07-31-2007, 03:15 PM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by testebr View Post
How to change usergoups Permissions in version 1.04?

I cant see nothing about it.

My vb is 3.6.7
I'm using 3.6.8. and I see nothing different from the 1.03 version? WHere can I find the extra features?

(great mod btw)
Reply With Quote
  #158  
Old 07-31-2007, 09:55 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 katie hunter View Post
I tried this mod before but it didn't work and tried it when it get upgraded , i uploaded all the files and run the xml but when i go to admin cp under user , i don't find the extra option at all " the request option"

but nice hack =3
The extra options should be inside of the admin file mostly. Under the "Users" tab.

Quote:
Originally Posted by Alibass View Post
I'm running 3.6.8 and upgrade to 1.04 this morning. I am getting this error when checking username request.

Also I cannot uninstall 1.04. I get this error.

I looked at 1.04 and there is no uninstall code for this product.

Needs some help here. Thanks!

EDIT: I returned to 1.03 until issues are fixed in 1.04
It looks like the table isn't added... I guess my install codes don't work.

Quote:
Originally Posted by TCB View Post
I'm using 3.6.8. and I see nothing different from the 1.03 version? WHere can I find the extra features?

(great mod btw)
The extra features are inside of the ACP file and the user profile if you had a user that was approved / rejected one since the upgrade.

Quote:
Originally Posted by testebr View Post
How to change usergoups Permissions in version 1.04?

I cant see nothing about it.

My vb is 3.6.7
The usergroup manager.

Quote:
Originally Posted by testebr View Post
Please, in next version change admin text to vb phrase system too.
I thought I did that... * runs * any other text not phrased?
Reply With Quote
  #159  
Old 08-01-2007, 01:02 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really coming a long way! nice work on the updates
Reply With Quote
  #160  
Old 08-01-2007, 03:59 AM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uninstalled this. It kept saying no permission, but there was no place to edit permissions. Yes, I checked the Usergroup Manager. I'm using 3.6.8 so maybe that's it.
Reply With Quote
  #161  
Old 08-01-2007, 07:58 AM
cooldude714 cooldude714 is offline
 
Join Date: Feb 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Notice: Undefined index: HTTPS in /home/fozleagu/public_html/forum/includes/class_core.php on line 1591

Notice: Undefined index: HTTPS in /home/fozleagu/public_html/forum/includes/class_core.php on line 1591


Unable to add cookies, header already sent.
File: /home/fozleagu/public_html/forum/includes/class_core.php
Line: 1591
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:03 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.09760 seconds
  • Memory Usage 2,329KB
  • 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
  • (2)bbcode_php
  • (10)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
  • (3)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