How to delete an user?

Permalink
Hi there,

It seems a bit crazy, but I can't find where I can delete an user?

I looked here, and all about user management is in there, but not deletion.

http://www.concrete5.org/help/editing/user-management/...

 
Maynar replied on at Permalink Reply
Maynar
When opened a user's profile after searching it there will be a block available with "Delete user".

In the profile, not the editor.
Briann replied on at Permalink Reply
Yes I already saw that, but there's no link or button? I just see the header of it that says Delete User...

What am I doing wrong?
Maynar replied on at Permalink Reply
Maynar
No button?
You are not trying to delete the super user by any chance? the user created upon installation?
Briann replied on at Permalink Reply
No, I'm 100% sure I'm not trying to do that.
Maynar replied on at Permalink Reply
Maynar
I'm out of idea's, someone else jump in please!
Remo replied on at Permalink Reply 1 Attachment
Remo
can you create a screenshot like the one I've attached?
Briann replied on at Permalink Reply 1 Attachment
Here you are... I have this problem at an 5.3.0, 5.3.1.1, and on a copy of the 5.3.1.1 at another hosting... I really don't know what it could be.
frz replied on at Permalink Reply
frz
What browser is this, and are you using the same browser on every install your testing?

try something that isn't IE.
Briann replied on at Permalink Reply
I've tried in both IE and FF, but it doesn't make sense. :(

That screenshot is in IE7.

I'll try a new (separate) install, to see if the problem occurs there...
frz replied on at Permalink Reply
frz
try a site athttp://getconcrete5.org/demo

use firefox or safari.. i know in general ie works fine but there are occasional css button issues with ie7 that i know about...


if you see that on our demo, something is super goofy, as i don't think anyone else does?
Remo replied on at Permalink Reply
Remo
All the buttons like "Sign in as User" are using the same method (button_js). It's therefore quite unlikely to be a browser problem as long as there are not JavaScript errors..

The code around the delete button is quite simple. It prints a message if you're trying to delete the super user account and otherwise it should show a button..

Sorry I can't help you either. I guess you have to dig around the code (concrete/single_pages/dashboard/users/search.php)
frz replied on at Permalink Reply
frz
well if he's setup c5 on many servers, with many versions, and he's always getting it - it strikes me its unlikely to be a server config issue.

I'd like to see him try our demo, because I know it works for people there.

If its not working there, than I think it is pretty safe to assume it is a browser issue in some way.
Remo replied on at Permalink Reply
Remo
.. didn't see he's having this issue on several sites..

interesting problem tho.. No idea what could be wrong. The code behind the delete button is quite simple, the other buttons are working .. hmm
Briann replied on at Permalink Reply
I started the demo, but there was only the super user. So I checked if there was some text that shows that the super user can't be deleted, and there was.

So, I wanted to check if it was also there in my installation. And it was! If I checked another user, the button was also back!

I haven't changed anything!

BTW, I forgot to mention that I tested it on 2 computers, 1 XP, 1 Vista, with IE7 en FF. On both the same problem, but now it seems gone!

Really don't know why, but thanks for all your input! Problem seems solved.
frz replied on at Permalink Reply
frz
I didn't tell you about my magic wand, did i?
;-)

-frz
Briann replied on at Permalink Reply
nope.. but it seems that you have one! ;-)
kenln replied on at Permalink Reply
I cannot delete ANY users.

I see the delete bar but not button.

I just created (so they are not super users) two users in two different test sites and in neither sight can I delete the test users.

I'm just not testing C5 and this is a bit frustrating.
Briann replied on at Permalink Reply
I've just checked at my site, and it isn't visible... Maybe it is visible at my private computer (can't check now) (using FF) but I don' t know why it's not here on my business pc... (IE7)

Any ideas?
Remo replied on at Permalink Reply
Remo
can you try to have a look at the source code, if you're not familiar with html, save the source as a text file and upload it here.

I'd like to know whether the html code for the button is actually there or not.
kenln replied on at Permalink Reply
Upload the html for which page?

I had this problem 3 - 4weeks ago and the button came back. Now it's gone again and hasn't been seen since?
Remo replied on at Permalink Reply
Remo
the html code of the page in the dashboard where you can't see the button anymore
Briann replied on at Permalink Reply
First, sorry for the time it took. On the computer where I was working, IE wouldn't show me the source? And then I forgot when I was at home on FF. :-( But now I've copied the source. The button is here right now.

<h1><span>Delete User</span></h1>  
   <div class="ccm-dashboard-inner">  
         <script type="text/javascript">  
         deleteUser = function() {  
            if (confirm('Are you sure you want to permanently remove this user?')) {   
               location.href = "###censored URL with user id###";              
            }  
         }  
         </script>  
         <a href="javascript:void(0)" onclick="deleteUser()" class="ccm-button" ><span>Delete User Account</span></a>  
            <div class="ccm-spacer"></div>  
   </div>


(this is only the part of the source that's relevant)

So, the button is there, and also visible in the source. I'll try to copy the source once more when the button is gone.

Edit: I just checked in IE and FF. In FF it's still visible, but in IE it's invisible. Now I'm doubting if I saw it ever disappear in FF. Again, IE won't show me the source.