
10-04-2007, 04:25 AM
|
|
|
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by IrPr
Or just this simple query:
[SQL]INSERT INTO `FORUM`.`LOCAL_linksadmin` (`settingname`, `setting`, `sequence`, `rowtype`, `rowtitle`, `canoverride`, `catid`) VALUES ('links_linkbit_movie', 'a:4:{s:4:"name";s:5:"Movie";s:6:"defcol";i:1;s:6: "maxcol";i:4;s:6:"subbit";s:15:"links_subcatbit";} ', 50011, 'define_linkbit', '', 1, -1);
[/SQL]
Where FORUM is your forum table and LOCAL_ is your LDM table prefix
This query adds Movie template_linkbit which points to links_linkbit_movie template,
If you want to change your template_linkbit name you have to change 5 ( exact before :"Movie" ) to your template_linkbit display name's length
Edit: You have to add linksbit_linkbit_movie template manually
Please BACKUP your linksadmin table before executing this query or test on your local/test forum
|
Be careful - patching the admin table will work but it's not guaranteed to continue to work following an upgrade.
|