Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Menu mo (http://www.bvlist.com/showthread.php?t=2517)

joeroberts 28th April 2009 05:11

Aamm sorry to butt in Guy's/galls But this is a help site you all did not know what You know now with out a little help!! so don't get so rude if someone asks for it!
If you can help then do so If not stay out of the topic!

All the Rude post not suported By this site!
So sorry for this!

andutzel 28th April 2009 12:38

@wolfman , i have this on browse.php :

$torrentsperpage = ($CURUSER['torrentsperpage'] <> 0 ? intval($CURUSER['torrentsperpage']) : $ts_perpage);
list($pagertop, $pagerbottom, $limit) = pager($torrentsperpage, $count, $_SERVER['SCRIPT_NAME'].'?'.(count($pagelinks) > 0 ? implode('&', $pagelinks).'&' : '').(count($pagelinks2) > 0 ? implode('&', $pagelinks2).'&' : ''));
$groupby = $torrentspeed == 'yes' ? ' GROUP by t.id ' : '';

Where to edit? :(

@joeroberts: you have right , that i wanna understand the others ... because nobody born Einsthein :)

oMaRcO 28th April 2009 12:46

user cp >>Edit Settings & Options>>Number of Torrents/Posts to Show Per Page 5,10,20,30,40 torrents.

that is all ;)

no need to edit php codes

andutzel 28th April 2009 12:56

I know that marco , but i wanna make 100 torrents/page DEFAULT.... not only for me :(

joeroberts 28th April 2009 13:20

you do know that you well really increase the Bandwidth usage by making it 100 per page right?
+ it well slow down the page loading.

andutzel 28th April 2009 13:22

I have an expensive hosting ... i don't think is a problem , anyway it was an example 100/page ... i want 50 / page (not 10..how is default).

wMan 28th April 2009 15:02

Quote:

Originally Posted by andutzel (Post 11157)
@wolfman , i have this on browse.php :

$torrentsperpage = ($CURUSER['torrentsperpage'] <> 0 ? intval($CURUSER['torrentsperpage']) : $ts_perpage);
list($pagertop, $pagerbottom, $limit) = pager($torrentsperpage, $count, $_SERVER['SCRIPT_NAME'].'?'.(count($pagelinks) > 0 ? implode('&', $pagelinks).'&' : '').(count($pagelinks2) > 0 ? implode('&', $pagelinks2).'&' : ''));
$groupby = $torrentspeed == 'yes' ? ' GROUP by t.id ' : '';

Where to edit? :(

@joeroberts: you have right , that i wanna understand the others ... because nobody born Einsthein :)

hmm what version of tbdev you realy have ? there must be a config or bittorent.php with default sets per page .

andutzel 28th April 2009 15:04

TS Special Edition v.5.1

wMan 28th April 2009 15:55

may it be in ts_functions.php < function sanitize_pageresults
not sure but default is 20 ?
(can't test so not sure )

andutzel 28th April 2009 22:54

I rezolved ... thanks a lot.

The setting is in config.php , and YES the default is 20. Thanks a lot wolfman for atention..


PS: Sorry for my bad english ...


All times are GMT +2. The time now is 21:14.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.