YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
No Subject error in ModifyMessage (Read 453 times)
 Feb 18th, 2013 at 1:42am
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,876
Earth


YaBB 2.5
No Subject error in ModifyMessage
When attempting to modify a message, the Warning 'No subject' appears when trying to save.

The cause, no default maximum Subject length when $set_subjectMaxLength is set to 0.

solution: In ModifyMessage.pl find
Code Select All
require "$sourcedir/SpamCheck.pl";
 



add after:
Code Select All
$set_subjectMaxLength ||= 50; 



The revised file is here
 
WWW  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.