Read Rich :P

Here non-phpBB topics can be discussed.
Post Reply
mitchboy999_2
New member
New member
Posts: 12
Joined: 21 Jun 2009, 14:12
Location: Melbourne, Vic
Contact:

Read Rich :P

Post by mitchboy999_2 »

Lol your gamerscore just jumped like 10k. You did not do that legit did u?! - :P i tole u modding was fun ^^.

Join MY modding community if u do mod:)
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Read Rich :P

Post by RMcGirr83 »

Actually, it jumped about 1k due to me playing Borderlands, Beatles Rock Band and last night I picked up Splinter Cell: Conviction so it will be increasing yet some more.
mitchboy999_2
New member
New member
Posts: 12
Joined: 21 Jun 2009, 14:12
Location: Melbourne, Vic
Contact:

Re: Read Rich :P

Post by mitchboy999_2 »

RMcGirr83 » 04/17/10 10:21:11 wrote:Actually, it jumped about 1k due to me playing Borderlands, Beatles Rock Band and last night I picked up Splinter Cell: Conviction so it will be increasing yet some more.


Haha i could have sworn it jumped more than that :P. I would recommend 'Just Cause 2'. Now im not one for single player games but this is 'amazing'!

Also just while im here. is there a way to make the leaderboard show more that 25? say like 50? Would you be able to tell me the file edits please? :P
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Read Rich :P

Post by RMcGirr83 »

To change the number that is displayed, open leaderboard.php

FIND every instance of

Code: Select all

$config['topics_per_page']


and change it to any number you like.
mitchboy999_2
New member
New member
Posts: 12
Joined: 21 Jun 2009, 14:12
Location: Melbourne, Vic
Contact:

Re: Read Rich :P

Post by mitchboy999_2 »

RMcGirr83 » 04/18/10 11:30:08 wrote:To change the number that is displayed, open leaderboard.php

FIND every instance of

Code: Select all

$config['topics_per_page']


and change it to any number you like.


I opened leaderboard.pho. Although i couldn't find an exact match, i found this:

Code: Select all

//generate the page
$template->assign_vars(array(
   'PAGINATION'      => generate_pagination($pagination_url, $total_gamers, $config['topics_per_page'], $start),
   'PAGE_NUMBER'      => on_page($total_gamers, $config['topics_per_page'], $start),
   'TOTAL_GAMERS'      => ($total_gamers == 1) ? sprintf($user->lang['LIST_TOTAL_GAMER'],$total_gamers) : sprintf($user->lang['LIST_TOTAL_GAMERS'], $total_gamers),
   
   'U_SORT_USERNAME'   => $sort_url . '&sk=a&sd=' . (($sort_key == 'a' && $sort_dir == 'a') ? 'd' : 'a'),
   'U_SORT_GAMERSCORE'   => $sort_url . '&sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'),
   'U_SORT_GAMERZONE'   => $sort_url . '&sk=c&sd=' . (($sort_key == 'c' && $sort_dir == 'a') ? 'd' : 'a'),


But still, no numbers of 25.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Read Rich :P

Post by RMcGirr83 »

mitchboy,

I said

FIND every instance of

Code: Select all

$config['topics_per_page']


and change it to any number you like.


I said nothing about the number 25. The 25 is coming from your ACP where you have set "Topics per Page" to 25.
mitchboy999_2
New member
New member
Posts: 12
Joined: 21 Jun 2009, 14:12
Location: Melbourne, Vic
Contact:

Re: Read Rich :P

Post by mitchboy999_2 »

RMcGirr83 » 04/20/10 10:27:10 wrote:mitchboy,

I said

FIND every instance of

Code: Select all

$config['topics_per_page']


and change it to any number you like.


I said nothing about the number 25. The 25 is coming from your ACP where you have set "Topics per Page" to 25.


Oh im sorry, it works now. My bad. oh well... ive learned my lesson.

thanks.
Last edited by mitchboy999_2 on 13 Jan 2015, 00:01, edited 3 times in total.
Reason: Fixed bbcodes
Post Reply