Hello Caleb,
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:
{{velocity}}{{html wiki="false"}}
#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
<> 1")))
<ul>
#foreach($d in $results)
<li>$xwiki.getUserName($d.fullName) (<a href="$d.getURL('save',
'XWiki.XWikiUsers_0_active=1')&xredirect=$doc.getURL()">activate</a>)</li>
#end
</ul>
{{/html}}
#if($results.empty)
No users lacking activation.
#end
{{/velocity}}
Not sure if it is the best solution, but it seems to be working.
Thanks very much.
Gonçalo Luiz
On 28 June 2010 12:06, Caleb James DeLisle <calebdelisle(a)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.
Caleb
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(a)lavabit.com>
wrote:
> This feature is not officially supported yet (but plans are in the
works)
>
> 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:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/AccessRights#HPrivateWi…
>
> 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
plugin
> 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
to
>> screen new users. That is, new users
insert their username and email,
and
> I
>> get a notification. Then they get a confirmation email only if I
approve
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(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users