Page Index Toggle Pages: 1 Print
Max number of Messages of Recent Posts (Y2.4) (Read 2064 times)
Captain John
Ex Member


Max number of Messages of Recent Posts (Y2.4)
May 22nd, 2009 at 4:31pm
Print Post  
Since upgrading to v2.4, one of my forum regulars has reported that the following functionality no longer works:

http://www.mydomain.co.uk/cgi-bin/yabb2/YaBB.pl?action=recent;display=50


Value of "Maximum number of messages returned on Recent Posts by Forum and by User?" is 50, and "View the x most recent posts of this forum." works with 50.


Quote:
The problem is that now the 'display'-value is send by a form-fileld and this value is then in $FORM{'display'} and not any more by $INFO{'display'}

You can insert in Recent.pl

Code
Select All
sub RecentPosts {
	&spam_protection;

	my $display = $FORM{'display'} || $INFO{'display'} ||= 10;
	if ($display < 0) { $display = 5; } 



  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Print
 
  « Board Index ‹ Board  ^Top