2013-08-14, 12:52 PM
We often see people posts with all-caps or mixed letter subjects that looks very odd. Example?
HELLO brO!!!
HELP mE pLeaSE ...
Weird, right? Well, lets normalize the title with a single line core edit.
Open the file
Go to around line no. 148 and find this code line:
Now add just after that:
Save the file, reupload to right location.
Now all your future thread / post subjects will be like:
Hello Bro!!!
Help Me Please ...
Happy coding
HELLO brO!!!
HELP mE pLeaSE ...
Weird, right? Well, lets normalize the title with a single line core edit.
Open the file
inc/datahandlers/post.php
Go to around line no. 148 and find this code line:
$subject = trim_blank_chrs($subject);
Now add just after that:
$subject = ucwords(strtolower($subject));
Save the file, reupload to right location.
Now all your future thread / post subjects will be like:
Hello Bro!!!
Help Me Please ...
Happy coding