Changing Number of Online Users Shown

Hey,


When you search "Online" Members", the default is to show 10 users with the option of showing more per page.

Does anyone know how to change this default of 10 to make it more.

Thanks.

No Signature at this time.
Quote · 28 Feb 2010

Any takers?

No Signature at this time.
Quote · 28 Feb 2010

I would also like to know where that is and change the default from simple to extended.........

Csampson
Quote · 28 Feb 2010

I guess you need to be a premium member to have your questions answered on here. :-)

No Signature at this time.
Quote · 1 Mar 2010

No. It has nothing to do with whether your premium or not. It has to do with waiting until someone who actually has an answer to your request reads the post. I don't so I didn't.

But I do have an answer to your question about premium or non premium

 

PHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHT!

Laughing

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 1 Mar 2010

All good. I was just being facetious.  I've had tons of my questions answered on these forums.

Actually, this is one of the reasons why I changed my site over to Dolphin 7 software.  I really liked the fact that you could discuss and share issues with other users on the forums.  Also, I love all the mods, templates and extras you can buy in the market.

No Signature at this time.
Quote · 1 Mar 2010

I would also like to know where that is and change the default from simple to extended.........

http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/Change-Default-to-Extended.htm

Quote · 2 Mar 2010

I would like to know this too.

How do you show at least 30 or so online members in a page.

Mine shows 10 online and then I have to click the       |<  <<      >> >|

to scroll and see the next 10 etc...

 

I can't find any configuration settings in the admin for this.

 

Quote · 11 Mar 2011

Open the : templates/base/scripts/BxBaseProfileView.php

find this code line:

$iCurrentPage    = isset( $_GET['page']         ) ? (int)$_GET['page']         : 1;

and replace 1 with your value!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 11 Mar 2011

Sasha,

just for clarification purposes here, and first off thanks for the response. but i was wondering on this, since this is something that many have inquired about. at some point wouldnt it be prudent to allow this type of site management from the admin panel, instead of having to hack the files?

 

because as soon as we get another update, all of these manual hacks are going to be wiped out.

 

i took the path you provided, but was not understanding why we would change

Open the : templates/base/scripts/BxBaseProfileView.php

find this code line:

$iCurrentPage    = isset( $_GET['page']         ) ? (int)$_GET['page']         : 1;

and replace 1 with your value!

when what i seen was the following and applied this method and the result was exactly what was sought after in our case:

//collect pagination
$iCurrentPage    = isset( $_GET['page']         ) ? (int)$_GET['page']         : 1;
$iResultsPerPage = isset( $_GET['res_per_page'] ) ? (int)$_GET['res_per_page'] : 32;

if( $iCurrentPage < 1 )
$iCurrentPage = 1;
if( $iResultsPerPage < 1 )
$iResultsPerPage = 32;

so what was changed here was $iResultsPerPage from 10 to 32, 32 in our case was selected because the width of the block was holding 8 profiles wide, so the aesthetics dictated 8 x 4 --> 32

 

so if the page was changed from 1 to some other value, what exactly is that changing?

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 11 Mar 2011

 

Sasha,

just for clarification purposes here, and first off thanks for the response. but i was wondering on this, since this is something that many have inquired about. at some point wouldnt it be prudent to allow this type of site management from the admin panel, instead of having to hack the files?

 

because as soon as we get another update, all of these manual hacks are going to be wiped out.

 

i took the path you provided, but was not understanding why we would change

Open the : templates/base/scripts/BxBaseProfileView.php

find this code line:

$iCurrentPage    = isset( $_GET['page']         ) ? (int)$_GET['page']         : 1;

and replace 1 with your value!

when what i seen was the following and applied this method and the result was exactly what was sought after in our case:

//collect pagination
$iCurrentPage    = isset( $_GET['page']         ) ? (int)$_GET['page']         : 1;
$iResultsPerPage = isset( $_GET['res_per_page'] ) ? (int)$_GET['res_per_page'] : 32;

if( $iCurrentPage < 1 )
$iCurrentPage = 1;
if( $iResultsPerPage < 1 )
$iResultsPerPage = 32;

so what was changed here was $iResultsPerPage from 10 to 32, 32 in our case was selected because the width of the block was holding 8 profiles wide, so the aesthetics dictated 8 x 4 --> 32

 

so if the page was changed from 1 to some other value, what exactly is that changing?

It's  just count of people for per page. (Default value)

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 11 Mar 2011

 

Sasha,

just for clarification purposes here, and first off thanks for the response. but i was wondering on this, since this is something that many have inquired about. at some point wouldnt it be prudent to allow this type of site management from the admin panel, instead of having to hack the files?

 

because as soon as we get another update, all of these manual hacks are going to be wiped out.

 

i took the path you provided, but was not understanding why we would change

Open the : templates/base/scripts/BxBaseProfileView.php

find this code line:

$iCurrentPage    = isset( $_GET['page']         ) ? (int)$_GET['page']         : 1;

and replace 1 with your value!

when what i seen was the following and applied this method and the result was exactly what was sought after in our case:

//collect pagination
$iCurrentPage    = isset( $_GET['page']         ) ? (int)$_GET['page']         : 1;
$iResultsPerPage = isset( $_GET['res_per_page'] ) ? (int)$_GET['res_per_page'] : 32;

if( $iCurrentPage < 1 )
$iCurrentPage = 1;
if( $iResultsPerPage < 1 )
$iResultsPerPage = 32;

so what was changed here was $iResultsPerPage from 10 to 32, 32 in our case was selected because the width of the block was holding 8 profiles wide, so the aesthetics dictated 8 x 4 --> 32

 

so if the page was changed from 1 to some other value, what exactly is that changing?

So do you want that I'll provide you all steps that this option will be in admin panel?

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 11 Mar 2011

Sasha,

yes, it would be great if there could be a mechanism provided and placed on trac, so that others can apply the patch and have the ability to manage such administrative functions such as specifying the number of results per page on any of the options available.

 

i dont necessarily need the instructions, but would certainly take them and apply them on the sites that i manage and those would would also like to see this information be available, im sure it would be greatly accepted and much appreciated.

if you have the time, it would be great to see this as a patch for administrative functionality.

 

thanks,

DD

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 11 Mar 2011
 
 
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.