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.

Fix and Modify "Dating Search" Plugin

11 years 2 months ago
  • lion's Avatar
    Topic Author
  • lion
  • Offline
  • Junior Boarder
  • Posts: 103
  • Thank you received: 2
Licenses:
JomSocial Active iSEO Active Socialize Active

ISSUE SUMMARY:
Hello,
See the attachment and example.
When i search as example 1) femail "weiblich", state "Bundesland" and country "Land" i get nothing,2) no results, => when i modify the search at this second table i get the result.
Please help!
Laurentiu
=> where can i change the countries and delete the rest. I need only Austria at the top, Germany,Switzerland

11 years 2 months ago
Licenses:

Hi Laurentiu

please goto joomla backend > extensions > module manager, click on dating search, set State Field Code = FIELD_Bundesland

for remove some country on list, you must edit this file:
/components/com_community/libraries/fields/countries.xml

but that for general country list, I mean at profile page, and registration page will be removed too.

Regards

11 years 2 months ago
  • lion's Avatar
    Topic Author
  • lion
  • Offline
  • Junior Boarder
  • Posts: 103
  • Thank you received: 2
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi Albertus,
thank you for your help, i have edited this file under
/components/com_community/libraries/fields/countries.xml
=> now i have only the countries that i want at the "dating search plugin" but when i start a search, it looks like that image, in this second screen that i get after, i have all the countries and in english.
It is wrong when i try to delete all the countries that i don´t need from this file =>en-GB.com_community.country.ini ? ==> I tried, but it´s not working!
I see you are the dating search master :-)
www.jomsocial.com/forum/modules-plugins-...search-module#102441
www.jomsocial.com/forum/modules-plugins-...female-or-both#90575
BR Laurentiu

11 years 2 months ago
Licenses:

Hi,

for advance search, you must changing it from database. at table: community_fields

Regards

11 years 2 months ago
  • lion's Avatar
    Topic Author
  • lion
  • Offline
  • Junior Boarder
  • Posts: 103
  • Thank you received: 2
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi,
you mean in the my SQL database or is this table in a Joomla file/folder?
thanks

11 years 2 months ago
Licenses:

Hi,

sorry. I mean SQL database. you can do it from phpmyadmin

Regards

11 years 2 months ago
  • lion's Avatar
    Topic Author
  • lion
  • Offline
  • Junior Boarder
  • Posts: 103
  • Thank you received: 2
Licenses:
JomSocial Active iSEO Active Socialize Active

i do the Change, and now i have only the countries i Need, but i have further to select the Country that i have beore select, do you know why....
hmmm,....and why it changed automaticly to english.
Thank you for your help!

11 years 2 months ago
Licenses:

Hi Laurentiu,

its a bug. please wait for the fix.

Regards

11 years 2 months ago
  • lion's Avatar
    Topic Author
  • lion
  • Offline
  • Junior Boarder
  • Posts: 103
  • Thank you received: 2
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi, if I am not mistaken i read in the forum that this bug is since last year known...... how long will it take to solve this?
Where can i change the plugin to make the "countries field" and "city field" invisible?
Thanks
Laurentiu Ion

11 years 2 months ago
Licenses:

Hi Laurentiu,

our developer still on this bug. please wait for the fix. I will let you know about it.

to make hide countries and city from dating search module. you can override it:
1. copy default.php from /modules/mod_datingsearch/tmpl/ to /templates/[frontend template]/html/mod_datingsearch/
2. edit it ad remove the code at line 157 and 161

<p><?php echo JText::_('MOD_DATINGSEARCH_CITY'); ?></p>
<input class="joms-input" type="text" id="datingsearch_city" name="datingsearch_city" value="<?php echo $city;?>"/>
<select id="datingsearch_country" name="datingsearch_country"  class="joms-select">
<option value="" <?php if($country=='')echo 'selected'?>><?php echo JText::_('MOD_DATINGSEARCH_COUNTRY'); ?></option>
<?php foreach($field->value->country as $data) { ?>
	<option value="<?php echo JText::_($data); ?>" <?php if($country==$data)echo 'selected'?>><?php echo JText::_($data); ?></option>
<?php } ?>
</select>

Regards

The following user(s) said Thank You: lion
11 years 2 months ago
  • lion's Avatar
    Topic Author
  • lion
  • Offline
  • Junior Boarder
  • Posts: 103
  • Thank you received: 2
Licenses:
JomSocial Active iSEO Active Socialize Active

Ok, i have changed it.........we let this post open or how i get the information that the bug is solved?

11 years 2 months ago
Licenses:

Hi Laurentiu,

I will reply this topic, if the bug has been fixed.

Regards

10 years 11 months ago
Licenses:

Hi,

here the fix.

This attachment is hidden for guests.
Please log in or register to see it.


unzip and put it at:
/components/com_community/templates/jomsocial/layouts/search.advancesearch.php

Regards

This message has an attachment file.
Please log in or register to see it.

The following user(s) said Thank You: Jürgen
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