Version: 1.2, by MarkFL
Developer Last Online: Jun 2020
Category: Administrative and Maintenance Tools -
Version: 4.x.x
Rating:
Released: 06-16-2016
Last Update: 06-18-2016
Installs: 14
Uses Plugins Auto-Templates
Translations
No support by the author.
Overview:
This product allows you to designate a forum in which a thread is created and posted to in order to serve as a log of changed usernames. You set the title of the thread and the format of the posts within the thread.
You may also select usergroups whose members can change their own usernames in the UserCP, on the "Edit Profile" page:
Updates:
Version 1.1:
Added setting to allow members of selected usergroups to change their own usernames.
Version 1.2:
Added new username verification.
Compatibility:
Tested and working on vB 4.2.x and may work on all 4.x.x versions of vBulletin.
Backup/Warning:
This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.
As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.
4.2.2 allows members to change their own name or this addon allows members to change their own username via usercp?
This product auto-edits the "modifyprofile" template to add a username field at the top of the form. vB 4.2.x doesn't allow users to change their usernames out of the box.
This will take some work to port to vB 3.8.x since the format of the template is different, but I will get this working soon. For the time being, I have removed the statement about it working on vB 3.8.x.
Hi Mark, I looked through the code but did not see this... is there any chance of the addon having a cooldown and no-reuse period?
Cooldown: User cannot change their username no less than X days (abuse prevention).
No-reuse: Utilize the vBulletin4 option called "usernamereusedelay" in the User Registration Options section.
- Username input is not being fully sanitized. Input does not encode/escape special characters or non-alphanumeric characters such as ' " ` and so forth. The ' and " on input especially makes vBulletin unhappy, and throws SQL errors to the user and to the email configured for forum admins.
Code:
Invalid SQL:
UPDATE vb_user
SET username = 'New'userName'
WHERE username = 'CurrentUserName';
MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'userName'
WHERE username = 'CurrentUserName'' at line 2
Error Number : 1064
I have a suspicion that this product is preventing me adding a new user manually?
I have an error that appears unrelated to the 'normal' software ....
Quote:
Database error in vBulletin 4.2.3 Release Candidate 1:
Invalid SQL:
SELECT thread.*
FROM thread AS thread
WHERE title = 'Username Changes'
AND forumid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Error Number : 1064
Request Date : Wednesday, January 24th 2018 @ 09:17:52 AM
Error Date : Wednesday, January 24th 2018 @ 09:17:52 AM
Script : http://cccccccccc/admi....php?do=update
Referrer : https://ccccccccccccc/adm...ser.php?do=add
IP Address : xxxxxxxxxxxx
Username : xxxxxxxx
Classname : vB_Database_MySQLi
MySQL Version : 5.6.38