Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
Thread Tools
  #11  
Old 28th April 2009, 05:11
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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!
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #12  
Old 28th April 2009, 12:38
andutzel andutzel is offline
Member
 
Join Date: Jan 2008
Posts: 14
Default
@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('&amp;', $pagelinks).'&amp;' : '').(count($pagelinks2) > 0 ? implode('&amp;', $pagelinks2).'&amp;' : ''));
$groupby = $torrentspeed == 'yes' ? ' GROUP by t.id ' : '';

Where to edit? :(

@joeroberts: you have right , that i wanna understand the others ... because nobody born Einsthein :)
Reply With Quote
  #13  
Old 28th April 2009, 12:46
oMaRcO oMaRcO is offline
Senior Member
 
Join Date: Jul 2008
Netherlands
Posts: 38
Default
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
Reply With Quote
  #14  
Old 28th April 2009, 12:56
andutzel andutzel is offline
Member
 
Join Date: Jan 2008
Posts: 14
Default
I know that marco , but i wanna make 100 torrents/page DEFAULT.... not only for me :(
Reply With Quote
  #15  
Old 28th April 2009, 13:20
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #16  
Old 28th April 2009, 13:22
andutzel andutzel is offline
Member
 
Join Date: Jan 2008
Posts: 14
Default
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).
Reply With Quote
  #17  
Old 28th April 2009, 15:02
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
Quote:
Originally Posted by andutzel View Post
@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('&amp;', $pagelinks).'&amp;' : '').(count($pagelinks2) > 0 ? implode('&amp;', $pagelinks2).'&amp;' : ''));
$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 .
Reply With Quote
  #18  
Old 28th April 2009, 15:04
andutzel andutzel is offline
Member
 
Join Date: Jan 2008
Posts: 14
Default
TS Special Edition v.5.1
Reply With Quote
  #19  
Old 28th April 2009, 15:55
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
may it be in ts_functions.php < function sanitize_pageresults
not sure but default is 20 ?
(can't test so not sure )
Reply With Quote
  #20  
Old 28th April 2009, 22:54
andutzel andutzel is offline
Member
 
Join Date: Jan 2008
Posts: 14
Default
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 ...
Reply With Quote
Reply

Tags
menu , mo


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add javascript menu to my site? Giorgatzelos BT.Manager (phpMyBitTorrent) 10 24th October 2010 15:30
Leftside menu? cekosexama TBDev 1 5th May 2010 12:53
Top Menu cosworth Community Cafe 1 9th May 2009 12:39
[YSE] Theme with Top Menu? ajax Yuna Scatari Edition (YSE) 0 20th April 2009 15:08
Menu problem euphrodil Template Shares 4 18th January 2009 22:16



All times are GMT +2. The time now is 23:20. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.