Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
mrix
Client



Joined: Dec 04, 2004
Posts: 757

PostPosted: Tue Feb 15, 2011 8:28 am Reply with quote

Hello all, some time ago I deactivated one of my users and was wondering if its possible to reactivate them? all their topics / posts are still in place.
Thanks all
mrix
 
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Tue Feb 15, 2011 9:09 am Reply with quote

Unless there is some other more elegant way:

In the user table, select the user in question in the DB, locate "user_level" and change it to "1" and "user_active" change it to "1". The only problem is that the username will remain "Deactivated User".

Edit: "username" should be "Real Name".
 
View user's profile Send private message
mrix







PostPosted: Tue Feb 15, 2011 9:54 am Reply with quote

Thanks for a solution, unfortunately with 10,000+ members is will be very difficult to locate the username, unless there is some kind of search system?
Thanks
mrix
 
dad7732







PostPosted: Tue Feb 15, 2011 10:00 am Reply with quote

Using PHPMYAdmin, bring up your DB and click on the "Search" tab. Enter the username, then from the dropdown list, select the "users" table, then click GO.
 
mrix







PostPosted: Tue Feb 15, 2011 10:04 am Reply with quote

Fantastic! and big thanks.
mrix
 
dad7732







PostPosted: Tue Feb 15, 2011 10:12 am Reply with quote

mrix wrote:
Fantastic! and big thanks.
mrix


I assume "success"?

Dance-Y
 
mrix







PostPosted: Tue Feb 15, 2011 10:27 am Reply with quote

Hi there, yes worked totally fine.
Thanks
mrix
 
dad7732







PostPosted: Tue Feb 15, 2011 10:30 am Reply with quote

Maybe a "Reactivate User" button?! Something for the "back burner" as I can't remember ever reactivating a user.

Cheers
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 15, 2011 11:25 am Reply with quote

If there is a possibility of reactivating a user he should only be suspended. The only point of "deactivating" a user is so that his/her email is banned. I am currently working on YA and looking at removing the "deactivate" option. it really servers no purpose. I figure when deleting a user we will ask if the username and email should be added to the ban list.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
dad7732







PostPosted: Tue Feb 15, 2011 1:00 pm Reply with quote

Whatever it takes to permanently disallow access, I'm all for it, no matter the method. "Suspending" a user only allows for the suspend period to expire after which the user can simply carry on with whatever activity that caused the suspension. I never believed in "suspension" for that reason. They're either gone or not.

Cheers, thanks for the efforts.
 
Palbin







PostPosted: Tue Feb 15, 2011 1:17 pm Reply with quote

We do not have time based suspensions. Suspension in the terms that I am using it is essentially deactivation in the normal sense.
 
dad7732







PostPosted: Tue Feb 15, 2011 1:22 pm Reply with quote

Ok, but I think of being suspended like being suspended for three days at school. Smile

But in that case, we need to arrive at a single term of usage to effect termination of account. Such as, "Your Account Has Been Terminated" not suspended or deactivated, IMHO of course.
 
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Tue Feb 15, 2011 3:17 pm Reply with quote

Quote:
. I am currently working on YA and looking at removing the "deactivate" option. it really servers no purpose


That would be a great improvement Palbin. Just a single delete function would be fine. While you are in there (Smile) if you could find a way to distinguish between a waiting user who has been approved and awaiting activation from one who is pending approval it would be a great service. I think we need some kind of field in users_temp that indicates date of approval and then some fixes to the waiting content box and the waiting users tab of YA to let us know which users are waiting approval versus those who just haven't responded to activation email.
 
View user's profile Send private message Visit poster's website
dad7732







PostPosted: Tue Feb 15, 2011 3:25 pm Reply with quote

Good suggestion. As it stands now I have to go to "Resend Email" to delete a pending activation rather than use "Deny" in the "Edit Users" menu with some sort of reason why their applicaiton is no longer pending.

I get a large number of "pending" users that don't follow directions to respond to the activation email.
 
fkelly







PostPosted: Tue Feb 15, 2011 4:01 pm Reply with quote

My fellow admin and I on my site use a "pending users" block that is only visible to admins. We stick it center down. Each time we approve a user we go in and stick their username and the date and our initials. When they activate or if they fail to do so and get deleted we go in and update the block. This would be a p.i.t.a. if you got a lot of pending users but we don't and it's better than approving them two or three times cause you forget which ones you approved and which you didn't. Having this function "automated" through RNYA would be great. I'll defer to Palbin on how to do this but I think it will require a table change or two in order to store the status data.
 
dad7732







PostPosted: Tue Feb 15, 2011 4:23 pm Reply with quote

Ooo .. where is that block?? Wink

Edit: Found one but appears Drupal only. Is there one for RN?
 
fkelly







PostPosted: Wed Feb 16, 2011 6:42 am Reply with quote

I just created my own block, named it "approved users", made it visible to admins only and I use the block editor to keep it up to date.
 
myrtletrees
Involved
Involved



Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Tue Apr 05, 2011 6:07 pm Reply with quote

fkelly wrote:
I just created my own block, named it "approved users", made it visible to admins only and I use the block editor to keep it up to date.


care to share? Wink Very Happy
 
View user's profile Send private message
dad7732







PostPosted: Tue Apr 05, 2011 6:28 pm Reply with quote

myrtletrees wrote:


care to share? Wink Very Happy


Ditto!! Cheers
 
fkelly







PostPosted: Tue Apr 05, 2011 8:33 pm Reply with quote

Not really much to share. You just go into the ACP and open up the blocks editor. Create a new block. Make it admin only. I position it center down as far down as I can. Whenever you get a new waiting user you go in and edit the block and put in the username and the date and, on my site the initials of the admin who approves the user. Separately you approve the user through RNYA. Then when the user activates his/her username you erase them from the block. Likewise, if the user never gets around to activating their username eventually they will get deleted from waiting users. In that case you also delete them from the block. You can call the block anything you want -- I use "users approved" but it doesn't matter what the name of it is.

This comes in handy when you have more than one admin approving waiting users.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©