Quote:
Originally Posted by Allan
Thank you
how to limit the number of characters ?
|
Two possibilities:
1. By modifying the SQL.
In the file, find:
Code:
SELECT threadid, title
and replace by:
Code:
SELECT threadid, LEFT(title,20) AS title
2. By adding PHP:
Find:
PHP Code:
eval('$mythreadsbits .= "' . fetch_template('postbit_mythreadsbit') . '";');
and add before:
PHP Code:
$mythread['title'] = substr($mythread['title'],0,20);
Change 20 by the maximum size desired