Hi Sergiu
 
Thanks a lot for the tip.
I’ll give that a try!
 
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: Sergiu Dumitriu-2 [via 
XWiki][mailto:[email protected]] 
Sent: 13 May 2010 19:22
To: JoannaD
Subject: Re: preventing registration on workspaces under xem
 
On 05/13/2010 05:50 PM, 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! 

One possible solution: Go to Administer wiki, Registration, enable "Use 
email verification" and "Check Active fields for userauthentication", 
change the "Validation e-Mail Content" so that it doesn't contain the
validation link, but say something like "Your account will e validated 
shortly". This solves the need for validation, but then you'll need to 
develop some UI which allows administrators to list and manually 
activate new users. Fast pointers: 

{{velocity}}{{html wiki="false"}} 
<ul> 
#foreach($d in $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"))) 
  <li>$xwiki.getUserName($d.fullName) (<ahref="$d.getURL('save', 
'XWiki.XWikiUsers_0_active=1')&xredirect=$doc.getURL()">activate</a>)</li>
#end 
</ul> 
{{/html}}{{/velocity}} 

-- 
Sergiu Dumitriu 
http://purl.org/net/sergiu/
_______________________________________________ 
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-tp1307495p5046889.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-tp1307495p5063839.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