ALEXT seach php browse php css and html problems

Right in search.php the top links are missing IE:SIMPLE AND EXTENDED

 

and in browse.php the following are missing AGE ZODIAC CITY SEX COUNTRY
       

   think it could be css as the html is there

__thumbnail__
        </div>

        <div class="short_desc" style="__add_style_c1__">
            <div class="nick">__nick__</div>
            <div class="age_from">
                __zodiac_sign__ __info__
            </div>
            <div class="desc">__i_am_desc__</div>

7.09

 

Happy thoughts

Quote · 5 Dec 2012

To make zodiac signs appear you need to enable them in Admin Panel -> Profiles.

Rules → http://www.boonex.com/terms
Quote · 7 Dec 2012

Search page: http://www.boonex.com/trac/dolphin/ticket/2946

Rules → http://www.boonex.com/terms
Quote · 7 Dec 2012

Thanks for the ticket Alex but the age city country and the flag do not show up when zodiac is checked in browse.php extended

 

like this                      sex star  age     flag   stare/city         country

                                  v    v      v          v          v                      v                 are all missing from the above from the boonex site

 

And could you tell me if it is possible to display zodiac on profile page via field builders and how ?

many thanks

Quote · 7 Dec 2012

will chang extended on browse and search page


1)
open file templates/base/search_profiles_ext.html

Find this code:
    <div class="short_desc" style="__add_style_c1__">
            <div class="nick">__nick__</div>
            <div class="age_from">
                __zodiac_sign__ __info__
            </div>
            <div class="desc">__i_am_desc__</div>
        </div>

edit to this:
    <div class="short_desc" style="__add_style_c1__">
            <div class="nick">__nick__ __info__</div>
            <div class="age_from">
                <img src="__sex_image__" alt="__sex_image__" />
            __zodiac_sign__
            __age__ __city_con__
            </div>
            <div class="desc">__i_am_desc__</div>
        </div>


2)
Open file templates/base/scripts/BxBaseSearchProfile.php

find this function: function PrintSearhResult($aProfileInfo, $aCoupleInfo = '', $aExtendedKey = null, $sTemplateName = '', $oCustomTemplate = null)

Find this code:
    $sProfileZodiac = ($bExtMode && getParam('zodiac')) ? $GLOBALS['oFunctions']->getProfileZodiac($aProfileInfo['DateOfBirth']) : '';


Add this code bellow it

    // profile Nick/Age/Sex etc.
    $sAgeStr = ($aProfileInfo['DateOfBirth'] != "0000-00-00" ? (_t("_y/o", age( $aProfileInfo['DateOfBirth'] )) .' ') : "");
    $sAgeOnly = ($aProfileInfo['DateOfBirth'] != "0000-00-00" ? ( age( $aProfileInfo['DateOfBirth'] )) : "");
    $y_o_sex = $sAgeStr ;

    $city =  _t("_City").": ".process_line_output($aProfileInfo['City']);
   
    $country = $aProfileInfo['Country'] ?
    _t("_Country").": "._t($aPreValues['Country'][$aProfileInfo['Country']]['LKey']).'&nbsp;<img src="'. ($site['flags'].strtolower($aProfileInfo['Country'])) .'.gif" alt="flag" />'
    : '';

    // country flag
    $sFlag = ($aProfileInfo['Country'] != '') ? '&nbsp;<img src="'. ($site['flags'].strtolower($aProfileInfo['Country'])) .'.gif" alt="flag" />' : '';
    $sCityName = ($aProfileInfo['City']) ? process_line_output($aProfileInfo['City']) . ', ' : null ;
              if (!empty($aProfileInfo['Country']))
    $city_con = $sFlag . ' ' . $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );
        else
    $city_con = '';
    $sSexIcon = $GLOBALS['oFunctions']->genSexIcon($aProfileInfo['Sex']);


3)
find this code:
    $aKeys = array(
            'thumbnail' => $sProfileThumb,
            'match' => $sProfileMatch,

            'nick' => $sProfileNickname,
            'info' => $sProfileInfo,
            'i_am_desc' => $sProfileDesc,
            'zodiac_sign' => $sProfileZodiac,


Add this code bellow it
        'city_con' => $city_con,
            'age' => $y_o_sex,
            'sex_image' => $sSexIcon,


4)
Delete cache


