AbhishekRShah
2011-06-22T12:21:06Z
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
2011-06-23T01:26:32Z
try

YetAnotherForum.Net/admin/pages/edituser.ascx
YetAnotherForum.Net/Controls/editUserSuspend.ascx
AbhishekRShah
2011-06-23T04:13:31Z
I will give it a try..n if in case of more query, will post here.
AbhishekRShah
2011-06-23T04:54:11Z
How do we enable and disable user in forum (No user suspend)
Also, is it possible to chnage user name?
tha_watcha
2011-06-23T11:42:55Z
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.

UserPostedImage
AbhishekRShah
2011-06-23T11:58:21Z
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
2011-06-24T01:59:14Z
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

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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved