Support

  1. Zephyrinus
  2. General
  3. Friday, May 29 2015, 10:52 AM
Hi guys,

I can't get the following query to work..

Our platform has relevant usergroups "concept" and "published", (2 and 12)

We got an EP field "category" (SELECT LIST)
We got an EP field "platform" (SELECT LIST)

One of our landingpages should show users that
- are in user group "published"
- have selected in "platform" at least a certain option enabled
- have selected in "category" at least a certain option enabled

So one user meets these requirements but he the profile does not show up

I tried these:

b.`categorie` LIKE '%\"6\"%' AND b.'platform' LIKE '%\"1\"%' AND group_id IN 12

b.`categorie` LIKE '%\"6\"%' AND b.'platform' LIKE '%\"1\"%' AND group_id=12

b.`categorie` LIKE '%\"6\"%' AND 'platform' LIKE '%\"1\"%' AND group_id IN 12

b.`categorie` LIKE '%\"6\"%' AND 'platform' LIKE '%\"1\"%' AND group_id=12

Can you please help me out?

greetz,

Dennis
Accepted Answer
admin Accepted Answer
Admin
Hi,
in your previous parameter you have set this 'platform' instead `platform`

When you use SQL statement "IN" you need to include value into parenthesis like (12)
  1. more than a month ago
  2. General
  3. # Permalink
Zephyrinus Accepted Answer
Pro
b.`categorie` LIKE '%\"6\"%' AND group_id=12 AND b.`platform` LIKE '%\"1\"%'

this one works for me
  1. more than a month ago
  2. General
  3. # 1
Zephyrinus Accepted Answer
Pro
Easy-profile is the best component for Joomla, and so is the staff
  1. more than a month ago
  2. General
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.