YAFLogo

AbhishekRShah
12 years ago
Can any one help me where is the code for suspending a user and updating user information?
File names and functions doing these tasks are required.
Sponsor

Dennis Hevener
12 years ago
try

YetAnotherForum.Net/admin/pages/edituser.ascx
YetAnotherForum.Net/Controls/editUserSuspend.ascx
AbhishekRShah
12 years ago
I will give it a try..n if in case of more query, will post here.
AbhishekRShah
12 years ago
How do we enable and disable user in forum (No user suspend)
Also, is it possible to chnage user name?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
12 years ago
Originally Posted by: AbhishekRShah 

How do we enable and disable user in forum (No user suspend)



There is no other way. And why did you dont want to use the suspend user function?



Originally Posted by: AbhishekRShah 


Also, is it possible to chnage user name?



The Username can not be changed. Only the Display Name (If Enabled) can be changed by the Admin or the User.
AbhishekRShah
12 years ago
When I delete a user, all his/her post's author is marked as Guest.
So, instead of deleting user record, I want to disable the user?
Any work around?

Which function from which file can be used to change display name?
Dennis Hevener
12 years ago
Just change his password and email address so he can't log in or change his password.

You can change his display name in admin/users and roles/users/edit
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button