View Full Version : Username Management - Control who can change Usernames plus history
Marco van Herwaarden
11-21-2005, 10:00 PM
<font size="4">Username Management - Version 1.04</font>
Hack: Username Management
Version: v1.04
Author: MarcoH64
Description
With this modification installed you can let your members change their own username, or let Staff members change the usernames of other members.
Also a history of previously used names for a member is kept.
Features
- Users can change their own username controlled by Usergroup Permissions. If needed a time limit between changes can be set.
- Staff can change the Username of other members. This is again controlled by Usergroup Permissions.
- Previously used Usernames of a member can be viewed in posts, by hoovering over their Username. This is also controlled by Usergroup settings
- Full searchable history of Username changes in AdminCP
- Fully Phrased
- Optimized for server performance
- Documented API for addon developers
Changelog
23-12-2005 v1.04
- Changed master="true" to false in cpnav file.
- Fixed bug where history was generated when running Update User Names from Update Counters
v1.03
- Changed the size of the 'mh_unm_changelimit' & 'mh_unm_changelimit' columns in the usergroup table
from TINYINT to SMALLINT to support values > 255
23-11-2005 v1.02 (maintenance release)
- Improved internal caching routines
- Added internal routine for retrieving the latest changed usernames
- Coders: Parameter value change for parameter '$overridelimit' in 'mh_unm_fetch_username_history'
This release is needed if you want to use some fo the new Addon's!!
Known issues: Coder documentation not complete, no examples are given, although the 2 released addon's can be used as examples.
22-11-2005 v1.01
- Fixed bug messing up Private Messages (thanks mini2)
- Fixed bug in install routine that would create a wrong tablename if using table prefixes
- Changed the internal caching routines
- Added more parameters to mh_unm_fetch_username_history for more flexibility for Addon coders
- Added extended information mode
- Created first version of the Coders documentation
Known issues: No example code for an Addon Plugin yet.
22-11-2005 v1.00
Initial release
Upgrades
Upload all files from 'upload' folder.
Install the new product file, choosing an overwrite install.
Notes
Copyright ©2005 MarcoH64
This Modification may not be redistributed in whole or significant part or changed without prior agreement of author.
Please don't forget to click Install.
If you like this work and would like to support the author, donations are always welcome at Paypal: Marcoh64 AT gmail.com
Marco van Herwaarden
11-22-2005, 09:25 AM
If you are running version 1.00 and have problems viewing your Private Message, please apply the following fix (thanks to mini2 for pointing it out and providing the fix):
Goto AdminCP->Plugin System->Plugin Manager.
Click on Edit behind plugin 'Add Username history to postbit(legacy) (http://localhost/dev351b/admincp/plugin.php?do=edit&pluginid=12)'
In the Hook Location dropdown, change 'postbit_display_complete' to 'postbit_factory' (2 lines higher) and Save. All should be fixed now.
Better is to upgrade to 1.01, all known problems have been fixed.
Oblivion Knight
11-22-2005, 09:34 AM
Awesome.. This will certainly be useful for my future plans (premium users). :D
plubius
11-22-2005, 09:34 AM
this hack rawks. And I got the second post. Yay!
Edit. Dangit I was too slow! :nervous:
Marco van Herwaarden
11-22-2005, 10:10 AM
Awesome.. This will certainly be useful for my future plans (premium users). :DThen please click Install ;)
Snake
11-22-2005, 10:49 AM
Awesome. I am definitely going to install this hack for all my premium users too! :) Thanks.
One thing, do you think you can make a mini addon for Previous usernames too? That would be useful so users may notice the user's previous names anytime, just like this forum. http://forums.adventchildren.net/member.php?u=1
Flow Fusion
11-22-2005, 11:04 AM
Help...My postbit_legacy
This seems to work even if you don't edit the postbit legacy. But...
And I get this error also...
Warning: Invalid argument supplied for foreach() in /includes/class_bitfield_builder.php on line 200
Warning: Invalid argument supplied for foreach() in /includes/class_bitfield_builder.php on line 200
Warning: Invalid argument supplied for foreach() in /includes/class_bitfield_builder.php on line 200
Marco van Herwaarden
11-22-2005, 11:47 AM
One thing, do you think you can make a mini addon for Previous usernames too? That would be useful so users may notice the user's previous names anytime, just like this forum
You kinda alrady can do this (only the list of old names), but i forgot to add that to the documentation. Will see if i can add this to the documentation today.
PS That would basically just require you to create a new plugin with (almost) the same code as the Postbit plugin, and the same edits to the template.
Marco van Herwaarden
11-22-2005, 11:50 AM
And I get this error also...When do you get this error, and what vB version are you using? Did you rebuild the bitfields as instructed? Are all files uploaded (in ASCII) correct?
Help...My postbit_legacy
This seems to work even if you don't edit the postbit legacy. But...Please be clear, does it work or not for you?
MThornback
11-22-2005, 12:36 PM
Your product script isn't installing the tables...nearly gave me a heart attack :p
it didn't do any of the database edits because you forgot to add $ to the db variable ;)
For some reason, (and I had posted something else before (sorry...but I am still fairly sure that the $ was missing from the db variable ;))
It created the history table without the table prefix as well...thought you'd care to know....
But I installed it anyway and it seems to work fine now :)
Thanks
Marco van Herwaarden
11-22-2005, 12:45 PM
It created the history table without the table prefix as well...thought you'd care to know....Thanks for this, I somehow missed the table_prefix on that create statement. Fixed in my copy now, will update zip later today.
For some reason, (and I had posted something else before (sorry...but I am still fairly sure that the $ was missing from the db variable )
Could you please be more specific, i couldn't find a missing $ in the install code (or was it somewhere else?)
But I installed it anyway and it seems to work fine now Then please click Install. :D
MThornback
11-22-2005, 12:54 PM
Thanks for this, I somehow missed the table_prefix on that create statement. Fixed in my copy now, will update zip later today.
Could you please be more specific, i couldn't find a missing $ in the install code (or was it somewhere else?)
Then please click Install. :D
I did forget to clickinstall didn't I...whoops :p
all your db variables that you need to write changes to the database were missing their "$" in front of it
ie I changed:
$vbulletin->db->query_write
( "ALTER TABLE " . TABLE_PREFIX . "usergroup ADD column (mh_unm_permissions INT( 10 ) UNSIGNED DEFAULT 0 NOT NULL
, mh_unm_changelimit TINYINT UNSIGNED DEFAULT 30 NOT NULL
, mh_unm_viewhistorylimit TINYINT UNSIGNED DEFAULT 1 NOT NULL
)"
);
to
$vbulletin->$db->query_write
( "ALTER TABLE " . TABLE_PREFIX . "usergroup ADD column (mh_unm_permissions INT( 10 ) UNSIGNED DEFAULT 0 NOT NULL
, mh_unm_changelimit TINYINT UNSIGNED DEFAULT 30 NOT NULL
, mh_unm_viewhistorylimit TINYINT UNSIGNED DEFAULT 1 NOT NULL
)"
);
and thats the only way it wrote to my tables...
Marco van Herwaarden
11-22-2005, 01:01 PM
all your db variables that you need to write changes to the database were missing their "$" in front of it
There should be no $ in front of 'db', there is already 1 in front of vbulletin ($vbulletin->db->....)
Marco van Herwaarden
11-22-2005, 01:08 PM
OK, I only use legacy, and I've installed this and it seems to work OK, BUT, private messages are screwed. So I'm guessing it's postbit(legacy) related.
Please disable the product, i will find what is causing this and uplaod an update.
Marco van Herwaarden
11-22-2005, 01:48 PM
Fix for the Private Message problem posted in Post #2. Thansk to mini2 for finding the problem and also providing a quick fix.
MThornback
11-22-2005, 01:56 PM
Just to let you know, removing the postbit (legacy) template change didn't fix it, but disabling the product did.
*/ edit /*
In fact, I can (of course) leave the product enabled and just disable the plugin for showing it in postbit(legacy) and everything else works swimmingly.
*/ edit again /*
Fixed it, PM sent.....
Turning off the legacy plugin fixed my problem too...
Found something else...
Fatal error: Call to a member function on a non-object in /public_html/forum/includes/class_dm_user.php(1719) : eval()'d code on line 5
when I tried editing via the profile link (changes it...no record to the database though) & when I made an edit to change it back from the AdminCP...same error
a) the .com part isn't included...i'm no expert...so exuse my ignorance when I say "why?" :p
b) class_dm_user.php wasn't in my install package
Marco van Herwaarden
11-22-2005, 04:28 PM
Fatal error: Call to a member function on a non-object in /public_html/forum/includes/class_dm_user.php(1719) : eval()'d code on line 5
when I tried editing via the profile link (changes it...no record to the database though) & when I made an edit to change it back from the AdminCP...same error
a) the .com part isn't included...i'm no expert...so exuse my ignorance when I say "why?"
b) class_dm_user.php wasn't in my install package
What vB version are you using?
Are you using table prefix?
Marco van Herwaarden
11-22-2005, 04:33 PM
New version 1.01 released:
22-11-2005 v1.01
- Fixed bug messing up Private Messages (thanks mini2)
- Fixed bug in install routine that would create a wrong tablename if using table prefixes
- Changed the internal caching routines
- Added more parameters to mh_unm_fetch_username_history for more flexibility for Addon coders
- Added extended information mode
- Created first version of the Coders documentation
Known issues: No example code for an Addon Plugin yet.
dcpaq2xx
11-22-2005, 04:35 PM
Awesome. I am definitely going to install this hack for all my premium users too! :) Thanks.
One thing, do you think you can make a mini addon for Previous usernames too? That would be useful so users may notice the user's previous names anytime, just like this forum. http://forums.adventchildren.net/member.php?u=1
Yes, I have to agree as well that that is somewhat similar to what Ebay.com does and had suggested in my original request for this User Name Historty Plugin. It would be great to have it setup something like or exactly like what Aftermath showed us in that link to that users profile. I wouldnt want this feature in the forums, ONLY IN THEIR PROFILE. please keep the "hover effect" like MarcoH64 already has it.
Doug
Zachariah
11-22-2005, 04:40 PM
thank you sir.
Marco van Herwaarden
11-22-2005, 04:47 PM
Yes, I have to agree as well that that is somewhat similar to what Ebay.com
I actually never looked at ebay, and also didn't really read the suggestions made.
I wouldnt want this feature in the forums, ONLY IN THEIR PROFILE.I will post a profile modification like suggested as an Addon Coding Example tomorrow.
This hack can now easily be used in other places by Addon developers, just a few lines of coding in a plugin needed.
Mastar
11-22-2005, 06:10 PM
So Is Everything Fixed in this hack now? Really want to install it.
dcpaq2xx
11-22-2005, 06:15 PM
I will post a profile modification like suggested as an Addon Coding Example tomorrow.
Alright! Excellent Whoo Hoo! Yipee! :banana:
Thank you MarcoH64
Doug
Marco van Herwaarden
11-22-2005, 07:50 PM
So Is Everything Fixed in this hack now? Really want to install it.
Yes, all known bugs have been fixed, and some extra's added (mostly prepairing for future addons).
I have an issue. After I installed this:
Whenever i try and add a new group or edit an existing group's properties it runs Rebuild Bitfields in a loop.
Tell me that it has nothing to do with this hack so I can move on and explore other causes.
Marco van Herwaarden
11-22-2005, 08:13 PM
What version of vB?
Sounds like the same as what Andreas hack was suffering from first. Do you have Signature Limits installed?
Will do some testing.
Marco van Herwaarden
11-22-2005, 08:26 PM
Just tested adding a new usergroup to my testboard, and i have no problems running a clean vB3.5.1 with version 1.01 of this hack.
PS Can you change the usergroups, if you disable the Product and temporary remove the ./includes/xml/bitfield_mh_unm.xml
Swindont
11-22-2005, 08:29 PM
i love it ;] *installs*
Blam Forumz
11-22-2005, 08:58 PM
Thanks, is there an option to display a page of who changed their names?
Marco van Herwaarden
11-22-2005, 09:17 PM
Hmm a recent changes list, sounds like a good idea. Expect an update tomorrow to make that possible. Where would you like to see that?
You can now only search in the AdminCP for names and see the list of changes.
Flow Fusion
11-22-2005, 09:27 PM
When do you get this error, and what vB version are you using? Did you rebuild the bitfields as instructed? Are all files uploaded (in ASCII) correct?
Please be clear, does it work or not for you?
I can't edit my postbit like Instructed but, it does work and the rebuild error I'm getting is caused by another hack. Thanks a million. Works perfect. I'm on version 3.5.
Marco van Herwaarden
11-22-2005, 09:59 PM
Without th edited postbit all will still work, you just don't see history in postbit.
PS Try with a fresh style, or revert your postbit (will remove all modifications) so you can start fresh.
john1744
11-23-2005, 04:14 AM
Wow Marco just what I've been looking for. Thank you a ton.
Blam Forumz
11-23-2005, 05:46 AM
Hmm a recent changes list, sounds like a good idea. Expect an update tomorrow to make that possible. Where would you like to see that?
You can now only search in the AdminCP for names and see the list of changes.
If possible, i'd like this to be a seperate page.
And is it also possible to allow certain people to change only one member (of their choice)'s username?
Marco...
It was the signature limits thingy...lol.
Funny thing is that it never reared it's head until i installed this..so i disabled it for now (The sig limits) until I can get it sorted.
Thanks.
Marco van Herwaarden
11-23-2005, 03:43 PM
I think Andreas already posted a fix in his hack thread.
Marco van Herwaarden
11-23-2005, 03:44 PM
Version 1.02 released:
23-11-2005 v1.02 (maintenance release)
- Improved internal caching routines
- Added internal routine for retrieving the latest changed usernames
- Coders: Parameter value change for parameter '$overridelimit' in 'mh_unm_fetch_username_history'
2 new Addon's are released:
Username Management Addon - History in Profile (https://vborg.vbsupport.ru/showthread.php?t=101411)
Username Management Addon - Latest Username Changes on Forum (https://vborg.vbsupport.ru/showthread.php?t=101412)
wacodep
11-23-2005, 05:45 PM
Clicks install.
Oblivion Knight
11-23-2005, 08:03 PM
Would adding value="$bbuserinfo[username]" to the Change Username fields have any adverse effect?
Marco van Herwaarden
11-23-2005, 08:37 PM
Would adding value="$bbuserinfo[username]" to the Change Username fields have any adverse effect?How, what, where, why?
Oblivion Knight
11-23-2005, 08:49 PM
Well to make the "Change Username" fields in the User CP appear more like the "Change Email Address" fields above it, I added the current username in the text boxes. I've not looked at the code or checked whether to see this hack will ignore updating the Username if it remains the same as the current one.
I guess I should stop being so lazy and actually look.. ;)
Marco van Herwaarden
11-23-2005, 08:55 PM
It will ignore it if not changed (i think). Since you will most likely not reuse your name, i thought it was useless to prefill with current.
PS Yes take a look, some parts (especially some of the caching in the functions) i am pretty satisfied with.
WNxWakko
11-24-2005, 12:22 AM
Why is the max days 255 days? I wanted to only allow members to change once a year max, but seems I cant, I put in 365 and save, but when i go back in, its set ast 255. ?????????
Marco van Herwaarden
11-24-2005, 03:36 AM
Hmmm that looks like a design error. To allow higher values, change the 'mh_unm_changelimit' column of the usergroup table in your database from TINYINT to SMALLINT. Will update this in the next release.
Guest190829
11-24-2005, 03:38 AM
This may be useful for my forum..hm...I will test it out none-the-less. :)
WNxWakko
11-24-2005, 04:07 AM
Hmmm that looks like a design error. To allow higher values, change the 'mh_unm_changelimit' column of the usergroup table in your database from TINYINT to SMALLINT. Will update this in the next release.
I have no clue how to do that. Is there a query I can just run from the Admincp?
Oblivion Knight
11-24-2005, 05:29 AM
ALTER TABLE usergroup CHANGE mh_unm_changelimit mh_unm_changelimit SMALLINT(3) UNSIGNED NOT NULL DEFAULT '30'Yes, mh_unm_changelimit should be there twice.. :)
Marco van Herwaarden
11-24-2005, 06:32 AM
You can run the following 2 queries:
ALTER TABLE usergroup CHANGE COLUMN mh_unm_changelimit mh_unm_changelimit SMALLINT UNSIGNED DEFAULT 30 NOT NULL;
ALTER TABLE usergroup CHANGE COLUMN mh_unm_viewhistorylimit mh_unm_viewhistorylimit SMALLINT UNSIGNED DEFAULT 1 NOT NULL;
If you are using a table prefix, then add it in front of the tablename (ie. prefix_usergroup).
If you run the queries from the AdminCP, you must run 1 line at a time. If you are using something like phpMyAdmin, you can just copy&paste both lines in 1 go.
Marco van Herwaarden
11-24-2005, 06:34 AM
ALTER TABLE usergroup CHANGE mh_unm_changelimit mh_unm_changelimit SMALLINT(3) UNSIGNED NOT NULL DEFAULT '30'Yes, mh_unm_changelimit should be there twice.. :)If you use SMALLINT(3), it will not increase the column size. ;)
SMALLINT defaults to 5 positions.
PS I never understand why people keep quoting numeric default values.
dieselpowered
11-24-2005, 02:37 PM
So if someone changes their member name, does it change the member name all all previous posts? Plus I can only assume that the old username will be in quoted posts...correct?
Marco van Herwaarden
11-24-2005, 03:44 PM
It will be changed everywhere, except quoted posts.
It uses the standard routines in vB to change the name, the same that is used when changing from AdminCP. Everything that would be changed when doing it from the AdminCP, is also changed with this hack.
It merely builds on top of the standard functions by giving Users and moderators also a place to change the name, and to add logging/reporting to it.
Snake
11-24-2005, 05:02 PM
Nice update there...
nexialys
11-25-2005, 12:35 PM
feature request:
having this History of Usernames to be searchable as "registered users" so if someone wants to register with a username that is in this list, he will not be able to, and will be required to contact the admin if this is an error...
the situation come often when someone register, and not remember his password or complete username, and instead of asking for a new access he register twice... that came at least 3 times here this year only... ;)
something like "this username was once used by a user on this site. if you really need this username, please contact the admins. "... and this can be joined with the Ajax Alert...
Marco van Herwaarden
11-25-2005, 01:14 PM
Well that would be something completly different......and for 3 times a year?
But i have been thinking about not allowing a change if a name have been used before.
For example a popular guy on the board, decide to change his name, and a newbee immediate change his name the the popular guys old name.
A lot of people would get confused. Or maybe just no reuse of names for 3 month.
nexialys
11-25-2005, 01:48 PM
that's the same situation i guess, just not the same start.. lol
;)
zappsan
11-25-2005, 07:18 PM
Just installed this on my testboard and I really like it.
Thanks
Just one question:
Sorry, the username entered contains one or more semi-colon characters ( ; ).
Please go back and remove any semi-colons
What's wrong with semi-colons?
Marco van Herwaarden
11-25-2005, 07:48 PM
They are not allowed i guess. But that has nothing to do with my hack, it is vB itself blocking it.
zappsan
11-25-2005, 09:12 PM
They are not allowed i guess. But that has nothing to do with my hack, it is vB itself blocking it.
Oh, ok, thanks for clearing me up.
I've got another problem:
When I allow a usergroup to change names, they can't login into the ModCP anymore.
They click on the "Change name" link, enter username and password in the login window, but instead of logging them in, the login window is displayed again.
Am I doing anything wrong?
edit: I just noticed that the user needs to mod at least one forum to make it work.
Is there a way to change this?
Marco van Herwaarden
11-25-2005, 09:27 PM
No there is no way to change that. Like written in the instructions, he/she needs to have modcp access, so Admin, S.Mod or Moderator (with a forum).
zappsan
11-25-2005, 10:51 PM
No there is no way to change that. Like written in the instructions, he/she needs to have modcp access, so Admin, S.Mod or Moderator (with a forum).
Ok, thanks.
And now, finally:
* zappsan clicks install
eNforce
11-27-2005, 01:28 AM
With this installed with the Enhanced ACP Navigation plugin the Users category which is normally in the main AdminCP menu is now in the Custom Navigation menu lol..
Marco van Herwaarden
11-27-2005, 05:41 AM
Yes that is the big disadvantage of the Enhanced Navigation.
Onimua
11-27-2005, 08:38 AM
Hm... is it also possible for users [/i]not[/i] to see the name change history as well?
Marco van Herwaarden
11-27-2005, 04:26 PM
Who can view history is controlled by the usergroup settings.
jluerken
11-29-2005, 03:16 PM
Hi,
this is a wonderful hack and I want to use it but I have a feature request:
Is there a way to include an approval process?
A user can change his name but before this change becomes valid an Administrator has to approve it.
Some kind of moderated username change link in the AdminCP would be wonderful.
Would be nice to see this in v 1.0.3 :D
regards
jluerken
jluerken
11-29-2005, 04:11 PM
When I install your hack the USERS menu in the adminCP dissapears :-(
jluerken
11-29-2005, 04:37 PM
With this installed with the Enhanced ACP Navigation plugin the Users category which is normally in the main AdminCP menu is now in the Custom Navigation menu lol..
How can I change this?
jluerken
11-29-2005, 04:50 PM
Ok I change this.
Create a phrase called: mh_unm
Phrase Type: Control Panel Home Pages
Product: Username Management
Varname: mh_unm
Text: Username Management
Then edit cpnav_mh_unm.xml and delete all content.
Replace with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="mh_unm" master="true">
<navgroup phrase="mh_unm" permissions="canadminusers" displayorder="110">
<navoption displayorder="900">
<phrase>mh_unm_username_history_search</phrase>
<link>mh_unm_history.php</link>
</navoption>
</navgroup>
</navgroups>
Done!
If you have Andreas Hack installed the Users menu stays now on the main page and a new menu comes up on the second enhanced nav page.
Have fun...
Marco van Herwaarden
11-29-2005, 07:28 PM
this is a wonderful hack and I want to use it but I have a feature request:
Is there a way to include an approval process?
A user can change his name but before this change becomes valid an Administrator has to approve it.
Some kind of moderated username change link in the AdminCP would be wonderful.
Would be nice to see this in v 1.0.3Sounds like a good idea, might do it.
When I install your hack the USERS menu in the adminCP dissapears :-(How can this happen? The menu is just controled by another file in your includes/xml. I didn't hear from anybody else having this problem.
Marco van Herwaarden
11-29-2005, 07:29 PM
If you have Andreas Hack installed the Users menu stays now on the main page and a new menu comes up on the second enhanced nav page.
Sounds to me that this is more a buck in Andreas hack then. It should be just nother option in the User menugroup (that is where it belongs).
jluerken
11-30-2005, 11:08 AM
Sounds to me that this is more a buck in Andreas hack then. It should be just nother option in the User menugroup (that is where it belongs).
And as you can see here: https://vborg.vbsupport.ru/showpost.php?p=835716&postcount=76
I solved it and posted a solution for all other users who might have it :D
Now I am waiting for version 1.0.3 with admin approval :-)
Thanks Marco,
Is it possible to include the option to change userid of any user, and only Staff members or super Admin could do this.
Marco van Herwaarden
12-01-2005, 08:43 AM
I solved it and posted a solution for all other users who might have it Please could you edit your solution to add a note that your solution is only if they have Andreas hack installed. Now it looks like everyone should be making that change.
Is it possible to include the option to change userid of any user, and only Staff members or super Admin could do this.
No, i don't see the use of changing a userid. Since it will also require totally different coding, i son't see a reason to put it in this hack.
john1744
12-03-2005, 06:36 AM
Any way to add tracking to when an admin changes the Username through the ACP? A few of my admin still go back to that old method instead of going to the ModCP to do it. Just to keep track of the name changes.
Marco van Herwaarden
12-03-2005, 06:40 AM
Even when an username is changed from ACP, it will show up in history i think.
eNforce
12-07-2005, 01:44 AM
How about adding a character limit option? Some of my members are starting to create very long usernames :P
Marco van Herwaarden
12-07-2005, 06:26 AM
Never really tried it, but i think it will follow the maximum set in your AdminCP for usernames.
Oblivion Knight
12-07-2005, 06:32 AM
And as you can see here: https://vborg.vbsupport.ru/showpost.php?p=835716&postcount=76
I solved it and posted a solution for all other users who might have it :D
Now I am waiting for version 1.0.3 with admin approval :-)Another alternative is to remove master="true", and it has the same effect.. ;)
However, just to re-iterate - you only need to do this if you have Andreas' "Enhanced ACP Navigation" plugin installed. Otherwise, this should work fine as it is.
dcpaq2xx
12-07-2005, 01:50 PM
How about adding a character limit option? Some of my members are starting to create very long usernames :P
Guys,
Just my personal opinion and a suggestion or advice.
Please keep the code hacks and modifications to a minimum, more code change in each hack is not good, start running into problems and it makes it harder to do VB version upgrades at a later date. I learned this from dealing with PHPBB. Too many modifications just to get a default installation of PHPBB to do what you want it to do, im sure Vbulletin could go the same way with the code hack issues if you modify it far enough.
What Im trying to say is lets not add anymore code changes to a hack then what the hack was originally designed to do, that way we keep the code modification to a minimum. If we want to add another feature and it really doesnt belong with that original hack, (restricting user name lenght in a user name change/user id history for example, especially if its already included in the admin cp) then create a seperate hack just for that feature. Some people may not want that "extra" feature included in the main hack thus reducing the amount of code alterations on their board.
The less code modification the better. :)
Doug
Marco van Herwaarden
12-07-2005, 04:37 PM
I must say that i totally agree with this. If i get a request that doesn't fit the idea of the original hack, or would make the core hack unneeded difficult/heavy, or would only be used by a few users, then i would deny that request. (You can even check on some of my hacks where i have done this).
Also hacks should try to rely on basic standard vB settings. If there is a standard setting to limit the username length (and there is), and my hack would not follow that 'rule', i would change my hack to follow the limits set by standard vB (i didn't have time to double check yet). If it does follow the standard settings, but a second limit for usernames set by my hack was requested (as it seems here), then i will deny that.
Marco van Herwaarden
12-07-2005, 04:42 PM
I just installed this hack on my development board again and tested this issue. My hack follows the username length limit as set in AdminCP->vBulletin Options->User Registration->Maximum Username Length.
If you want to limit the length of usernames, just set this setting. This will also restrict usernames when new members register.
No need to change my hack.
Andreas
12-08-2005, 08:08 AM
Regarding the cpnav problems in conjunction with my Enhanced ACP Navigation Hack:
By setting mater="true", your XML effectively becomes the parent of navgroup users, if it is loaded before cpnav_vbulletin.xml - which is the case on UN*X-systems, but not on Windows:
[110] => Array
(
[Users] => Array
(
[options] => Array
(
[10] => Array
(
[Add New User] => Array
(
[displayorder] => 10
[phrase] => add_new_user
[link] => user.php?do=add
[text] => Add New User
)
)
[...]
[900] => Array
(
[mh_unm_username_history_search] => Array
(
[displayorder] => 900
[phrase] => mh_unm_username_history_search
[link] => mh_unm_history.php
[text] => Username History Search
)
)
)
[group] => Array
(
[phrase] => users
[permissions] => canadminusers
[displayorder] => 110
[nav_file] => mh_unm
[text] => Users
)
)
My code expects, that if a group is created by a cpnav XML other than vbulletin, that it is a custom group - hence Users disappears from the main page in this case.
You should not set master, if you are adding to existing groups.
Though I will modify my code to add an additional check for known vBulletin groups.
Marco van Herwaarden
12-08-2005, 08:21 AM
Hmm a valid point. Will change this in the next version.
WNxWakko
12-11-2005, 05:10 PM
Ok there is a problem. I ran Update Usernames in the Update Counters section of the admincp, and guess what it did? It marked every single member on the board that I changed their name. The log in profiles just say changed from and to the same name, but recorded a log showing I did it.
Also it looked bad on the addon whats going on bit where it shows recent changes. It not right here....
Any fix for this?
WNxWakko
12-17-2005, 12:24 AM
Ok there is a problem. I ran Update Usernames in the Update Counters section of the admincp, and guess what it did? It marked every single member on the board that I changed their name. The log in profiles just say changed from and to the same name, but recorded a log showing I did it.
Also it looked bad on the addon whats going on bit where it shows recent changes. It not right here....
Any fix for this?
Bump. Any way to fix this?
Marco van Herwaarden
12-23-2005, 08:39 AM
Sorry i just returned from a trip out of the country. I saw your reply in my mail and have already a fixed version for it. Will try to zip it up and release later today.
To provide also cleaning instructions to remove those history records that where added by updating the usernames, it would really help me if you could supply me with a dump of your history table (mh_unm_history) and you user table (only need the userid & username columns i guess.
Marco van Herwaarden
12-23-2005, 11:12 AM
Version 1.04 released.
Changes:
23-12-2005 v1.04
- Changed master="true" to false in cpnav file.
- Fixed bug where history was generated when running Update User Names from Update Counters
v1.03
- Changed the size of the 'mh_unm_changelimit' & 'mh_unm_changelimit' columns in the usergroup table
from TINYINT to SMALLINT to support values > 255
paulmjno
01-16-2006, 09:23 PM
You know what would make this hack perfect? If you could make it only for users who have been registered for a certain amount of time.
Marco van Herwaarden
01-19-2006, 06:33 PM
Like mini2 replied, all is controlled by Usergroups. Just setup a promotion to a new usergroup that will control access to the username change.
PennylessZ28
01-25-2006, 10:57 PM
for some reason, even then I have it set to " can change own username" anyone who isn't a admin can't change their name? Any reason why?
Marco van Herwaarden
01-26-2006, 06:51 PM
What is the limit in days set to?
eNforce
01-28-2006, 08:12 PM
for some reason, even then I have it set to " can change own username" anyone who isn't a admin can't change their name? Any reason why?
I'm having this problem as well, don't know what caused it, was working fine for about a month.
I have my limit set to once per day and users cannot change their name. If I set it the limit to "0" then they can.
Marco van Herwaarden
01-29-2006, 08:46 AM
I am not at home right now. Will have a look into it as soon as i am at home again (somewhere next week i hope).
Marco van Herwaarden
02-12-2006, 12:11 PM
for some reason, even then I have it set to " can change own username" anyone who isn't a admin can't change their name? Any reason why?
I'm having this problem as well, don't know what caused it, was working fine for about a month.
I have my limit set to once per day and users cannot change their name. If I set it the limit to "0" then they can.
I can find no reason why this could happen, can any of you 2 contact me in PM with url's and a test user to see it myself (+ temp admin access)
rnmcd
02-18-2006, 04:17 AM
But i have been thinking about not allowing a change if a name have been used before.
For example a popular guy on the board, decide to change his name, and a newbee immediate change his name the the popular guys old name.
Did you implement that change?
Also, do you think it should work fine with ver. 3.5.3?
Thanks.
Hornstar
02-18-2006, 06:45 AM
awesome, nice hack, glad I found this, this will be good for my premium members
moonclamp
02-19-2006, 02:10 AM
Does anyone know how this works with photopost_vbagallery?
Usuailly. if you change a name on there via the acp you have to run a maintanence script to update the gallery information.
Marco van Herwaarden
02-20-2006, 10:30 AM
Did you implement that change?No, see the changelog for all already implemented changes
Also, do you think it should work fine with ver. 3.5.3?
Yes it should work fine on 3.5.3
Marco van Herwaarden
02-20-2006, 10:32 AM
Does anyone know how this works with photopost_vbagallery?
Usuailly. if you change a name on there via the acp you have to run a maintanence script to update the gallery information.
IT will not change usernames automatic for external applications that store the username. But i don't see any problems if you would run that maintenance script.
Sounds like a bad integration to me, because it is really simple to create a plugin that acts on a username change.
Hornstar
02-28-2006, 11:44 PM
Can this be implemented with a points system like ebux https://vborg.vbsupport.ru/showthread.php?p=913069&posted=1#post913069
That would be really good if they also had to pay points to change there username
Thanks
Marco van Herwaarden
03-01-2006, 12:02 PM
Atm there is no version that could integrate these 2.
bada_bing
03-01-2006, 01:27 PM
Does anyone know how this works with photopost_vbagallery?
Usuailly. if you change a name on there via the acp you have to run a maintanence script to update the gallery information.
I was wondering where you run the maintanence script in VB or Photo post and where is it located and actually called. I have a few member names that I changed in VB that I need to update Photopost with ???
Thanks
Marco van Herwaarden
03-03-2006, 06:34 AM
I was wondering where you run the maintanence script in VB or Photo post and where is it located and actually called. I have a few member names that I changed in VB that I need to update Photopost with ???
Thanks
Please use the Photopost support forums for that question.
bada_bing
03-03-2006, 11:42 AM
Please use the Photopost support forums for that question.
Please read my question and I dont know if this is a photopost option or a VB option and hoping someone can answer it before I start posting on another board.
username12
03-04-2006, 02:25 AM
Works fine, except when I click on edit username/password/e-mail. When I click submit the result is a blank page (and no change).
Marco van Herwaarden
03-05-2006, 09:19 AM
Works fine, except when I click on edit username/password/e-mail. When I click submit the result is a blank page (and no change).
Try reuploading all the files. You are the first one to complain about this.
If you continue to have this problem, PM a ACP login so i can have a look.
rnmcd
03-06-2006, 07:21 PM
Anyone have the guts to try this on 3.5.4?
Marco van Herwaarden
03-07-2006, 06:06 AM
No guts needed, this works fine with 3.5.4
rnmcd
03-07-2006, 12:41 PM
You might get more installs if you are able to note that it works with 3.5.2 and 3.5.4.
Thanks for working on this!
Marco van Herwaarden
03-07-2006, 03:45 PM
That is the same with all hacks, mostly only the version for which it was originally released.
rnmcd
03-07-2006, 08:23 PM
That is the same with all hacks, mostly only the version for which it was originally released.
I am not quite understanding...are you saying most hack only work with the version it was originally released for but this one works with 3.5.4 too?
If so, you should mention that in the hack description because not everyone reads the entire thread.
Marco van Herwaarden
03-08-2006, 07:10 AM
No what i am sayin is that most hacks will work on most vB releases within the same major version. If you need a hack for 3.5.4, just look at all 3.5.x hacks, and have a look if anybody reported problems with the vB version you want to use it on.
There is only 1 version number choice when releasing a hack, so you can not indicate all the versions that it will work on.
Riku Yuizaki
03-13-2006, 03:59 AM
I installed this hack and now I can't edit or add usergroups, when I try to it just keeps saying "Rebuilt Bitfields" over and over and over and over. I am using 3.5.4.
carlosacgj
04-21-2006, 04:22 AM
friend, the usergroups problem of has been fixed? do you planing to relaase a new version for 3.5.4??
Marco van Herwaarden
05-12-2006, 01:48 PM
friend, the usergroups problem of has been fixed? do you planing to relaase a new version for 3.5.4??What usergroup problem?
rnmcd
05-12-2006, 03:30 PM
MarcoH64 is still alive!
Long time no read.
Marco van Herwaarden
05-12-2006, 03:33 PM
Slowly crawling back up. Expect me to be back full force soon.
hoovering over their Username
Surely that should read 'hovering' .. unless someone has a spare vBacuum that they can lend me?
:)
futuredood
06-30-2006, 01:42 AM
ty, installed and works perfect
futuredood
06-30-2006, 06:10 AM
IT will not change usernames automatic for external applications that store the username. But i don't see any problems if you would run that maintenance script.
Sounds like a bad integration to me, because it is really simple to create a plugin that acts on a username change.
Someone else had asked a question of how we could run that maintenance script.. can you assist? I have a couple of mods that don't update the names, mainly VB Journal and VB Gallery. I'm sure there's plenty of other mods where the usernames aren't being updated too.. thanks.
SaltedSlug
07-02-2006, 08:55 PM
I tried to install this on a 3.5.4 board, and I got "action cancelled" errors in the admincp main window, whenever I wanted to edit a template.
I really really want this hack for 3.5.4 :(
Edit: looking back a page, you say it works fine with 3.5.4... I'll make a test board and try again.
Edit edit:
Ok this is very strange indeed. I installed a new board - tested to see that editing templates worked - then just uploaded the FILES of this hack. Being overly cautious, i then checked again, and lo and behold; the errors were there again when I tried to edit a template. I hadn't even changed any files or overwritten anything.
Yet more strange: I deleted those files and the problem remained.
futuredood
07-03-2006, 06:24 AM
I'm actually on 3.5.4 and it works fine, except vbjournal doesn't get updated..
I tried to install this on a 3.5.4 board, and I got "action cancelled" errors in the admincp main window, whenever I wanted to edit a template.
I really really want this hack for 3.5.4 :(
Edit: looking back a page, you say it works fine with 3.5.4... I'll make a test board and try again.
Edit edit:
Ok this is very strange indeed. I installed a new board - tested to see that editing templates worked - then just uploaded the FILES of this hack. Being overly cautious, i then checked again, and lo and behold; the errors were there again when I tried to edit a template. I hadn't even changed any files or overwritten anything.
Yet more strange: I deleted those files and the problem remained.
davelr45
07-07-2006, 04:21 PM
I have followed the install instructions, but I think there is a problem with .php files now being .htm files...would rebuilding the bitfields AFTER updating the templates effect it?
jluerken
07-10-2006, 12:28 PM
Is this working for version 3.6 or will there be an update available soon?
beano33
07-27-2006, 09:41 PM
I installed in 3.6 beta 4 without any problem.
There's only one minor issue which I'm sure applies to any version it's installed in; hover on username to view history doesn't work in Opera.
Parker Clack
07-28-2006, 01:53 AM
Marco:
Do you think you could write this so if a member changes their username the original username can't be used by someone else until a certain time frame went by?
For example. Let's say I have a member by the name of William Fawkes and he decides he wanta to change his username to Bill Jones. Some else comes along and chooses William Fawkes for his username. I would like it so if someone else has used the username before someone else wouldn't be allowed to unless the original member said it was ok to give it up or a certain time frame had gone by.
The Chief
08-01-2006, 01:13 AM
I will try to install this tommorow, did anybody have any problems with this to install on a 3.5.2 board?
The Chief
08-01-2006, 04:04 PM
Installed and works like a charm so far!! :)
Thanks!!
FROGGYJ
08-01-2006, 06:11 PM
love this hack, but can someone help me out here. I set things up so moderators have permissions to change other's usernames.....but when I go into the modcp there is nothing listed. I'm sure I just have to edit the /modcp/index.php file and point it to the mh_unm_modusername.php, but I'm just not 100% sure how to do that. Basically I'm just looking for a solution to fix it so mods can do more then just "view profile". I want them to be able to edit them as well incase they need to change names, etc....
Neo_obs
08-15-2006, 06:34 AM
serious problem for some reason when changing usergroup permissions i get this error and then redirected and it wont save the permissions. I am using 3.5.0
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635
Neo_obs
08-15-2006, 06:54 AM
Warning: Invalid argument supplied for foreach() in /includes/class_bitfield_builder.php on line 200
Warning: Invalid argument supplied for foreach() in /includes/class_bitfield_builder.php on line 200
Warning: Invalid argument supplied for foreach() in /includes/class_bitfield_builder.php on line 200
I also get this error when updating bitfields. Is there something up with it?
could it be another hack interfering with yours it doesnt do it on my test forum but its running 3.5.4
futuredood
08-16-2006, 01:15 PM
can we get this going with 3.6?
grayloon
08-16-2006, 03:52 PM
can we get this going with 3.6?
I would love to use this with 3.6!
Nitesh
08-18-2006, 11:15 AM
I tried this with 3.6 but comes up with a error saying the username is already in use no matter what username i put in.
Anyone else had any luck with getting this to work in 3.6?
Acido
08-26-2006, 08:32 PM
I tried this with 3.6 but comes up with a error saying the username is already in use no matter what username i put in.
Anyone else had any luck with getting this to work in 3.6?
I have it running fine in 3.6
But i dont use the postbit feature. I also have deactivated the plugins for showthread.
CouchMonkey
09-14-2006, 03:27 PM
I too would like this for my 3.6 board. This is a great hack!
dcpaq2xx
09-18-2006, 05:57 PM
I think Marco has given up on all his hacks for some reason.
Doug
dcpaq2xx
09-20-2006, 10:16 PM
I have it running fine in 3.6
But i dont use the postbit feature. I also have deactivated the plugins for showthread.
Is there anyone else who is using this on VB 3.6 or 3.6.1 respectively?
Also what exactly is the "postbit feature' of this?
Thanks
Doug
gooberface
09-20-2006, 11:47 PM
To let everyone know, I just installed this on 3.6.0, and it works fine. I tested everything out. I'm going to upgrade to 3.6.1 and i'll come back and let everyone know if it worked. I didn't disable anything like the guy above said he had to do.
Has anybody got this to work with 3.6.1? If so, please post exactly what you had to do to get to work.
Thanks,
Tane
Acido
10-16-2006, 12:09 AM
Is there anyone else who is using this on VB 3.6 or 3.6.1 respectively?
Also what exactly is the "postbit feature' of this?
Thanks
Doug
I use it on vbulletin 3.6.0, 3.6.1 and 3.6.2
All work fine.
The postbit feature is show on mouse over the username, the last username before change it. But it add many querys to the showthreads page, so i deactivate the plugin "Add Username history to postbit(legacy)"
I think that the best way is send the last username to a new field in the user table, the the main query will call the history avoiding any extra query on showthread.
Still trying.
Cya!
ibuddy
10-17-2006, 07:28 AM
We need this for 3.6.2 baddd
McMendo
11-06-2006, 09:34 PM
I just installed it on 3.6.2. First thing I notice is that usernames show duplicated on the posts:
User User
Any idea how to fix this?
malmazan
11-09-2006, 12:53 PM
We need this for 3.6.2 baddd
It does not work for 3.6.2 ?
Bummer, i was counting on this mod. I need it more than baaaad.
McMendo
11-09-2006, 01:22 PM
It works. Sort of. See my post right above yours.
Snake
11-12-2006, 05:01 PM
Is this gonna work just fine on v3.6.3? Can someone please confirm this?
McMendo
11-13-2006, 11:14 PM
It does not work for 3.6.2 ?
Bummer, i was counting on this mod. I need it more than baaaad.It's working for me on 3.6.2
Shazz
11-13-2006, 11:46 PM
*Confirmed
Snake
12-22-2006, 07:59 PM
Marco, I don't see the username change fields while in the Edit Password. It was working before but not now after I've moved servers. Any idea?
JAYEMULE
01-14-2007, 02:41 PM
Will this work on VB 3.6 ? Would like to install if it does.
Snake
01-16-2007, 07:23 AM
Yes it does.
thincom2000
01-30-2007, 04:01 AM
I ended up writing a whole hack for reducing queries on showthread.php because I didn't realize this hack was causing it...
Acido's suggestion to add last username to the users table sounds like something I will do.
Black Widow
02-12-2007, 06:07 PM
thanks.
installed.
Black Widow
02-13-2007, 03:01 PM
thanks.
installed...
PimvanJ
02-19-2007, 05:06 PM
Any ports for 3.6.4 in progress?
Snake
02-19-2007, 07:28 PM
I have been waiting for this, too.
PimvanJ
02-20-2007, 10:16 AM
Well, this morning I try to give this a shot on my 3.6.4 board.
Guess what? After doing ALL the necessary template edits it just works without further editing...:p
So, reported working in 3.6.4 :)
Shazz
02-20-2007, 11:21 AM
Well, this morning I try to give this a shot on my 3.6.4 board.
Guess what? After doing ALL the necessary template edits it just works without further editing...:p
So, reported working in 3.6.4 :)
There are slight bugs in 3.6 ... Which have been posted a few pages back -.-
Snake
02-20-2007, 05:06 PM
Shazz is right. Also I have reported a couple of bugs to Marco in which no one was really aware of it so yeah. We all are waiting for the update of this hack.
Kryative
04-10-2007, 12:28 AM
when i uploaded the product-mh_unm file to my vb, and did all the template changes the option for name change will not show up in my admin option panel....wats wrong?
EDIT: and im using vb 3.6.2
Burley
05-07-2007, 07:40 AM
Anybody know (or have an idea) when an update for this one will be released so it works perfectly on 3.6.5?
MarioK
06-17-2007, 03:14 PM
Will this work on VB 3.6.7 ? Would like to install if it does.
Shazz
06-17-2007, 04:04 PM
Will this work on VB 3.6.7 ? Would like to install if it does.
Read my post on #168 :)
Snake
06-18-2007, 07:32 PM
Bump! Marco, please don't hesitate to update this hack to 3.6.7. :(
Shazz
06-18-2007, 07:47 PM
Bump! Marco, please don't hesitate to update this hack to 3.6.7. :(
Hes been busy, and hasen't been on since June 6th. Hasen't updated any of his mods. I doubt he will :erm:
Snake
06-21-2007, 06:01 PM
Oh no, that's not good. :(
Lou Jacob
06-25-2007, 04:59 PM
Is anyone aware of any alternatives to this mod? I attempted to install on 3.6.4 and it does not work (as far as I can tell).
Lou
Shazz
06-25-2007, 05:02 PM
Is anyone aware of any alternatives to this mod? I attempted to install on 3.6.4 and it does not work (as far as I can tell).
Lou
If youve done it correctly it should with a few minor bugs
USAMustangs.com
07-10-2007, 03:08 AM
If youve done it correctly it should with a few minor bugs
will this be updated to work bug free on 3.6.5?
eNtitY~
08-21-2007, 08:09 PM
This would be PERFECT for what I'm looking for if it worked on 3.6.7
abrecher
08-21-2007, 08:14 PM
Ditto!
cristinag
09-07-2007, 11:43 AM
Exactly what I've been looking for. Thank you! Installed!
manofphat
09-15-2007, 12:57 AM
Seems to be working correctly on 3.6.7 PL1 for me.
Thanks! Installed!
john1744
12-22-2007, 06:04 AM
Darn seems 3.7.0 totally broke this as the templates are totally different for the usercp.
Any ideas?
Will this work for 3.6.x?
pokesph
02-06-2008, 08:08 PM
3.6.7 .. can't get it to work on a restored install (new vB files, old database, etc)
anyone got any ideas on how to get it to work on 3.6.x effectively?
Or better yet, how to re-add it without the already existing data (tables) being dropped?
landspeed
02-24-2008, 03:00 AM
This works fine in 3.6.7. Are you sure you enabled the feature in the usergroups? Did you modify the templates?
atomhead
03-07-2008, 04:01 PM
Working fine for me latest version of vB (3.6.8 patch 2)
SAWASCI
03-08-2008, 06:09 PM
does it works with 3.7.0 b5 ???????? please work.
SAWASCI
03-09-2008, 01:30 PM
please say me that is this add-on work with 370 b5 ???????
Boofo
03-09-2008, 02:07 PM
Try it and see.
SAWASCI
03-09-2008, 02:31 PM
i m afraid of my database maybe it can create error on my db..?
or template..
working great on 3.7 rc1!!! ;)
Crrrazzzy
04-01-2008, 12:48 AM
When trying to change username, I get the following error. I fill in password and both username fields.
Please complete the required field "Username".
Any ideas why?
Kadence
04-09-2008, 02:39 PM
Am I correct in assuming that the following are the queries to allow allow users to view 10 changes, without manually editing each group in admincp?
UPDATE usergroup SET `mh_unm_permissions`='4' WHERE 1;
UPDATE usergroup SET `mh_unm_viewhistorylimit`='10' WHERE 1;
Citizen
05-30-2008, 04:43 PM
Can anyone confirm this working on 3.7.1? I dont have a test site otherwise I would test it.
KempoMRK
06-04-2008, 09:48 PM
Can anyone confirm this working on 3.7.1? I dont have a test site otherwise I would test it.
I'd be interested in knowing this too.
GoldenChaos
06-07-2008, 11:46 AM
Could somebody please report on this working on 3.7.1? I'd very much like to install this.
GoldenChaos
06-10-2008, 04:51 PM
I took the plunge and installed it - it works 100% perfectly with vB 3.7.1 Patch Level 1. My users are thoroughly enjoying this hack! It was a breeze to install and set up ;)... and with a six month time limit between name changes, I don't think anybody will be changing it to anything silly anytime soon.
Shazz
06-10-2008, 05:48 PM
I took the plunge and installed it - it works 100% perfectly with vB 3.7.1 Patch Level 1. My users are thoroughly enjoying this hack! It was a breeze to install and set up ;)... and with a six month time limit between name changes, I don't think anybody will be changing it to anything silly anytime soon.
Still has many bugs but for a 3.5 hack going to 3.7+ is still amazing that it runs without any updates :)
pokesph
06-11-2008, 09:32 PM
would love to see an update of this.. it's breaking every time we update vB currently some functions aren't working on 3.7.1PL1
If anyone has 'fixed' this for their board, how about a detailed post of what all you did :)
SAWASCI
06-16-2008, 12:35 PM
please update for 371pl1
bada_bing
06-16-2008, 01:46 PM
I have just installed this and when I try and change the usergroup permission on this I get this database error please help
Database error in vBulletin 3.5.3:
Invalid SQL:
UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`anymediapermissions` = '3',
`ecdownloadpermissions` = '16383',
`ecexcludecatlist` = '',
`ecdownloadsmaxuploadtotal` = '-1',
`ecdownloadsmaxdailydl` = '-1',
`ecdownloadsmaxdailyfiles` = '-1',
`ecdownloaddelaygrp` = '-1',
`glossarypermissions` = '127',
`itraderpermissions` = '7',
`mh_unm_permissions` = '1',
`mh_unm_changelimit` = '30',
`mh_unm_viewhistorylimit` = '1',
`forumpermissions` = '1074790399',
`attachlimit` = '0',
`profileviewpermissions` = '0',
`vbarticles` = '4095',
`pmquota` = '375',
`pmpermissions` = '3',
`pmsendmax` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205389759',
`genericoptions` = '31',
`profilepicmaxwidth` = '200',
`profilepicmaxheight` = '250',
`profilepicmaxsize` = '25600',
`avatarmaxwidth` = '90',
`avatarmaxheight` = '90',
`avatarmaxsize` = '20000'
WHERE usergroupid=6;
MySQL Error : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054
Date : Monday, June 16th 2008 @ 09:44:28 AM
Script : http://www.mysite.com/forums/admincp/usergroup.php
Referrer : http://www.xxxxxx.com/forums/admincp/usergroup.php?do=edit&usergroupid=6
IP Address : 67.59.x.x
Username : XXXXXXXXXXX
Classname : vb_database
bada_bing
06-16-2008, 02:17 PM
hack uninstalled until I can get a fix ..
ibuddy
07-14-2008, 01:40 AM
someone needs to make this for 3.7 badly
sava700
07-14-2008, 04:09 PM
yeah..I just noticed that this makes a big problem when you view someones profile...it added a huge Change username box on the top right side of the page when you view a profile.
:confused:
Shazz
07-14-2008, 04:19 PM
yeah..I just noticed that this makes a big problem when you view someones profile...it added a huge Change username box on the top right side of the page when you view a profile.
:confused:
What vB version are you using
PinkDaisy
08-10-2008, 05:18 PM
I have this installed on 3.7.2 and it seems to work fine so far!
ringleader
10-21-2008, 05:26 PM
Yup, I installed on 3.7.2 PL2 as well and it's all working perfectly fine.
The only thing is that the groups 'lastposter' on forum/group.php doesn't change, but beggars can't be choosers!
Maxi62
11-02-2008, 11:47 AM
I search this mod for VB 3.6.7 ! Gives this?
Have a update this work on VB 3.6.7 ?
utahraves
12-23-2008, 06:30 PM
I would love this in 3.7.x if anyone knows what things need to be changed to match 3.7 code. :)
fuldon
01-18-2009, 12:10 PM
Please, upgrade this hack to 3.8.x vB.
rainyleaves
01-23-2009, 11:00 AM
I realy love this mod.
Pleeeeeeeeeeeease, Upgrade this mod to VB3.8.X. :)
nestaron
01-26-2009, 11:23 PM
I got it works with 3.7.2, I have not tried it on 3.8.0 yet.
abrecher
03-04-2009, 05:37 PM
Has anybody gotten this to work successfully on 3.8 ?
Rickeo
03-27-2009, 08:15 AM
Please release for 3.8.1
voter
04-15-2009, 09:36 AM
Works in 3.8.2
One exception for installation.
in MEMBERINFO you need to look
<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
And add after
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<li class="thead"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></li>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
The rest as it is written in instruction in original.
Twelve-60
06-12-2009, 12:29 AM
Currently running on v3.8.3 using the fix above :)
- Twelve-60
Dumpfbacke1999
06-12-2009, 08:50 AM
Currently running on v3.8.3 using the fix above :)
- Twelve-60
Hey :)
is this the version 1.04 like here https://vborg.vbsupport.ru/showthread.php?t=101326 ?
BIG THX :)
pmflav1
07-01-2009, 11:41 AM
Guessing it is, as it's the exact same address as here :)
cbiweb
08-06-2009, 02:06 PM
Followed the installation instructions to the letter, but it's not working. In fact...
There is no 'Username Management Permissions' in Usergroup Options.
There is no sign of anything in vBulletin Options.
I see no sign of any ability to change the settings anywhere in the ACP.
Will this hack be updated for 3.8.x soon? Please??
bada_bing
08-06-2009, 05:54 PM
I also installed on 3.8.3 with provided template edit.. Thanks
itviet
09-19-2009, 02:36 AM
work with 3.8.4
Switch3130
09-21-2009, 10:53 PM
Is there any way I can add this and limit my members only having one change a month?
tommythejoat
10-17-2009, 05:12 PM
I may be being too cautious. I have not yet installed the hack. When I look for
<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
It is not found.
Is that part of the template installed by the hack?
I am running 3.8.4 so it is possible there is a difference from 3.8.2, but I did not think there was.
:confused:
DieselMinded
12-18-2009, 09:43 AM
need to have this only allow new members to change there name up till 5 days of registration so we can tell them to change there name
smooth-c
12-18-2009, 01:01 PM
Is this working for 4.0?
Mukashi
01-17-2010, 02:29 PM
Doesn't appear to be. Going to be one of the most missed addons by my members if so. It's just worked for me for so long, I hadn't even realized that it hadn't been updated in ages, or that it might not be updated to vB4.
I note the author is still browsing these forums on a regular basis though, so maybe there's hope. If they won't pick it up, maybe someone else will.
utahraves
02-09-2010, 07:21 PM
Doesn't appear to be. Going to be one of the most missed addons by my members if so. It's just worked for me for so long, I hadn't even realized that it hadn't been updated in ages, or that it might not be updated to vB4.
I note the author is still browsing these forums on a regular basis though, so maybe there's hope. If they won't pick it up, maybe someone else will.
I would have to agree. I LOVED THIS APP! My users love changing their user names and I am not always around to do it for them :(
Please update! PLEASE!
P.S. The developer is a VB.org coordinator... lol
Dr. Katz
02-11-2010, 12:01 AM
I would like this app could work in vBulletin 4.
abrecher
02-11-2010, 12:20 AM
I would like this app could work in vBulletin 4.
I'll pay for this
Miras
03-23-2010, 03:07 PM
for vB4 i'm using this hack: https://vborg.vbsupport.ru/showthread.php?t=236980
Budweiser
07-25-2010, 06:14 PM
Please, upgrade this hack to 3.8.x vB.
Ditto that... :up:
Works for 3.8.8
Upload all files and perform template edits in install.txt file
Template changes:
In template 'MEMBERINFO', find:
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
Add under:
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<td class="vbmenu_control"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></td>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
-----------------------------------------------------------------------------------------------------------
In template 'modifypassword' (Modify User Option Templates), find:
<div>$vbphrase[confirm_new_email_address]:</div>
<div><input type="text" class="bginput" name="emailconfirm" value="$bbuserinfo[email]" size="50" maxlength="50" dir="ltr" /></div>
</td>
</tr>
</table>
</fieldset>
Add under:
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$bbuserinfo[mh_unm_can_change_username]">
<fieldset class="fieldset">
<legend>$vbphrase[mh_unm_change_username] ($vbphrase[optional])</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<div>$vbphrase[mh_unm_new_username]:</div>
<div><input type="text" class="bginput" name="mh_unm_new_username" value="$bbuserinfo[mh_unm_new_username]" size="50" maxlength="50" dir="ltr" /></div>
</td>
</tr>
<tr>
<td>
<div>$vbphrase[mh_unm_confirm_new_username]:</div>
<div><input type="text" class="bginput" name="mh_unm_confirm_new_username" size="50" maxlength="50" dir="ltr" /></div>
</td>
</tr>
</table>
</fieldset>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
-----------------------------------------------------------------------------------------------------------
In template 'postbit', find:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
REPLACE by:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]" $post[mh_unm_username_history]>$post[musername]</a>
-----------------------------------------------------------------------------------------------------------
In template 'postbit_legacy', find:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
REPLACE by:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]" $post[mh_unm_username_history]>$post[musername]</a>
-----------------------------------------------------------------------------------------------------------
Currently testing and modifying for 4.x
khanhdom
11-27-2010, 12:16 AM
awesome can't wait for 4.X
Wonksta
01-19-2011, 11:08 PM
Seems like if I set 365 days per change it doesn't restrict that usergroup it lets them change their username as many times as they want..
mediabutton
02-03-2011, 04:08 PM
awesome can't wait for 4.X
me too!
DanWest
07-25-2011, 03:05 PM
Anyone know if the current version works for 4.X?
HMBeaty
07-25-2011, 11:29 PM
Anyone know if the current version works for 4.X?
Since this was made for 3.5.x, no, it will not work for 4.x.x
kiradotee
08-10-2011, 06:42 AM
Will this work on 3.8.* ?
danyxxx
09-12-2011, 07:05 PM
Works for 3.8.8
Upload all files and perform template edits in install.txt file
Template changes:
In template 'MEMBERINFO', find:
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
Add under:
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<td class="vbmenu_control"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></td>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
-----------------------------------------------------------------------------------------------------------
In template 'modifypassword' (Modify User Option Templates), find:
<div>$vbphrase[confirm_new_email_address]:</div>
<div><input type="text" class="bginput" name="emailconfirm" value="$bbuserinfo[email]" size="50" maxlength="50" dir="ltr" /></div>
</td>
</tr>
</table>
</fieldset>
Add under:
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$bbuserinfo[mh_unm_can_change_username]">
<fieldset class="fieldset">
<legend>$vbphrase[mh_unm_change_username] ($vbphrase[optional])</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<div>$vbphrase[mh_unm_new_username]:</div>
<div><input type="text" class="bginput" name="mh_unm_new_username" value="$bbuserinfo[mh_unm_new_username]" size="50" maxlength="50" dir="ltr" /></div>
</td>
</tr>
<tr>
<td>
<div>$vbphrase[mh_unm_confirm_new_username]:</div>
<div><input type="text" class="bginput" name="mh_unm_confirm_new_username" size="50" maxlength="50" dir="ltr" /></div>
</td>
</tr>
</table>
</fieldset>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
-----------------------------------------------------------------------------------------------------------
In template 'postbit', find:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
REPLACE by:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]" $post[mh_unm_username_history]>$post[musername]</a>
-----------------------------------------------------------------------------------------------------------
In template 'postbit_legacy', find:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
REPLACE by:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]" $post[mh_unm_username_history]>$post[musername]</a>
-----------------------------------------------------------------------------------------------------------
Currently testing and modifying for 4.x
I have a big problem, I can't find:
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
In MEMBERINFO .
------------
Wha I must do ?
SoftWareRevue
01-24-2013, 02:01 PM
Wha I must do ?
Have you tried searching for?<if condition="can_moderate()">You may have another plugin that's wrapped in there somewhere.
Tyran1
05-20-2013, 03:10 PM
Have you tried searching for?<if condition="can_moderate()">You may have another plugin that's wrapped in there somewhere.
Thijs:
<if condition="$show['edit_profile']">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
add under:
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<li class="thead"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></li>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
Works with 3.8.7 !!
Tyran1
05-20-2013, 03:26 PM
The Old Username is not free !!!! Help!!
edrecovery
10-06-2013, 02:44 PM
would someone be willing to do the templet edits/changes for me? I'm not good at doing that, and I do not want to mess up my 3.8.7 board. PM me, and I'll give you a temp admin account.
edrecovery
01-03-2014, 01:02 AM
I have it installed, but there's no fields to change the username. it only gives me change user name and comform username change, but I'm not able to type in it.
ozzy47
01-03-2014, 01:06 AM
I have it installed, but there's no fields to change the username. it only gives me change user name and comform username change, but I'm not able to type in it.
Your running, vB Version: 3.5.2?
elteejay
04-04-2014, 09:10 PM
is there anyway to get this plugin today? I cant find it anywhere and its archived but Ive heard that it still works fine on 3.8.
OzzModz
04-04-2014, 10:47 PM
No this can not be downloaded anymore.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.