Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  PM Message Pages - too many
Users Browsing Forum
MSN Bot and 1 Guests

PM Message Pages - too many  This thread currently has 275 views. Print
1 Pages 1 Recommend Thread
mealybar
April 19, 2008, 8:13am Report to Moderator Report to Moderator

E-Blah Member
Posts: 178
Gender: Male
Posts Per Day: 0.16
Reputation: 100.00%
Reputation Score: +2 / -0
Time Online: 3 days 12 hours 33 minutes
Location: England
Age: 22
http://www.eblah.com/forum/m-1171229588/

This is still an issue for me; is there a small code change I can make?

I think it's here; PM.pl Line 124
Code
	# Get Pages
	$mupp = 15;
	$maxmessages = @pmz || 1;
	if($maxmessages < $mupp) {
		$URL{'p'} = 0;
		$totalpages = 1;
	} else { $totalpages = int(($maxmessages/$mupp)+.99); }
	$tstart = $URL{'p'} || 0;
	$link = "$surl\lv-memberpanel/a-pm/f-$URL{'f'}/start-$URL{'start'}/p";
	if($tstart > $maxmessages) { $tstart = $maxmessages; }
	$tstart = (int($tstart/$mupp)*$mupp);
	if($tstart > 0) { $bk = ($tstart-$mupp); $pagelinks = qq~<a href="$link-$bk/">&#171;</a> ~; }
	$counter = 1;
	for($i = 0; $i < $maxmessages; $i += $mupp) {
		if($i == $tstart || $maxmessages < $mupp) { $pagelinks .= qq~<strong>$counter</strong> ~; $nxt = ($tstart+$mupp); }
			else { $pagelinks .= qq~<a href="$link-$i/">$counter</a> ~; }
		++$counter;
	}
	if(($tstart+$mupp) != $i) { $pagelinks .= qq~ <a href="$link-$nxt/">&#187;</a>~; }
	$end = ($tstart+$mupp);
	if($end > @pmz) { $end = @pmz; }
	$totalshown = "\u$var{'92'} ".($tstart+1)."-$end $var{'93'} ".@pmz." $gtxt{'11'}.";

Revision History (2 edits)
Justin  -  April 21, 2008, 12:49am
Justin  -  April 21, 2008, 12:46am
Logged Offline
Private Message Private message
Justin
April 21, 2008, 12:47am Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,005
Gender: Male
Posts Per Day: 6.77
Reputation: 93.38%
Reputation Score: +296 / -21
Time Online: 36 days 17 hours 24 minutes
Location: Tallassee, AL
Age: 21
I'll see if I can solve this issue soon for you.

I thought you used the SQL version, my mistake.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 1 - 2
Justin
July 18, 2008, 6:37pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,005
Gender: Male
Posts Per Day: 6.77
Reputation: 93.38%
Reputation Score: +296 / -21
Time Online: 36 days 17 hours 24 minutes
Location: Tallassee, AL
Age: 21
Fixed, finally.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 2 - 2
1 Pages 1 Recommend Thread
Print

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  PM Message Pages - too many

Thread Tags