Hi Caleb!
 
Thanks a lot for the tip!
 
Best regards,
 
Joanna Demetriou 
Business Software Analyst  |  SOFTimpact Ltd.  | Tel:+357-25-875632  |  Fax: 
+357-25-583344  
Web: http://www.soft-impact.com|  Address: 105 Griva Digeni Avenue, 3101 
Limassol, Cyprus
 

From: Caleb James DeLisle [via 
XWiki][mailto:[email protected]] 
Sent: 13 May 2010 19:14
To: JoannaD
Subject: Re: preventing registration on workspaces under xem
 
The user object has a field for setting whether the username is 
activated. If you're using XWiki Enterprise you can edit 
XWiki.Registration and there is an example of how to add a "favorite 
color" field which contains a "doAfterRegistration" option forcode 
to do something to the user after registration, you can set this to 
get the user object from the user's document then set the "active" 
field to 0. 

XWiki.Registration does not exist in Workspaces and you would have 
to add the code to xwiki.war/templates/register-inline.vm 

I'm sure there are other ways to do it (I don't know very much about 
Workspaces) but this is one that I know. 

Caleb 

JoannaD wrote: 


> Hello Guillaume 
> 
> I need to somehow control the registration in our wiki meaning that people
> can register but an admin needs to approve them before being able to login
> and use the wiki. 
> After searching in the forum I ended up reading the guidelines you gave to
> another user. 
> 
> I couldn't follow your instructions. 
> I don't whether these are by now outdated or I just did not understandthem. 
> 
> Any help is greatly appreciated! 
> 
> Thanks, 
> 
> Joanna 
> 
> 
> 
> ----- 
> Joanna 
> 
> -- Please consider the environment -- 

_______________________________________________ 
users mailing list 
[hiddenemail] 
http://lists.xwiki.org/mailman/listinfo/users






View message @ 
http://xwiki.475771.n2.nabble.com/preventing-registration-on-workspaces-under-xem-tp1307495p5046842.html
To unsubscribe from Re: preventing registration on workspaces under xem, 
clickhere. 
 


DISCLAIMER: 
The contents of this e-mail, as well as the enclosures, might be confidential 
and are solely intended for the named addressee. Access to this e-mail by 
anyone else is unauthorized. 
If you are neither the named addressee of this e-mail, nor his personal 
representative, any form of publication, reproduction or distribution of the 
contents of this e-mail is prohibited.

If you have received this e-mail in error, please immediately contact the 
sender of this e-mail. E-mails sent via the internet can easily be recreated 
under another person“s name or 
manipulated by third parties. For this reason SOFTimpact Ltd. cannot be held 
liable for the above declarations and statements.


-----
Joanna

-- Please consider the environment --
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/preventing-registration-on-workspaces-under-xem-tp1307495p5063840.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to