Page 1 of 1

CGUserDirectory action="browse" prop="mandaten"

Posted: Mon Sep 27, 2010 5:02 pm
by vzw klemtoon
Hello,

This is a specific question:

- I made several user properties in FEU.
- One of them is called 'mandaten' it's a list where users are appointed one or more tasks form a multiselect list.
- Now i want to call them using {CGUserDirectory action="browse" prop="mandaten"} to get a list like this:

    * Beheer leraarkamer (1)
    * Kerncollege (3)
    * College (15)
    * Jaarfeesten (1)
    * Ouderraad (2)
    * NT2 (3)
    * Website (1)
    * Feestcommité (2)
    * Wiskunde (2)
    * Ouderschool (1)

The list is showing the right number of users attached to this task. so far so good. But when you click one of these tasks, not all users are shown, even though the right number is given. I noticed that each user only comes once in one of the subjects. If he has two or more tasks, he is left out in those. So for example: the College (15) has 7 members.

Any clue how to solve this?

Thanks in advance.

Re: CGUserDirectory action="browse" prop="mandaten"

Posted: Tue Sep 28, 2010 3:05 pm
by vzw klemtoon
Anyone?

Why is it only possible to call one 'userprop' in this function and why are the once with two tasks taken out of the page result shile the number indication is correct?

Re: CGUserDirectory action="browse" prop="mandaten"

Posted: Wed Sep 29, 2010 12:18 pm
by vzw klemtoon
more info:

when i hit for example 'feestcommité' the person who should show up doesnt. Due to the fact he's already listed under 'website' also. Aparently users can only be shown in one category in this function???

the error i get :

DEBUG: error in count query
  QUERY = SELECT count(U.id) FROM cms_module_feusers_users U LEFT JOIN cms_module_feusers_properties P ON U.id = P.userid WHERE expires > '2010-09-29 14:16:54' AND P.title = 'mandaten' AND P.data LIKE 'Feestcommité%'
  Error =

Re: CGUserDirectory action="browse" prop="mandaten"

Posted: Fri Nov 12, 2010 3:09 am
by inyerface
I just encountered this and am looking at a solution... did you find one yet???