Search / Online help!

I am looking for the snippet of code that produces the description of members like for example..."48 y/o Male from, United States (flag)" when clicking on the "Online" link under the "Members" tab.

I believe it's the search.php file... but not exactly where to look?  I know it's pulling data from the DateofBirth, Sex, and Country fields - I want to change the "County" field to pull from a different field within the database.

Any help would be greatly appreciated!

Quote · 1 Sep 2008

Code is here: inc/members.inc

 

// Template customizations

// profile Nick/Age/Sex etc

Quote · 1 Sep 2008

Thanks for the response Okweb!   However, when I make the changes I am not getting the result I was hoping for.

What I am trying to do is this... I have a field called "School_Name" that I want to replace the field "Country" with - so that when someone clicks on the "Online" link under the "Member" tab it would read...

"Nickname, 48 y/o Male from, "School_Name" (no flag)"

Is this possible?

What I tried was to replace the word "Country" in the inc/members.inc.php file with "School_Name" ... it still shows up however as "Nickname, 48 y/o Male from, United States (no flag) <--- it did get rid of the flag, but no School name is displayed - it still displays the Country?

Any ideas?

Quote · 1 Sep 2008

It's work...

Code for city_country hide it and mak a new city_country code

 

Will only show school:

//$city_con = process_line_output($p_arr['City']).", "._t($aPreValues['Country'][$p_arr['Country']]['LKey']).$sFlag;
  $city_con = $p_arr['School_Name'];

 

 

If you will have city and school

$city_con = process_line_output($p_arr['City']).", ".$p_arr['School_Name'];

 

Or you will have school and city

$city_con = $p_arr['School_Name'].", ".process_line_output($p_arr['City']);

Quote · 1 Sep 2008

Wow!!  That worked like a charm - thank you okweb!

Quote · 2 Sep 2008

if you can help me -- I would like to add members online

age sex from city country flag

I would like - age sex from city Education Smoker country flag

Accuracy - I change in fields builder - Active items

Advanced - Possible values: Education

General -Name : Departement -Caption : Département

Advanced - Possible values: Smoker

General : Name : Region -Caption : Région

and I also change

Predifined values - Predefined list

select a list :

Education - lkey - Ain -allier -(I add all departements of france)

Smoker - lkey - Alsace - Aquitaine - (I add all regions of france)

which give age sex from city Ain Alsace country flag

thank you very much for your help

daniel

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 30 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.