Hi,
Thanks to this great component we can have user profiles and make lists of users who have the same value on the 'cb_team' field.
We migrated to joomla 3.1.5 from 2.5.14
We use this code with advanced filter in lists.
Code:
`cb_teams` REGEXP REPLACE( '[cb_teams]', ' ', '|' )
But when there is no value the 2.5.15 site gave a message 'you are not in a team'.
But now we get this error:
Code:
Fout: 0
SQL=SELECT COUNT(DISTINCT u.id) FROM nkb57_users u JOIN nkb57_user_usergroup_map g ON g.user_id = u.id JOIN nkb57_comprofiler ue ON ue.id = u.id WHERE u.block = 0 AND ue.approved = 1 AND ue.confirmed = 1 AND g.group_id IN (6, 7, 2, 3, 9, 4, 5, 14, 20, 18, 21, 19, 15, 13, 16, 17, 10, 11, 12, 8) AND (cb_teams REGEXP REPLACE( '', ' ', '|' ))
How can we edit the regex to get the right message or 'nice' message instead of an error.