CGUserDirectory action="browse" prop="mandaten"

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
vzw klemtoon
Forum Members
Forum Members
Posts: 92
Joined: Mon May 14, 2007 11:31 am

CGUserDirectory action="browse" prop="mandaten"

Post 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.
vzw klemtoon
Forum Members
Forum Members
Posts: 92
Joined: Mon May 14, 2007 11:31 am

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

Post 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?
vzw klemtoon
Forum Members
Forum Members
Posts: 92
Joined: Mon May 14, 2007 11:31 am

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

Post 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 =
inyerface
Forum Members
Forum Members
Posts: 191
Joined: Mon Nov 26, 2007 4:46 pm

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

Post by inyerface »

I just encountered this and am looking at a solution... did you find one yet???
Post Reply

Return to “Modules/Add-Ons”