Member view, extended

Hi when viewing all members, there is simple and there is extended. In the extended section it shows profiles sex,age, then country Flag, and then city.

Well i have pulled the country section out of my join in options because it is a site based in united states. I had the states module installed, so can someone tell where I can remove the flags part and put in the members state instead? I would like for the extanded view show only city and state.

It is a couples site so no need in sex or age, I took out the date of birth calender so thats gone, now i just have to remove the sex symbol and the country flag and put in state. is this possible?

I looked through the forums and couldnt quite find what i was looking for, so direction to the right one will work also,


Thanks

Derrick

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 31 Mar 2010

little bump

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 4 Apr 2010

Edit the file /templates/base/search_profiles_ext.html   Take out the items you do not want included to show, you may have to experiment to get it just right.  When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age.

Quote · 4 Apr 2010

Edit the file /templates/base/search_profiles_ext.html   Take out the items you do not want included to show, you may have to experiment to get it just right.  When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age.

Hey thanks, I removed age, and somehow it took out the flag, not sure why, because there wasnt a flag image in the code, but I wanted it gone anyway!

Ok, is there away that I can add in state to there? I'm not sure how to call it.

Derrick

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 4 Apr 2010

Edit the file /templates/base/search_profiles_ext.html   Take out the items you do not want included to show, you may have to experiment to get it just right.  When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age.

Hey thanks, I removed age, and somehow it took out the flag, not sure why, because there wasnt a flag image in the code, but I wanted it gone anyway!

Ok, is there away that I can add in state to there? I'm not sure how to call it.

Derrick

Actually make this change.  Put bakc the search_profiles_ext.html file back to it's default settings (undo your changes).

Open templates/base/scripts/BxBaseSearchProfile.php

Find around line 109 this code
$city_c alt=  $sFlag . ' ' . $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );

replace it with

$city_con =  $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );

Save and upload, now you should have the city show without the country flag

Quote · 4 Apr 2010

Hey thanks Mauricecano!, That accually worked. removing"flag" gave me an error, but i just commented out just the flag part and it worked perfect.

now I'm off to see if i can put in the state

thanks Derrick

Edit the file /templates/base/search_profiles_ext.html   Take out the items you do not want included to show, you may have to experiment to get it just right.  When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age.

Hey thanks, I removed age, and somehow it took out the flag, not sure why, because there wasnt a flag image in the code, but I wanted it gone anyway!

Ok, is there away that I can add in state to there? I'm not sure how to call it.

Derrick

Actually make this change.  Put bakc the search_profiles_ext.html file back to it's default settings (undo your changes).

Open templates/base/scripts/BxBaseSearchProfile.php

Find around line 109 this code
$city_c alt=  $sFlag . ' ' . $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );

replace it with

$city_con =  $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );

Save and upload, now you should have the city show without the country flag

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 5 Apr 2010

Ok, so under browse by country, I would like to change it from the values to the L key.

In other words I would like to show the full name instead of the abreviations.

Also while I am here I would like to remove or comment out the flags there also. I looked in /templates/base/scripts/BxBaseSearchProfile.php but couldn't really locate what I was looking for.

Any help would be great!

Derrick

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 24 Jul 2010
 
 
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.