Re: [xwiki-users] conditional redirect after login

2010-10-28 Thread [Ricardo Rodriguez] eBioTIC.
Hi! Gerritjan Koekkoek wrote: Hi, I really appreciate your interest, this really helps me; Thanks You are very right, If users are redirected to their profile they are not forced to enter any extra data. But we will put a text in the profile page that it would be very helpfull if they

Re: [xwiki-users] conditional redirect after login

2010-10-28 Thread [Ricardo Rodriguez] eBioTIC.
[Ricardo Rodriguez] eBioTIC. wrote: Hi! Gerritjan Koekkoek wrote: Hi, I really appreciate your interest, this really helps me; Thanks You are very right, If users are redirected to their profile they are not forced to enter any extra data. But we will put a text in the profile

Re: [xwiki-users] conditional redirect after login

2010-10-26 Thread Gerritjan Koekkoek
Hi, I really appreciate your interest, this really helps me; Thanks You are very right, If users are redirected to their profile they are not forced to enter any extra data. But we will put a text in the profile page that it would be very helpfull if they did; If they do not, we will not add

Re: [xwiki-users] conditional redirect after login

2010-10-25 Thread Gerritjan Koekkoek
Hi, The condition is: After user has registered he/she only belongs to XWikiAllGroup (right?) If this condition is true; we would like to ask the user to 'tell us more about yourself' by re-directing to the profile Updating the userprofile with extra data; with this data we can then add the

Re: [xwiki-users] conditional redirect after login

2010-10-25 Thread [Ricardo Rodriguez] eBioTIC.
Gerritjan Koekkoek wrote: Hi, The condition is: After user has registered he/she only belongs to XWikiAllGroup (right?) Right, by default. You should want to consider these two parameters in xwiki.cfg (as stated in its preamble, commented parameters show the default value) #-# List

Re: [xwiki-users] conditional redirect after login

2010-10-24 Thread Gerritjan Koekkoek
Hi, The script works fine; One modification required (#if($counter 0) == #if($counter == 0) But this only works when user login is on homepage, in our use cases there are also other pages where a guest can decide to login Is there a vm script that is always triggered when user does login?

Re: [xwiki-users] conditional redirect after login

2010-10-24 Thread [Ricardo Rodriguez] eBioTIC.
Hi, Gerritjan Koekkoek wrote: Hi, The script works fine; One modification required (#if($counter 0) == #if($counter == 0) I'm afraid I don't understand the condition yet! :-( Do you want that any user belonging to any group but XWikiAllGroup is redirected to his/her profile? Or should

Re: [xwiki-users] conditional redirect after login

2010-10-23 Thread [Ricardo Rodriguez] eBioTIC.
Hi, Gerritjan Koekkoek wrote: Hi, We would like to, conditionally, redirect users who log in to their profile page. (in our case; XWiki.username) The condition is: User is not in ANY OTHER GROUP then XWikiAllGroup. How can I do this most elegantly, modifying as little as possible of the