Various modifications for phpBB3Capitalise first letter for mchat

Snippets for phpBB3
Previous topicNext topic
User avatar

Topic Author
dmzx
Founder
Founder
Magic user status: Online
Posts: 5975
Joined: Jan 13th, '14, 20:45
    unknown unknown

Capitalise first letter for mchat

Post by dmzx »

Capitalise first letter for mchat

Addon for mchat.

Open /mchat.php

Find This may be a partial find and not the whole line

Code: Select all

// Reguest...
          $message = utf8_normalize_nfc(request_var('message', '', true));
Replace with Replace the preceding lines with the following

Code: Select all

 // Reguest...
          $message = utf8_ucfirst(utf8_normalize_nfc(request_var('message', '', true)));


Demo:say hello in the shoutbox DON'T use caps.
binance.com ;) try it!
Previous topicNext topic