5)
Done..

Quote · 7 Dec 2012

Since Dolphin 7.1 you can choose what info to show here in Dolphin Admin Panel -> Settings -> Advanced Settings -> Profiles -> Member brief info:

- Age + Sex

- Headeline

- Location

- Status Message

Also 3rd-party mods can add more variant without modifying core files.

Thanks for the ticket Alex but the age city country and the flag do not show up when zodiac is checked in browse.php extended

 

Rules → http://www.boonex.com/terms
Quote · 8 Dec 2012

Many Thanks OK it worked a treat :O)

what was I meant to do under this?

find this function: function PrintSearhResult($aProfileInfo, $aCoupleInfo = '', $aExtendedKey = null, $sTemplateName = '', $oCustomTemplate = null)

the code worked just placing under

   $sProfileZodiac = ($bExtMode && getParam('zodiac')) ? $GLOBALS['oFunctions']->getProfileZodiac($aProfileInfo['DateOfBirth']) : '';

 

// profile Nick/Age/Sex etc.
    $sAgeStr = ($aProfileInfo['DateOfBirth'] != "0000-00-00" ? (_t("_y/o", age( $aProfileInfo['DateOfBirth'] )) .' ') : "");
    $sAgeOnly = ($aProfileInfo['DateOfBirth'] != "0000-00-00" ? ( age( $aProfileInfo['DateOfBirth'] )) : "");
    $y_o_sex = $sAgeStr ;

    $city =  _t("_City").": ".process_line_output($aProfileInfo['City']);
   
    $country = $aProfileInfo['Country'] ?
    _t("_Country").": "._t($aPreValues['Country'][$aProfileInfo['Country']]['LKey']).'&nbsp;<img src="'. ($site['flags'].strtolower($aProfileInfo['Country'])) .'.gif" alt="flag" />'
    : '';

    // country flag
    $sFlag = ($aProfileInfo['Country'] != '') ? '&nbsp;<img src="'. ($site['flags'].strtolower($aProfileInfo['Country'])) .'.gif" alt="flag" />' : '';
    $sCityName = ($aProfileInfo['City']) ? process_line_output($aProfileInfo['City']) . ', ' : null ;
              if (!empty($aProfileInfo['Country']))
    $city_con = $sFlag . ' ' . $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );
        else
    $city_con = '';
    $sSexIcon = $GLOBALS['oFunctions']->genSexIcon($aProfileInfo['Sex']);

 

Happy thoughts

Quote · 8 Dec 2012

Alex this is also missing

Quote · 8 Dec 2012

@mingle - stop posting duplicate posts, or you will be banned.

Instead, create ONE topic and bump it up sometimes to attract attention.

Alex this is also missing

 

Rules → http://www.boonex.com/terms
Quote · 9 Dec 2012

Sorry Alex look at the pictures closely .....HOW did I post duplicate post ? the problem is with both the extended links in the search.php I read the post from where I thought it was the same problem as the one I reported it turned out both sets of links are missing ticket http://www.boonex.com/trac/dolphin/ticket/2950

ticket http://www.boonex.com/trac/dolphin/ticket/2946 how are they duplicates .....

I shall re frame from trying to assist unity from now on .... As I receive very little respect for taking my precious time in reporting bugs and as for receiving assistance for this community it would appear that it is limited and has been since I started using dolphin ........

I post pictures so that it is helpful ....

 

Happy thoughts

 

PS If boonex didn't release betas as if they are stable and useable using the community and any unsuspecting peeps who uploads and installs dolphin as your field testers there would be very little reason for continued reporting .. UNITY what a croc

Quote · 9 Dec 2012

 Is there a way to show the members city or country only and not both? 

Since Dolphin 7.1 you can choose what info to show here in Dolphin Admin Panel -> Settings -> Advanced Settings -> Profiles -> Member brief info:

- Age + Sex

- Headeline

- Location

- Status Message

Also 3rd-party mods can add more variant without modifying core files.

Thanks for the ticket Alex but the age city country and the flag do not show up when zodiac is checked in browse.php extended

 

 

Quote · 18 Dec 2013
 
 
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.