FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » I have change the amount of Topic from 40 to 25
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: I have change the amount of Topic from 40 to 25 [message #13943 is a reply to message #13918] Sat, 01 November 2003 12:03 Go to previous messageGo to previous message
aircool5(at)bellsouth(dot)net is currently offline  aircool5(at)bellsouth(dot)net   United States
Messages: 132
Registered: March 2003
Karma:
Senior Member
Yes I did run the consistency checker after changing the topic per page settings.
Sorry I have try to sent you this file by the icq but it not funtion well.

Here is part of the file:
$cur_pg = ceil($start / $count);
$ttl_pg = ceil($total / $count);

$page_pager_data = '';

if (($page_start = $start - $count) > -1) {
if ($append) {
$page_first_url = $arg . $suf;
$page_prev_url = $arg . $page_start . $suf;
} else {
$page_first_url = $page_prev_url = $arg;
pager_replace($page_first_url, 0, $count);( this is the line 2867 where is supose to be an error)
pager_replace($page_prev_url, $page_start, $count);
}

$page_pager_data .= !$js_pager ? '&nbsp;<a href="'.$page_first_url.'" class="PagerLink">&laquo;</a>&nbsp;&nbsp;<a href="'.$page_prev_url.'" class="PagerLink">&lt;</a>&nbsp;&nbsp;' : '&nbsp;<a href="javascript://" onClick="'.$page_first_url.'" class="PagerLink">&laquo;</a>&nbsp;&nbsp;<a href="javascript://" onClick="'.$page_prev_url.'" class="PagerLink">&lt;</a>&nbsp;&nbsp;';
}

$mid = ceil($GLOBALS['GENERAL_PAGER_COUNT'] / 2);

if ($ttl_pg > $GLOBALS['GENERAL_PAGER_COUNT']) {
if (($mid + $cur_pg) >= $ttl_pg) {
$end = $ttl_pg;
$mid += $mid + $cur_pg - $ttl_pg;
$st = $cur_pg - $mid;
} else if (($cur_pg - $mid) <= 0) {
$st = 0;
$mid += $mid - $cur_pg;
$end = $mid + $cur_pg;
} else {
$st = $cur_pg - $mid;
$end = $mid + $cur_pg;
}

I try to sent by private massaging

[Updated on: Sat, 01 November 2003 12:24]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hardcoded colors
Next Topic: If I upgrade I loos the custom config.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 16:12:12 GMT 2024

Total time taken to generate the page: 0.04397 seconds