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

Reply
 
Thread Tools
[DBTech] Username Change v1 (vB4) Details »»
[DBTech] Username Change v1 (vB4)
Version: 1.3.1, by DragonByte Tech DragonByte Tech is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 02-25-2010 Last Update: 08-16-2017 Installs: 549
Uses Plugins
Additional Files Translations  
No support by the author.

What is Username Change?
Username Change is Brought to you by the Designer of products such as RPG Inferno and Inferno vBShout and the programmer of RPG Integration v3.

Username Change from DragonByte Tech is a modification designed to allow users to change their usernames at will (within your configured limits, of course).

About Username Change
Your members will no longer bug you for username changes, you can let them change it whenever they want!

It also has a history feature in the member profile, showing a list of previous usernames. This history feature uses vBulletin's own Profile Change history - no additional tables needed!

-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!

-------------------------------------------------------------------------------------------

Priority support is handled at the Developers Website.

-------------------------------------------------------------------------------------------

Feature List
  • Uses vBulletin's "Profile Change History" feature for maximum compatibility with other mods
  • Change username via UserCP -> Edit Profile
  • One-click revert username via UserCP -> Edit Profile
  • Username change history in a member's profile
  • Moderators can change usernames at any time easily
  • "Can Change Own Username" permission for users
  • "Can Change Others Usernames" permission for mods
  • "Can View Own History" permission for profile block
  • "Can View Others History" permission for profile block
  • Per-usergroup username change delay (in days)
  • Per-usergroup profile history limit
  • Per-usergroup maximum total username changes

ModCP Change Log
  • Paginated results of all username changes
  • Displays date of change, old value and new value
  • Displays who changed the username
  • Choose date range to display, or view all changes

-------------------------------------------------------------------------------------------

This mod displays a copyright notification in the footer of all pages which includes:
  • 1 Link to DragonByte Technologies homepage
  • 1 Link to Product Description page of this modification

Download Now

File Type: zip [DBTech] Username Change v1.3.1.zip (20.7 KB, 109 views)

Screenshots

File Type: png history.png (7.2 KB, 0 views)
File Type: png username_change_always.png (4.2 KB, 0 views)
File Type: png username_change_limit.png (4.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
11 благодарности(ей) от:
Adem GEN?, Anbieter, Baja, Bounce, Code Geass, eTiKeT?, Gorgasm, johnarce, mokujin, Snowhog, teknisi

Comments
  #62  
Old 03-03-2010, 09:47 PM
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Location: Arkansas
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LIFE SAVERS. Thank you. I will now be safe from my username change happy members who like to annoy me with requests!
Reply With Quote
  #63  
Old 03-03-2010, 10:29 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tinkleondabeach View Post
Would this work for 3.8?
No, but Marco's old mod for 3.5 still works on 3.8


Fillip
Reply With Quote
  #64  
Old 03-06-2010, 03:48 PM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

User Profile

* Username History

For show this must change username...?
Reply With Quote
  #65  
Old 03-06-2010, 04:31 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, username must have been changed at least once in order for the History to appear in the profile


Fillip
Reply With Quote
  #66  
Old 03-06-2010, 06:14 PM
sung sung is offline
 
Join Date: Feb 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
No, but Marco's old mod for 3.5 still works on 3.8
Is there any possibility to import the name change history/information from Marco's plugin to this one?
Reply With Quote
  #67  
Old 03-07-2010, 10:09 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, sorry that's not possible.
Marco's plugin uses its own method of storing information, whereas I use vBulletin's method (which, in fairness, didn't exist in vB 3.5 which is what Marco's plugin was written for).
Reply With Quote
  #68  
Old 03-08-2010, 02:42 AM
sung sung is offline
 
Join Date: Feb 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
No, sorry that's not possible.
Marco's plugin uses its own method of storing information, whereas I use vBulletin's method (which, in fairness, didn't exist in vB 3.5 which is what Marco's plugin was written for).
I realize they use different methods for storing the information, but as long as the information was about the same it should be possible to either manually or with a script move the information over.

It would be nice not to lose the username history, as well as resetting all the name change timers/counters, when moving from Marco's to your mod.
Reply With Quote
  #69  
Old 03-08-2010, 10:17 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well yeah it's not like it's entirely impossible, we just have no plans of writing such a script at this time because not everybody who installs this is upgrading from 3.8

It's been a while since I dealt with Marco's mod, but doing it manually would work too, I guess.


Fillip
Reply With Quote
  #70  
Old 03-19-2010, 03:04 PM
sung sung is offline
 
Join Date: Feb 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the script I made/used to go from Marco's name change mod to this one.

PHP Code:
<?php

// Change this stuff

$dbhost 'host';
$dbuser 'user';
$dbpass 'pass';
$dbname 'table';

// END OF STUFF TO CHANGE

$mysqli = new mysqli($dbhost$dbuser$dbpass$dbname);

if(
$mysqli->connect_error) {
   die(
"Connect Error: " $mysqli->connect_error);
}

// Get current usernames for users that have changes
$result $mysqli->query("SELECT distinct mh_unm_history.userid, user.username FROM mh_unm_history, user WHERE user.userid = mh_unm_history.userid");
while (
$row $result->fetch_row()) {
   
$usernames[$row[0]] = mysql_real_escape_string($row[1]);
}
$result->free_result();

// Get the username changes
$result $mysqli->query("SELECT * from mh_unm_history ORDER BY userid ASC, dateline DESC");
while (
$row $result->fetch_row()) {
   
$userid $row[0];
   
$dateline $row[1];
   
$oldname mysql_real_escape_string($row[2]);
   
$adminid $row[3];
   
$uniq md5($dateline $userid $userid rand(1111,9999));

   
// Build the array of queries we'll execute later
   
$q[] = "INSERT INTO userchangelog VALUES('', $userid, 'username', '$usernames[$userid]', '$oldname', $adminid$dateline, '$uniq')";

   
// Set the username as the old one in the
   // event there are multiple name changes
   
$usernames[$userid] = $oldname;
}

foreach (
$q as $query) {
   if (!
$mysqli->real_query($query))
      echo 
"FAILED: " $query "<br>\n"
}

$result->close();
$mysqli->close();
?>

Things I know will cause issues: if you don't have the mysqli (notice the i) extension or use a prefix on your forum tables.

You're on your own to backup/test/verify/etc the above code will work for you!
Reply With Quote
  #71  
Old 03-31-2010, 12:49 PM
Das UndergrounD's Avatar
Das UndergrounD Das UndergrounD is offline
 
Join Date: Jul 2007
Location: Chile - Brasil
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need this mod for vb3.8 please!!!
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 01:36 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.05126 seconds
  • Memory Usage 2,373KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete