#381 - Allow Post Templates to Accept Subject (Title)Templates
1 guest and 0 members have recently viewed this.
The top 3 point earners from 8th Feb 2026 to 15th Feb 2026.
| Gabri |
|
|
|---|---|---|
| Master Rat |
|
|
| PDStig |
|
|
There are no events at this time
In forum/pages/modules/topics.php, above:
$apply[]=array($template['t_title'],$template['t_text'],$template['t_use_default_forums']);
add:
if (strpos($template['t_text'],'{')!==false)
{
require_code('tempcode_compiler');
$e=template_to_tempcode($template['t_text']);
$template['t_text']=$e->evaluate();
}
Then the post templates support Tempcode symbols (e.g. {$DATE})