Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Combining two gender criterias with advancesearch give wrong result

9 years 8 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi,
Joomla v3.3.3, JS v3.2.1.1
let me explain what we want to achieve:
Users should be able to search members belonging to the same gender than them. So we've set 2 custom fields:
Search for: "Male|Female" , You are "Male|Female". So if a male user search another male user, result should display all the male users looking for male.
Unfortunately result is wrong it takes also Female searching male, see attached file in relation with.
Can be seen on our live site log as julien with same password described for JSupport.
Custom gender fields defined are:
"Vous recherchez" (Search for Male|Female)
"Vous êtes" (You are Male|Female)

Cheers,
L

Attachments:
9 years 8 months ago
Licenses:

Hi.

You used two field with type "gender"?
Then try to use only one "gender" filed type and another field should have "select" type...
Then check for search results.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi,
you're right we've defined two field with gender type. And in mean time we've changed one to "select", unfortunately same problem.
L

9 years 8 months ago
Licenses:
JomSocial Expired Socialize Expired

Quick question:
if we change type from gender to select should we keep in the option field:
COM_COMMUNITY_MALE
COM_COMMUNITY_FEMALE
or
Male
Female
It seems than first choice makes advancesearch working not the second one.
Strange isn't ?
Cheers,
L

9 years 8 months ago
Licenses:

HI.

You should use language constants. It's probably related with previous issues with gender fields...
So this combination works now?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
Licenses:
JomSocial Expired Socialize Expired

Yeah. So if we want combine several gender field:
Only one needs to be declared as gender type
Others as Select type with language constants.
Right ?
Cheers,
L

9 years 8 months ago
Licenses:
JomSocial Expired Socialize Expired

Oups... too fast.
results are different depending of the criteria's order.
See attached files in relation with.
if "You are" Male|Female is the first one it works. Otherwise it doesn't
Cheers,
L

Attachments:
9 years 8 months ago
Licenses:
JomSocial Expired Socialize Expired

Finally we've found a workaround by using both field as select type with
COM_COMMUNITY_MALE
COM_COMMUNITY_FEMALE
Instead of using gender type.
We don't think that it's the normal config way.
Shouldn't we use gender field ?
Cheers,
L

9 years 8 months ago
Licenses:

Hi.

You should only if you care for statistics based on gender and demographic chart.
Also it may cause that all newly registered users will be "male" by default (get male avatar).
It doesn't work with gender and select types?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
Licenses:
JomSocial Expired Socialize Expired

unfortunately not, see my previous post.
in fact it depends of the order's criteria, as mentioned above.
Cheers,
L

9 years 8 months ago
Licenses:

Hi.

You have right. When Gender is first criteria then all the res is just ignored.
I report it as a bug.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
Licenses:

Hi.

Please, upgrade to JomSocial 3.2.1.3 and check if issue persist.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 7 months ago
Licenses:

Hi.

Does upgrade fixed this issue?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 7 months ago
Licenses:
JomSocial Expired Socialize Expired

we are testing it again, we'll let you know
cheers,
l

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW