Members Blocks

Anyone knows  how to cretae in index page

 

Female Online Members Block

New Female Members Block


Man Online
Members Block

New Male Members Block


Couples online
Members Block

New Couples Members Block


Quote · 5 May 2012

I would think you have better luck posting this in the jobs section.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 5 May 2012

 

I would think you have better luck posting this in the jobs section.

 

yes   i think so  too

Quote · 5 May 2012

Not for long. In about a week i will be done with my Custom Member Blocks module.

It will allow any number of member blocks to exist on a page and member blocks on any page available in the page builders.

Filtering available for couple, admins, featured, and an avatar set. Also by Age, gender, membership level and relationship status.

There will be 4 menu items available on the blocks. Latest, Top, Online and Random. And because some of the filtering options may make some of those menu items kinda pointless, the menu items can individually be turned on or off.

With this mod you could create dozens of different possible member blocks each with its own custom caption and a configurable number of members shown in the block.

https://www.deanbassett.com
Quote · 5 May 2012

Any news on this mod yet ?

 

Happy Thoughts

Quote · 17 May 2012

any  news   about  your  mod   ??

Quote · 30 May 2012

This mod was put on hold. I have another one that is not functional due to changes with facebook that i need to get operational again.

I do not have a eta on this one.

https://www.deanbassett.com
Quote · 30 May 2012

 

Anyone knows  how to cretae in index page

 

Female Online Members Block

New Female Members Block


Man Online
Members Block

New Male Members Block


Couples online
Members Block

New Couples Members Block


 

Not 100% as you wish but you can try this,
- one Female block and one Male block
- You can choose between Latest, Top, Online and Couple(Latest is default), just like the member block.

own couple block is not so easy to make, because couple is also female and male..:)


open file: templates/base/scripts/BxBaseIndexPageView.php

1)
find this code:
    /**
     * Featured members block
     */
    function getBlockCode_Featured() {
        $iFeatureNum = getParam('featured_num');
        $aCode = $this->getMembers('Featured', array('Featured' => 1), $iFeatureNum);
        return $aCode;
    }

after this add:

    /**
     * Female members block
     */
    function getBlockCode_Females() {
        $iFemalesNum = '16'; // number of profiles
        $aCode = $this->getMembers('Sex', array('Sex' => female), $iFemalesNum);
        return $aCode;
    }

        /**
     * Male members block
     */
    function getBlockCode_Males() {
        $iMalesNum = '16'; // number of profiles
        $aCode = $this->getMembers('Sex', array('Sex' => male), $iMalesNum);
        return $aCode;
    }



2)
Go to Pagebuilder and chose Homepage
Add 2 new HTML-blocks an give Caption Lang Key this name

a)
Caption Lang Key: _female members

b)
Caption Lang Key: _male members



3)
Use pHpMyAdmin and choose table sys_page_compose
Edit your 2 new HTML-blocks inside your DB table(your 2 last inserted id's), edit Desc and Func to this

a) _female members

Desc: List of new female profiles
Func: Females

b) _male members

Desc: List of new male profiles
Func: Males


4)
Add new language keys

_female members - New Female Members
_male members     - New Male Members


5)
DONE, check your homepage...

Quote · 30 May 2012

That's pretty good, but take it one step further.

Look for the value 'Looking For'  if you are looking for females, it should show the female block, not the male.  Vice versa for the males.  that'd be a nice touch.

Also, change $iFemalesNum = '16'; // number of profiles

$iFemalesNum = getParam('featured_num');

same for the male block.

makes it easier to control from the admin panel

Now if I can just figure out how to make this work per membership level.... 

 

I might have this done by noon tomorrow.  lol

http://www.mytikibar.com
Quote · 30 May 2012
 
 
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.