Thanks Jim for your thoughts. I find them very helpful in implementing the required functionality.
Jim, I hope you have a great Christmas! -SS On Dec 24, 7:22 pm, Jim Ruther Nill <[email protected]> wrote: > I don't know any plugins that would do what you want. Anyway here are some > thoughts. > > 1. You need to override the user model validation since you don't want to > add emails. > 2. You need to override the activate method because that will send an > email after creating a user > 3. You need to override the users controller, the signup_completed > action, you need to redirect to the activate_user_path to auto activate > account whenever it is created by an admin. > 4. You can always add a link to new_users_path since that's where the > signup_path points to. This link should only be visible to an admin. > > That's all I can think off. :D > > Merry Christmas! > > > > On Fri, Dec 25, 2009 at 3:21 AM, SS <[email protected]> wrote: > > I think I may have figured out something here that is a good start. > > > What I did is I added the following line in /shared/ > > _admin_nav.html.haml: > > > %li= link_to_unless_current :users.l, admin_users_path > > > This allows me to search for users and delete them via the Admin > > Dashboard. Too bad it doesn't have the ability to create new users :( > > > SS > > > On Dec 24, 1:17 pm, SS <[email protected]> wrote: > > > I suppose I wasn't clear as to what I want to do. As an administrator > > > I want to create/populate my web application with users on regular > > > basis. My key requirement here is to create multiple users every day, > > > therefore I can't use migration for that. Plus I want to be able to > > > modify and delete those users. It's basically user management ability > > > in CE. > > > > I want any visitor to my web site to see those users. I will maintain > > > them until my web site becomes more visible and attracts new users. > > > The users I'm going to create will be used only for display reasons, > > > that is, visitors to my web site will not be able to contact the users > > > I create. So, I was wondering if there is an easy way to create/modify/ > > > delete users whenever I want to without going through the activation > > > phase since I don't want to enter an email address for each user I > > > create and then go to my email account and click on the activation > > > link to activate the user. I want to create my users on the fly - fast > > > and easy! > > > > I hope I'm clearer as to what I'm trying to achieve. Jim, do you know > > > how I can do that in CE or if there is a good plug-in that will work > > > with CE? > > > > Regards, > > > SS > > > > On Dec 24, 12:55 pm, Jim Ruther Nill <[email protected]> wrote: > > > > > I'm confused by your question since the base CE installation allows > > anyone > > > > to register through the signup page. How is a user created by an admin > > > > different from a user created through the signup page? are these users > > auto > > > > activated or something? > > > > > On Fri, Dec 25, 2009 at 12:28 AM, SS <[email protected]> > > wrote: > > > > > Hi, > > > > > I was wondering if in CE the user as the administrator can simply > > > > > create new users by filling out all of their profile/account fields, > > > > > including password, and save it. Something like scaffolding feature > > in > > > > > RoR? > > > > > > Please let me know, it will be of a huge help to me! > > > > > > Thanks, > > > > > SS > > > > > > -- > > > > > > You received this message because you are subscribed to the Google > > Groups > > > > > "CommunityEngine" group. > > > > > To post to this group, send email to > > [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<communityengine%[email protected]> > > <communityengine%[email protected]<communityengine%[email protected]> > > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/communityengine?hl=en. > > > > > -- > > > > <a href=" > >http://www.workingwithrails.com/recommendation/new/person/18044-jim-r.. > > .">Recommend > > > > me on Working With Rails</a> > > > -- > > > You received this message because you are subscribed to the Google Groups > > "CommunityEngine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<communityengine%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/communityengine?hl=en. > > -- > <a > href="http://www.workingwithrails.com/recommendation/new/person/18044-jim-r...">Recommend > me on Working With Rails</a> -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
