Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Deactivate user doesn't work

Asked Modified Viewed 2,550 times
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
asked
Member

When I go into the admin panel under members and try to deactivate a user, it doesn't work. They're still under the members section and completely normal

Any idea why it isn't working?

I use the scroll down menu, select deactivate and it goes back to the screen showing the member with the rest of the members.
0 replies

4 posts

G
GMUDuckman
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
answered
Senior Member

appears to be a bug with 7.01.02... it doesn't work for me either.
0 replies
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
answered
Member

Well... are they going to fix it?
0 replies
— 7 years later —
P
pattyland
P
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 4 threads in the forums
answered
Junior Member

This thread is old, but it's still the first result if you google for problems with account deactivation.

I don't know why, but PHP Fusion tries to send an email if a user if get's deactivated, which was neither working in my case nor wanted. And if the email cannot be sent, it simply does not deactivate the user. Very strange behaviour...

Simply comment out line 503 and 506 in /administration/member.php:

//if (sendemail($data['user_name'], $data['user_email'], $settings['siteusername'], $settings['siteemail'], $locale['email_deactivate_subject'], $message)) {
            $result = dbquery("UPDATE ".DB_USERS." SET user_status='7', user_actiontime='".$response_required."' WHERE user_id='".$user_id."'");
            suspend_log($user_id, 7);
         //}


Yes, core modification are bad but this is imho a bug.
0 replies
D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

C
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
G
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
P
P
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 4 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet