1
jimmyx
total activities in the profile
  • 2007/12/27 2:39

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


right now it will show maximum 5 result for each module i want to change it to 6

how do i achieve this


thank you in advance

2
iHackCode
Re: total activities in the profile

look in userinfo.php for


foreach ($mids as $mid) {
if ( $gperm_handler->checkRight('module_read', $mid, $groups)) {
$module =& $module_handler->get($mid);
$results =& $module->search('', '', 5, 0, $thisUser->getVar('uid'));

change the 5 to a 6 or some number.

and change the code for the show all link. (so the numbers match up)
if ($count == 5) {
$showall_link = ''._US_SHOWALL.'';
} else {
$showall_link = '';
}
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

Login

Who's Online

277 user(s) are online (202 user(s) are browsing Support Forums)


Members: 0


Guests: 277


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits