Page Index Toggle Pages: 1
Topic Tools
Normal Topic Negative incrementing of IM numbers with AlertModerator (Read 755 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,272
Location: Earth

YaBB 2.6.1
Negative incrementing of IM numbers with AlertModerator
Jan 11th, 2013 at 7:41pm
Post Tools
This goes back to at least 2.5AE and possibly before.
When the 'AlertModerator' function is active and is used, the recipient's new posts' shows negative number. The reason: The file that keeps track of how many posts and new posts is not properly updated.

the Fix in Post.pl:

in 2.5AE and in 2.5.2 find:
Code (Perl)
Select All
			print INBOX @inmessages;
			fclose(INBOX);
 


add after:
Code (Perl)
Select All
            require "$sourcedir/MyCenter.pl";
            updateIMS( $toBoardMod, $newthreadid, 'messagein' );
 


  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top