CREATE TABLE `nucleus_actionlog` (
`timestamp` datetime NOT NULL default '0000-00-00 00:00:00',
`message` varchar(255) NOT NULL default ''
) TYPE=MyISAM;
CREATE TABLE `nucleus_activation` (
`vkey` varchar(40) NOT NULL default '',
`vtime` datetime NOT NULL default '0000-00-00 00:00:00',
`vmember` int(11) NOT NULL default '0',
`vtype` varchar(15) NOT NULL default '',
`vextra` varchar(128) NOT NULL default '',
PRIMARY KEY (`vkey`)
) TYPE=MyISAM;
CREATE TABLE `nucleus_ban` (
`iprange` varchar(15) NOT NULL default '',
`reason` varchar(255) NOT NULL default '',
`blogid` int(11) NOT NULL default '0'
) TYPE=MyISAM;
CREATE TABLE `nucleus_blog` (
`bnumber` int(11) NOT NULL auto_increment,
`bname` varchar(60) NOT NULL default '',
`bshortname` varchar(15) NOT NULL default '',
`bdesc` varchar(200) default NULL,
`bcomments` tinyint(2) NOT NULL default '1',
`bmaxcomments` int(11) NOT NULL default '0',
`btimeoffset` decimal(3,1) NOT NULL default '0.0',
`bnotify` varchar(60) default NULL,
`burl` varchar(100) default NULL,
`bupdate` varchar(60) default NULL,
`bdefskin` int(11) NOT NULL default '1',
`bpublic` tinyint(2) NOT NULL default '1',
`bsendping` tinyint(2) NOT NULL default '0',
`bconvertbreaks` tinyint(2) NOT NULL default '1',
`bdefcat` int(11) default NULL,
`bnotifytype` int(11) NOT NULL default '15',
`ballowpast` tinyint(2) NOT NULL default '0',
`bincludesearch` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`bnumber`),
UNIQUE KEY `bnumber` (`bnumber`),
UNIQUE KEY `bshortname` (`bshortname`)
) TYPE=MyISAM;
INSERT INTO `nucleus_blog` VALUES (1, 'My Nucleus CMS', 'mynucleuscms', '', 1, 0, 0.0, '', 'http://localhost:8080/nucleus/', '', 5, 1, 0, 1, 1, 1, 1, 0);
CREATE TABLE `nucleus_category` (
`catid` int(11) NOT NULL auto_increment,
`cblog` int(11) NOT NULL default '0',
`cname` varchar(40) default NULL,
`cdesc` varchar(200) default NULL,
PRIMARY KEY (`catid`)
) TYPE=MyISAM;
INSERT INTO `nucleus_category` VALUES (1, 1, 'General', 'Items that do not fit in other categories');
CREATE TABLE `nucleus_comment` (
`cnumber` int(11) NOT NULL auto_increment,
`cbody` text NOT NULL,
`cuser` varchar(40) default NULL,
`cmail` varchar(100) default NULL,
`cmember` int(11) default NULL,
`citem` int(11) NOT NULL default '0',
`ctime` datetime NOT NULL default '0000-00-00 00:00:00',
`chost` varchar(60) default NULL,
`cip` varchar(15) NOT NULL default '',
`cblog` int(11) NOT NULL default '0',
PRIMARY KEY (`cnumber`),
UNIQUE KEY `cnumber` (`cnumber`),
KEY `citem` (`citem`),
FULLTEXT KEY `cbody` (`cbody`)
) TYPE=MyISAM;
CREATE TABLE `nucleus_config` (
`name` varchar(20) NOT NULL default '',
`value` varchar(128) default NULL,
PRIMARY KEY (`name`)
) TYPE=MyISAM;
INSERT INTO `nucleus_config` VALUES ('DefaultBlog', '1');
INSERT INTO `nucleus_config` VALUES ('AdminEmail', 'example@example.org');
INSERT INTO `nucleus_config` VALUES ('IndexURL', 'http://localhost:8080/nucleus/');
INSERT INTO `nucleus_config` VALUES ('Language', 'english');
INSERT INTO `nucleus_config` VALUES ('SessionCookie', '');
INSERT INTO `nucleus_config` VALUES ('AllowMemberCreate', '');
INSERT INTO `nucleus_config` VALUES ('AllowMemberMail', '1');
INSERT INTO `nucleus_config` VALUES ('SiteName', 'My Nucleus CMS');
INSERT INTO `nucleus_config` VALUES ('AdminURL', 'http://localhost:8080/nucleus/nucleus/');
INSERT INTO `nucleus_config` VALUES ('NewMemberCanLogon', '1');
INSERT INTO `nucleus_config` VALUES ('DisableSite', '');
INSERT INTO `nucleus_config` VALUES ('DisableSiteURL', 'http://www.this-page-intentionally-left-blank.org/');
INSERT INTO `nucleus_config` VALUES ('LastVisit', '');
INSERT INTO `nucleus_config` VALUES ('MediaURL', 'http://localhost:8080/nucleus/media/');
INSERT INTO `nucleus_config` VALUES ('AllowedTypes', 'jpg,jpeg,gif,mpg,mpeg,avi,mov,mp3,swf,png');
INSERT INTO `nucleus_config` VALUES ('AllowLoginEdit', '');
INSERT INTO `nucleus_config` VALUES ('AllowUpload', '1');
INSERT INTO `nucleus_config` VALUES ('DisableJsTools', '2');
INSERT INTO `nucleus_config` VALUES ('CookiePath', '/');
INSERT INTO `nucleus_config` VALUES ('CookieDomain', '');
INSERT INTO `nucleus_config` VALUES ('CookieSecure', '');
INSERT INTO `nucleus_config` VALUES ('CookiePrefix', '');
INSERT INTO `nucleus_config` VALUES ('MediaPrefix', '1');
INSERT INTO `nucleus_config` VALUES ('MaxUploadSize', '1048576');
INSERT INTO `nucleus_config` VALUES ('NonmemberMail', '');
INSERT INTO `nucleus_config` VALUES ('PluginURL', 'http://localhost:8080/nucleus/nucleus/plugins/');
INSERT INTO `nucleus_config` VALUES ('ProtectMemNames', '1');
INSERT INTO `nucleus_config` VALUES ('BaseSkin', '5');
INSERT INTO `nucleus_config` VALUES ('SkinsURL', 'http://localhost:8080/nucleus/skins/');
INSERT INTO `nucleus_config` VALUES ('ActionURL', 'http://localhost:8080/nucleus/action.php');
INSERT INTO `nucleus_config` VALUES ('URLMode', 'normal');
INSERT INTO `nucleus_config` VALUES ('DatabaseVersion', '310');
CREATE TABLE `nucleus_item` (
`inumber` int(11) NOT NULL auto_increment,
`ititle` varchar(160) default NULL,
`ibody` text NOT NULL,
`imore` text,
`iblog` int(11) NOT NULL default '0',
`iauthor` int(11) NOT NULL default '0',
`itime` datetime NOT NULL default '0000-00-00 00:00:00',
`iclosed` tinyint(2) NOT NULL default '0',
`idraft` tinyint(2) NOT NULL default '0',
`ikarmapos` int(11) NOT NULL default '0',
`icat` int(11) default NULL,
`ikarmaneg` int(11) NOT NULL default '0',
PRIMARY KEY (`inumber`),
UNIQUE KEY `inumber` (`inumber`),
KEY `itime` (`itime`),
FULLTEXT KEY `ibody` (`ibody`,`ititle`,`imore`)
) TYPE=MyISAM PACK_KEYS=0;
INSERT INTO `nucleus_item` VALUES (1, 'Welcome to Nucleus CMS v3.2', 'This is the first post on your Nucleus CMS. Nucleus offers you the building blocks you need to create a web presence. Whether you want to create a personal blog, a family page, or an online business site, Nucleus CMS can help you achieve your goals.
\r\n
\r\nWe''ve loaded this first entry with links and information to get you started. Though you can delete this entry, it will eventually scroll off the main page as you add content to your site. Add your comments while you learn to work with Nucleus CMS, or bookmark this page so you can come back to it when you need to.', 'Home - nucleuscms.org
\r\nWelcome to the world of Nucleus CMS.
\r\n
\r\nIn 2001 a set of PHP scripts were let loose on the open Internet. Those scripts, which took user-generated data and used it to dynamically create html pages, contained the ideas and the algorithms that are the core of today’s Nucleus CMS. Though Nucleus CMS 3.2 is far more flexible and powerful than the scripts from which it emerged, it still expresses the values that guided its birth: flexibility, security, and computational elegance.
\r\n
\r\nThanks to an international community of sophisticated developers and designers, Nucleus CMS remains simple enough for anyone to learn, and expandable enough to allow you to build almost any website you can imagine. Nucleus CMS lets you integrate text, images, and user comments in a seamless package that will make your web presence as serious, professional, personal, or fun as you want it to be.
\r\n
\r\nWe hope you enjoy its power.
\r\n
\r\nDocumentation - docs.nucleuscms.org
\r\nVisit our frequently asked questions page for a quick overview.
\r\n
\r\nThe install process places user and developer documentation on the web server for your convenience.
\r\n
\r\nPop-up help is available throughout the administration area to assist you in maintaining and customizing your site. When in the Nucleus CMS admin area, click on this symbol
for context-sensitive help.
\r\n
\r\nOr, if you can’t find the answer you need, visit our community Wiki for user written tips and how-tos.
\r\n
\r\nSupport - forum.nucleuscms.org
\r\nShould you require assistance, please don''t hesitate to join the 1800+ registered users on our forums. With its built-in search capability of the 28,000+ posted articles, your answers are just a few clicks away. Remember: almost any question you think of has already been asked on the forums, and almost anything you want to do with Nucleus has been tried and explained there. Be sure to check them out.
\r\n
\r\nThanks to all the volunteers at the support forums.
\r\nadmun - Ottawa, ON, Canada
\r\nanand - Bangalore, India
\r\nhcgtv - Miami, USA
\r\nikeizer - Maastricht
\r\nmoraes - Curitiba, Brazil
\r\nroel - Rotterdam, The Netherlands
\r\nTeRanEX - Ekeren, Antwerp, Belgium
\r\nTrent - Alberta, Canada
\r\nxiffy - Deventer
\r\n
\r\nPersonalization - skins.nucleuscms.org
\r\nThe combination of multi-weblogs and skins/templates make for a powerful duo in personalizing your site or designing one for a friend, relative or business client. Import new skins to change the look of your website, or create your own skins and share them with the Nucleus community! Help designing or modifying skins is only a few clicks away in the Nucleus forums.
\r\n
\r\nWhat’s possible with Nucleus CMS:
\r\n
\r\nNucleus CMS is used on over 700 registered sites. Here are some ideas to get you started thinking about what Nucleus CMS can do for you:
\r\n
\r\nPersonal blogs
\r\nstanch.net - Stanch''s personal weblog
\r\nrakaz.nl - Rakaz''s personal weblog
\r\nbeefcake.nl - Beefcake | Nuke the whales!
\r\nbloggard.com - The Adventures of Bloggard
\r\nsempermagis.be - Webvoer voor de digitale honger. Warm geserveerd
\r\n
\r\nCommunity blogs
\r\ntipos.com.br - Brazilian blogging community
\r\n
\r\nFamily pages
\r\nmaguire.trentadams.ca - Maguire Baby Journal
\r\nbaruchito.com - Baruchito''s homeCage
\r\n
\r\nNews sites
\r\nprintculture.com - Politics, Culture, Academics
\r\namericandaily.com - American Daily - News & Commentary
\r\n
\r\nTravel sites
\r\nhsbluebird.com - Hot Springs, Montana''s Online Resource
\r\ngroningen-info.de - Neues aus Groningen. Für Leute aus Duitsland.
\r\n
\r\nBusiness sites
\r\nadrenalinsports.nl - Adrenalin sports
\r\nc-nes.org - Centre for Northeast Studies and Policy Research (C-NES)
\r\n
\r\nNucleus Developer Network - dev.nucleuscms.org
\r\nThe NUDN is a hub for developer sites and programming resources.
\r\n
\r\nNUDN satellite sites, location and UTC offset:
\r\nkarma - Izegem +02
\r\nhcgtv - Miami -05
\r\nadmun - Ottawa -04
\r\nTeRanEX - Ekeren +02
\r\n
\r\nSourceforge.net graciously hosts our Open Source project page which contains our software downloads and CVS repository.
\r\n
\r\nWant to play around, test changes or tell a friend or relative about Nucleus CMS? Visit our live demo site.
\r\n
\r\nLooking to add some extra functionality to the base Nucleus CMS package? Our plugin repository gives you plenty of ways to extend and expand what Nucleus CMS can do; your imagination and creativity are the only limit on how Nucleus CMS can work for you.
\r\n
\r\nDonators
\r\nWe would like to thank these nice people for their support. Thanks all!
\r\n
\r\nLike Nucleus CMS? Vote for us at HotScripts and opensourceCMS.
\r\n
\r\nLicense
\r\nWhen we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.', 1, 1, '2005-02-16 22:57:54', 0, 0, 0, 1, 0);
CREATE TABLE `nucleus_karma` (
`itemid` int(11) NOT NULL default '0',
`ip` char(15) NOT NULL default ''
) TYPE=MyISAM;
CREATE TABLE `nucleus_member` (
`mnumber` int(11) NOT NULL auto_increment,
`mname` varchar(16) NOT NULL default '',
`mrealname` varchar(60) default NULL,
`mpassword` varchar(40) NOT NULL default '',
`memail` varchar(60) default NULL,
`murl` varchar(100) default NULL,
`mnotes` varchar(100) default NULL,
`madmin` tinyint(2) NOT NULL default '0',
`mcanlogin` tinyint(2) NOT NULL default '1',
`mcookiekey` varchar(40) default NULL,
`deflang` varchar(20) NOT NULL default '',
PRIMARY KEY (`mnumber`),
UNIQUE KEY `mname` (`mname`),
UNIQUE KEY `mnumber` (`mnumber`)
) TYPE=MyISAM;
INSERT INTO `nucleus_member` VALUES (1, 'God', 'God', '714d82a0a84f9c6e3495fe2aa5618627', 'example@example.org', 'http://localhost:8080/nucleus/', '', 1, 1, '2b0b7cec42e697b5aae52461b2398e44', '');
CREATE TABLE `nucleus_plugin` (
`pid` int(11) NOT NULL auto_increment,
`pfile` varchar(40) NOT NULL default '',
`porder` int(11) NOT NULL default '0',
PRIMARY KEY (`pid`),
KEY `pid` (`pid`),
KEY `porder` (`porder`)
) TYPE=MyISAM;
CREATE TABLE `nucleus_plugin_event` (
`pid` int(11) NOT NULL default '0',
`event` varchar(40) default NULL,
KEY `pid` (`pid`)
) TYPE=MyISAM;
CREATE TABLE `nucleus_plugin_option` (
`ovalue` text NOT NULL,
`oid` int(11) NOT NULL auto_increment,
`ocontextid` int(11) NOT NULL default '0',
PRIMARY KEY (`oid`,`ocontextid`)
) TYPE=MyISAM;
CREATE TABLE `nucleus_plugin_option_desc` (
`oid` int(11) NOT NULL auto_increment,
`opid` int(11) NOT NULL default '0',
`oname` varchar(20) NOT NULL default '',
`ocontext` varchar(20) NOT NULL default '',
`odesc` varchar(255) default NULL,
`otype` varchar(20) default NULL,
`odef` text,
`oextra` text,
PRIMARY KEY (`opid`,`oname`,`ocontext`),
UNIQUE KEY `oid` (`oid`)
) TYPE=MyISAM;
CREATE TABLE `nucleus_skin` (
`sdesc` int(11) NOT NULL default '0',
`stype` varchar(20) NOT NULL default '',
`scontent` text NOT NULL,
PRIMARY KEY (`sdesc`,`stype`)
) TYPE=MyISAM;
INSERT INTO `nucleus_skin` VALUES (2, 'index', '\r\n\r\n <%blogsetting(name)%>\r\n \r\n <%version%>\r\n <%blog(feeds/atom/modified,1)%>\r\n <%blog(feeds/atom/entries,10)%>\r\n');
INSERT INTO `nucleus_skin` VALUES (4, 'index', '\r\n\r\n \r\n <%version%>\r\n http://nucleuscms.org/\r\n <%sitevar(url)%>\r\n \r\n \r\n http://nucleuscms.org/documentation/devdocs/xmlrpc.html\r\n \r\n \r\n http://nucleuscms.org/documentation/devdocs/xmlrpc.html\r\n \r\n \r\n \r\n');
INSERT INTO `nucleus_skin` VALUES (3, 'index', '\r\n\r\n \r\n <%blogsetting(name)%>\r\n <%blogsetting(url)%>\r\n <%blogsetting(desc)%>\r\n \r\n en-us \r\n <%version%>\r\n © \r\n Weblog\r\n http://backend.userland.com/rss\r\n \r\n <%blogsetting(url)%>/nucleus/nucleus2.gif\r\n <%blogsetting(name)%>\r\n <%blogsetting(url)%>\r\n \r\n <%blog(feeds/rss20,10)%>\r\n \r\n');
CREATE TABLE `nucleus_skin_desc` (
`sdnumber` int(11) NOT NULL auto_increment,
`sdname` varchar(20) NOT NULL default '',
`sddesc` varchar(200) default NULL,
`sdtype` varchar(40) NOT NULL default 'text/html',
`sdincmode` varchar(10) NOT NULL default 'normal',
`sdincpref` varchar(50) NOT NULL default '',
PRIMARY KEY (`sdnumber`),
UNIQUE KEY `sdname` (`sdname`),
UNIQUE KEY `sdnumber` (`sdnumber`)
) TYPE=MyISAM;
INSERT INTO `nucleus_skin_desc` VALUES (2, 'feeds/atom', 'Atom 0.3 weblog syndication', 'application/atom+xml', 'normal', '');
INSERT INTO `nucleus_skin_desc` VALUES (3, 'feeds/rss20', 'RSS 2.0 syndication of weblogs', 'text/xml', 'normal', '');
INSERT INTO `nucleus_skin_desc` VALUES (4, 'xml/rsd', 'RSD (Really Simple Discovery) information for weblog clients', 'text/xml', 'normal', '');
INSERT INTO `nucleus_skin_desc` VALUES (5, 'default', 'Nucleus CMS default skin', 'text/html', 'skindir', 'default/');
CREATE TABLE `nucleus_team` (
`tmember` int(11) NOT NULL default '0',
`tblog` int(11) NOT NULL default '0',
`tadmin` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`tmember`,`tblog`)
) TYPE=MyISAM;
INSERT INTO `nucleus_team` VALUES (1, 1, 1);
CREATE TABLE `nucleus_template` (
`tdesc` int(11) NOT NULL default '0',
`tpartname` varchar(20) NOT NULL default '',
`tcontent` text NOT NULL,
PRIMARY KEY (`tdesc`,`tpartname`)
) TYPE=MyISAM;
INSERT INTO `nucleus_template` VALUES (3, 'ITEM', '- \r\n ]]>\r\n <%blogurl%>index.php?itemid=<%itemid%>\r\n<%more%>]]>\r\n <%category%>\r\n<%blogurl%>index.php?itemid=<%itemid%>\r\n <%date(rfc822)%>\r\n
');
INSERT INTO `nucleus_template` VALUES (3, 'EDITLINK', 'edit');
INSERT INTO `nucleus_template` VALUES (4, 'ITEM', '<%date(utc)%>');
INSERT INTO `nucleus_template` VALUES (5, 'ITEM', '\r\n ]]>\r\n \r\n \r\n <%author%>\r\n \r\n <%date(utc)%>\r\n <%date(iso8601)%>\r\n <%more%>]]>\r\n <%blogurl%>:<%blogid%>:<%itemid%>\r\n');
INSERT INTO `nucleus_template` VALUES (3, 'FORMAT_DATE', '%x');
INSERT INTO `nucleus_template` VALUES (3, 'FORMAT_TIME', '%X');
CREATE TABLE `nucleus_template_desc` (
`tdnumber` int(11) NOT NULL auto_increment,
`tdname` varchar(20) NOT NULL default '',
`tddesc` varchar(200) default NULL,
PRIMARY KEY (`tdnumber`),
UNIQUE KEY `tdnumber` (`tdnumber`),
UNIQUE KEY `tdname` (`tdname`)
) TYPE=MyISAM;
INSERT INTO `nucleus_template_desc` VALUES (4, 'feeds/atom/modified', 'Atom feeds: Inserts last modification date');
INSERT INTO `nucleus_template_desc` VALUES (5, 'feeds/atom/entries', 'Atom feeds: Feed items');
INSERT INTO `nucleus_template_desc` VALUES (3, 'feeds/rss20', 'Used for RSS 2.0 syndication of your blog');
INSERT INTO `nucleus_template_desc` VALUES (8, 'default/index', 'Nucleus CMS default index template');
INSERT INTO `nucleus_template_desc` VALUES (9, 'default/item', 'Nucleus CMS default item template');
CREATE TABLE `nucleus_tickets` (
`ticket` varchar(40) NOT NULL default '',
`ctime` datetime NOT NULL default '0000-00-00 00:00:00',
`member` int(11) NOT NULL default '0',
PRIMARY KEY (`ticket`,`member`)
) TYPE=MyISAM;