Quote:
Originally posted by Automated
How about making smilies work in the comments section? That would make a nice addition!
|
In proarcade.php, look for:
// set up vars for templates to grab
$lb_userid = $sb_loop[userid];
$lb_username = $sb_loop[username];
$lb_score = number_format($sb_loop[score]);
$lb_comment = $sb_loop[comment];
Change that last line to:
$lb_comment = bbcodeparse($sb_loop[comment]);
Then look for:
$lb_userid = $tsb_loop[userid];
$lb_username = $tsb_loop[username];
$lb_score = number_format($tsb_loop[maxscore]);
$lb_comment = $tsb_loop[comment];
And change the last line to:
$lb_comment = bbcodeparse($tsb_loop[comment]);
That will make vBcode and smilies work in the comments section.