#381 - Allow Post Templates to Accept Subject (Title)Templates
0 guests and 0 members have recently viewed this.
The top 3 point earners from 14th Dec 2025 to 21st Dec 2025.
| PDStig |
|
|
|---|---|---|
| Gabri |
|
|
| sholzy |
|
|
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})