I want my board to automatically capitalize topic titles. For example if a user starts a new thread with the title "hello this is me" the software will automatically convert it to "Hello this is me", i.e. a capital 'H'.
I came up with a solution myself, which is to edit the newthread.php file.
PHP Code:
$lowsubject =& $vbulletin->GPC['subject'];
$upsubject = strtoupper($lowsubject{0}).substr($lowsubject, 1, strlen($lowsubject) - 1);
$newpost['title'] =& $upsubject;
Is this ok? I'm not really up to date on how 3.5 works, but this solution seems to work for me. My questions are a) is there a neater/better way to do this? b) will I create any problems using that solution? and c) what is this difference betwen =& and plain old =?
Thanks