the members in online and random

in the page browse profiles

it is possible to have random members

-----------------------------------------------------

in the block on the home page - members

it is possible to have - the members in online and random

---------------------------------------------------------------------------

in the browse page - photos - videos - music

how to change /all/10/1

by /all/12/1

I look great but I found no solution

thank you for your help

daniel

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 1 Mar 2009

in the page browse profiles

it is possible to have random members

  

open browse.php anf find $profiles_list_query and add RAND(), to it, like below

 

 $profiles_list_query = "SELECT `ID`, `NickName`, `Sex`, `DateOfBirth`, `FullName`, `Couple` FROM `Profiles` WHERE {$sql_add} AND `Profiles`.`Status`='Active' ORDER BY `Couple` ASC, RAND(), `Picture` DESC LIMIT {$real_first_p}, {$p_per_page}";

 

members without a photo will be mixed with members with photos

 

==========================================

 

in the block on the home page - members

it is possible to have - the members in online and random

 

Member online:

Settings/Basic Settings and below Index page settings

Show members on index page: Chang it from Rand to Online Members

 

and Random:

templates/base/scripts/BxBaseIndex.php

find function getBlockCode_Members

 

and add this code to the sql query below: , RAND()

 
case 'online':
    if( $mode == $myMode )
    $filter = " FROM `Profiles` WHERE `DateLastNav` > SUBDATE(NOW(), INTERVAL ".(int)getParam( "member_online_time" )." MINUTE) AND `Status` = 'Active' $query_add ORDER BY `Couple` ASC, RAND()";
    $modeTitle = _t('_Online');
    break;

==========================

 

in the browse page - photos - videos - music

how to change /all/10/1

 

You need to change it several place I think, maybe I look more on it!!!! 

Quote · 1 Mar 2009

thank you okweb

in the browse page - photos - videos - music

I change by

Results per page 12

Results per page 24

Results per page 36

Results per page 72

but when I click the menu - photos or music videos - I have only 10

and I would like 12

how to change /all/10/1 by how to change /all/12/1

----------------------------------------------

members online random ok perfect :)

I ask may be a little too

but it is possible to have

with members with photos first

it would be the class :)

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 1 Mar 2009

i have the same problem. have looked and looked and can't find the (all/10/1). any help would be great. thanks.

Quote · 1 Mar 2009

open file inc/classes/BxDolMenu.php

 

find and edit this line

 

'browseMusic.php'=> array('check'=>'permalinks_gallery_music', 'link'=>'music/all/12/1'),

'browsePhoto.php'=> array('check'=>'permalinks_gallery_photos', 'link'=>'photo/all/12/1'), 

'browseVideo.php'=> array('check'=>'permalinks_gallery_videos', 'link'=>'video/all/12/1'),

 

after you have do it login as admin and go to

Builders/Navigation Menu Builder and maybe move a block to be sure your menu is rebuild.

 

Take a look at your site now 

Quote · 2 Mar 2009

really a super big thank you okweb

daniel

with members with photos first

in the block and browse profiles

it would be the class :)

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 2 Mar 2009
browse.php - change to this
  

$profiles_list_query = "SELECT `ID`, `NickName`, `Sex`, `DateOfBirth`, `FullName`, `Couple` FROM `Profiles` WHERE {$sql_add} AND `Profiles`.`Status`='Active' ORDER BY `Couple` ASC, `Picture` DESC, RAND() LIMIT {$real_first_p}, {$p_per_page}";

 

 --------------------------------

Maybe don't show members with no photo uploaded

members with pictures only in the main members block on the homepage

Quote · 2 Mar 2009

browse profiles

its done - at random off-line - with or without pictures

it's strange - I add - Picture` > 0 AND

members with pictures only in the main members block on the homepage

but in the block to homepage - members

I always - with and without photo

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 2 Mar 2009

 

browse profiles

its done - at random off-line - with or without pictures

 

 

it's strange - I add - Picture` > 0 AND

members with pictures only in the main members block on the homepage

but in the block to homepage - members

 

I always - with and without photo

 

 

Works great for me...post your code so I can see what you have changed on members block!!

Quote · 2 Mar 2009
 
 
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.