[Core Edit] Normalize Thread / Post Title
#1
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
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 Big Grin
Reply
#2
hehehehe Big Grin
MyBB From My Beautiful Board Heart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)