[xwiki-users] User Screening at registration
goncalo.luiz at gmail.com
Mon Jun 28 11:10:48 UTC 2010
In fact there is another mail that is sent to the user (as there was before
my editing) without the token.
In the meanwhile I used the following snippet in a page to activate users:
#set ($results = $xwiki.wrapDocs($xwiki.searchDocuments(", BaseObject obj,
IntegerProperty act where obj.className = 'XWiki.XWikiUsers' and obj.name =
doc.fullName and act.id.id = obj.id and act.id.name = 'active' and act.value
#foreach($d in $results)
<li>$xwiki.getUserName($d.fullName) (<a href="$d.getURL('save',
No users lacking activation.
Not sure if it is the best solution, but it seems to be working.
Thanks very much.
On 28 June 2010 12:06, Caleb James DeLisle <calebdelisle at lavabit.com> wrote:
> So you have the registration page tell the user that their registration
> will be reviewed,
> and it sends _you_ and email? If so then you can just put the approval
> token in the email and
> click it when you get it.
> Alternatively you can log in and open the user's page in the object editor
> and set the "Active"
> select menu to "Active" and save their page. This can also be done with a
> script but you'd have
> to write it.
> Gonçalo Luiz wrote:
> > Hello,
> > I've followed your advise. What I need now is to manually confirm users'
> > accounts. The steps are:
> > 1 - The user registers
> > 2 - The system sends me an e-mail (this is already working)
> > 3 - I get the e-mail, login as an admin and confirm the user
> > 4 - The user logs in
> > How can I perform step 3?
> > Thank you for your valuable help.
> > Regards,
> > Gonçalo Luiz
> > On 26 June 2010 10:02, Caleb James DeLisle <calebdelisle at lavabit.com>
> >> This feature is not officially supported yet (but plans are in the
> >> What you can do is use the verified registration mechanism and set the
> >> verification email to not have the
> >> link for verifying the user but rather tell them that they will recieve
> >> word when their application is
> >> reviewed.
> >> See:
> >> As far as telling the user that they have been approved, you may have to
> >> write a script to send out the email but you can use the mail sender
> >> in your script.
> >> http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin
> >> Caleb
> >> Gonçalo Luiz wrote:
> >>> Hello,
> >>> I'm running a new installation on a public address. However, I'd like
> >>> screen new users. That is, new users insert their username and email,
> >> I
> >>> get a notification. Then they get a confirmation email only if I
> >> the
> >>> user.
> >>> Is this possible? If so, how? If not, is there any other way to screen
> >> user
> >>> registrations?
> >>> Thank you very much.
> >>> Gonçalo Luiz
> >>> _______________________________________________
> >>> users mailing list
> >>> users at xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> _______________________________________________
> >> users mailing list
> >> users at xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users at xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> users mailing list
> users at xwiki.org
More information about the users