Aye. That's where I've been looking. The templates are neither bbcode nor css, so it doesn't apply
I do everything that template.php does, I think!
This is the data I'm entering:
PHP Code:
$data = array(
'templateid' => '',
'styleid' => $tStyleId,
'title' => $name,
'template' => $tTemplate,
'template_un' => $tTemplateUn,
'templatetype' => 'template',
'dateline' => $tTime,
'username' => 'Artashes',
'version' => '4.1.5',
'product' => 'vbulletin',
'mergestatus' => 'none'
);
if($this->db->insert('template', $data)){
return TRUE;
} else {
return FALSE;
}
The app uses CodeIgniter's database driver.
But I don't think this is the problem: everything is entered fine. I'll try entering a row into the adminlog.