![]() |
I wrote a small modification to allow users to change their usernames, they can change their username ok and post at the forums etc.
BUT when they go to view a forum where only admins and moderators can post they get the standard No Permissions or You need to be registered error. |
Well, that's perfectly normal. If the forum is only for Administrators and Moderators, then they shouldn't be allowed to view it.
Do you want them to be able to view - but not post in the forum? |
sorted now :)
i had it set on private forum =/ |
Can you release your hack?
It sounds nice, and very useful. :) |
Instructions are in the file. Isn't too hard to install.
If you need any help just post back here. Look at http://vbulletin.com/forum/showthrea...threadid=24722 latest verion from there |
If a user has...say....20 posts, and they go and change their username, do all their posts automatically update with the new username? If you have a members only board with a lot of members and you have several members changing their usernames, you're probably going to have problems with posts having invalid usernames, etc., unless you periodically update user info, post counts, etc., via the Admin CP.
|
The user's ID does not change. Everything the user has posted before is associated with his ID, including his username.
So yes, all of past posts and everything else will have the new username. |
Nope, only the user ID is stored in the thread table not the Username. So when the username changes, it changes it for all posts made by the user.
|
I get the following error after applying the hack to member.php:
Code:
Parse error: parse error in /---removed---/member.php on line 1298 |
Dimitri, this is the code you will need to paste:
PHP Code:
|
my bad :p
updated txt file and reloaded it i just copied and pasted from my member.txt file, never bothered to check the code i had copied -_- thanks for pointing it out firefly |
No problem. :)
Great hack, you should release it! :D |
Is there a way that you could require a certain post count before a user can change their name?
|
ok updated so you can set a amount of posts needed before they can change username, look at
http://vbulletin.com/forum/showthrea...threadid=24722 for latest version |
Hmmm doesn't leave a whole lot of consistency..
Anyway, you don't need a Hack for this. You should require at least one field (username) to remain constant. You can then give the members a display name which they can change at will. All without hacking needed at all. Go into the Admin Control Panel and scroll down to the User Profile Field section. Create a new field called display name and make it required. Then edit your templates to display this value instead of the username. Same effect, no hacking, no mess. It will require hacking to change it based on posts though. |
Can u please tell me, which templates I must edit ??? I think this will be not only one or two :) ?
Many Thx Santa |
You need to edit the postbit template.
|
many thx for this fast answer
Santa |
All times are GMT. The time now is 03:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|