PDA

View Full Version : inserting settings.


sabret00the
02-13-2005, 07:46 PM
INSERT INTO settinggroup VALUES ('grps', 1130, 0);
INSERT INTO `setting` VALUES (4128, 0, '', 'grpsactive', '1', '', 'yesno', 20, 'grps', 'Yes', 0, 0);
INSERT INTO `setting` VALUES (4129, 0, '', 'grpsgroupslimit', '10', '', '', 30, 'grps', '10', 0, 0);
INSERT INTO `setting` VALUES (4130, 0, '', 'grpspostsperpage', '20', '', '', 40, 'grps', '20', 0, 0);
INSERT INTO `setting` VALUES (4131, 0, '', 'grpsstoreintegration', '1', '', 'yesno', 50, 'grps', 'no', 0, 0);
INSERT INTO `setting` VALUES (4132, 0, '', 'grpsmakegroupcost', '1000', '', '', 60, 'grps', '1000', 0, 0);
INSERT INTO `setting` VALUES (4133, 0, '', 'grpsjoingroupcharge', '250', '', '', 70, 'grps', '250', 0, 0);
INSERT INTO `setting` VALUES (4134, 0, '', 'grpscheckforumactivity', '0', '', 'yesno', 80, 'grps', 'no', 0, 0);
INSERT INTO `setting` VALUES (4135, 0, '', 'grpscheckforumactivityposts', '10', '', '', 90, 'grps', '10', 0, 0);
INSERT INTO `setting` VALUES (4136, 0, '', 'grpscheckforumactivitytime', '50', '', '', 100, 'grps', '50', 0, 0);
INSERT INTO `setting` VALUES (4137, 0, '', 'grpsnumrandimages', '10', '', '', 110, 'grps', '10', 0, 0);
INSERT INTO `setting` VALUES (4101, 0, '', 'grpsurl', '/groups/', '', '', 10, 'grps', '/groups/', 0, 1);


is it ok to just insert settings like this via a text installer andthen making em input the phrases seperately or would i be better offmaking folks insert em seperately/manually.?

Natch
02-13-2005, 09:31 PM
Best is always to make an installer: also to create a XML of the phrases is also much better than getting phrases installed manually..

cinq
02-14-2005, 12:59 AM
I'd suggest you make the last setting 'grpsurl' nonvolatile ( 0 ), else it gets removed during an upgrade.

deathemperor
02-14-2005, 08:21 AM
<a href="https://vborg.vbsupport.ru/showthread.php?p=611574#post611574" target="_blank">https://vborg.vbsupport.ru/showt...574#post611574</a>