For BFly Users do not run this query For R96C the emu won't start!LightCMS 2
Run these queries on your database:
rate'n'slate, but hate = gay. Constructive criticism appreciated, i'm always looking on ways to improve my work!Code:/* Navicat MySQL Data Transfer Source Server : local Source Server Version : 50165 Source Host : localhost:3306 Source Database : bfly Target Server Type : MYSQL Target Server Version : 50165 File Encoding : 65001 Date: 2012-08-22 06:32:13 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `site_hotcampaigns` -- ---------------------------- DROP TABLE IF EXISTS `site_hotcampaigns`; CREATE TABLE `site_hotcampaigns` ( `id` int(11) NOT NULL AUTO_INCREMENT, `order_id` int(11) NOT NULL DEFAULT '1', `enabled` enum('0','1') NOT NULL DEFAULT '1', `image_url` text NOT NULL, `caption` text NOT NULL, `descr` text NOT NULL, `url` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of site_hotcampaigns -- ---------------------------- INSERT INTO `site_hotcampaigns` VALUES ('1', '1', '1', 'http://i.imgur.com/Au8Dr.gif', 'Yo, i\'m a hot campaign! Sizzling!', 'Hahaha! ***** loves men.', ''); -- ---------------------------- -- Table structure for `site_news` -- ---------------------------- DROP TABLE IF EXISTS `site_news`; CREATE TABLE `site_news` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `seo_link` varchar(120) NOT NULL DEFAULT 'news-article', `title` text NOT NULL, `category_id` int(10) unsigned NOT NULL DEFAULT '1', `topstory_image` text NOT NULL, `body` text NOT NULL, `snippet` text NOT NULL, `datestr` varchar(50) NOT NULL, `timestamp` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `datestr` (`datestr`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of site_news -- ---------------------------- INSERT INTO `site_news` VALUES ('9', 'nieuwe-site', 'Nieuwe Site', '12', 'c_images/Top_Story_Images/BeachBunny2.gif', '<p>Hey Nablo\'s,</p>\r\n<p>Ja! We hebben eindelijk een nieuw site uiterlijk, deze gemaakt door T09! Het enige wat niet zo leuk is voor jullie is dat alle accounts zijn verwijdert. Dit omdat we een geheel nieuwe database hebben gekregen. Dit is wel beter voor ons, omdat we nu minder laggen etc.</p>\r\n<p>Nablo is nu in top conditie, nog wat laatste aanpassingen en we zijn helemaal klaar! Het enige wat we van jullie vragen is om zoveel mogelijk reclame te maken op andere hotels.</p>\r\n<p>TIPS:</p>\r\n<p>- Maak reclame op drukke hotels</p>\r\n<p>- Maak reclame op MSN</p>\r\n<p>- Maak reclame op Twitter/Facebook/Hyves</p>\r\n<p>- Maak niet een half uur reclame dat is te kort!</p>\r\n<p>Bij de 25 Start ik de Sollicitatie\'s !</p>\r\n<p> </p>\r\n<p>Groetjes,</p>\r\n<p>Thierry & T09 & Relic - Hotel Beheer</p>', '<p>Wa is ie mooi!</p>', '28-Jun-2012', '1340992623'); INSERT INTO `site_news` VALUES ('10', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'testr', '29-Jun-2012', '1340985763'); INSERT INTO `site_news` VALUES ('11', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'test', '29-Jun-2012', '1340985769'); INSERT INTO `site_news` VALUES ('12', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'test', '29-Jun-2012', '1340985782'); INSERT INTO `site_news` VALUES ('13', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'testt', '29-Jun-2012', '1340985789'); -- ---------------------------- -- Table structure for `site_news_categories` -- ---------------------------- DROP TABLE IF EXISTS `site_news_categories`; CREATE TABLE `site_news_categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `caption` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of site_news_categories -- ---------------------------- INSERT INTO `site_news_categories` VALUES ('12', 'Uncategorized'); INSERT INTO `site_news_categories` VALUES ('1', 'Habbo'); INSERT INTO `site_news_categories` VALUES ('2', 'Technical'); INSERT INTO `site_news_categories` VALUES ('3', 'Updates'); INSERT INTO `site_news_categories` VALUES ('4', 'Competitions'); INSERT INTO `site_news_categories` VALUES ('5', 'Polls'); INSERT INTO `site_news_categories` VALUES ('6', 'Sponsored'); INSERT INTO `site_news_categories` VALUES ('7', 'Credits'); INSERT INTO `site_news_categories` VALUES ('8', 'Habbo Club'); INSERT INTO `site_news_categories` VALUES ('9', 'VIP'); INSERT INTO `site_news_categories` VALUES ('10', 'Furni'); INSERT INTO `site_news_categories` VALUES ('11', 'Support'); INSERT INTO `site_news_categories` VALUES ('13', 'Habbo.VG Way'); -- ---------------------------- -- Table structure for `users` -- ---------------------------- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `username` char(50) NOT NULL, `real_name` char(100) NOT NULL DEFAULT '', `password` char(42) NOT NULL, `mail` varchar(50) NOT NULL DEFAULT '[email protected]', `auth_ticket` varchar(60) NOT NULL, `rank` int(1) unsigned NOT NULL DEFAULT '1', `credits` int(11) NOT NULL DEFAULT '0', `vip_points` int(11) NOT NULL DEFAULT '0', `activity_points` int(11) NOT NULL DEFAULT '0', `activity_points_lastupdate` double(5,0) NOT NULL DEFAULT '0', `look` char(100) NOT NULL DEFAULT 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62', `gender` enum('M','F') NOT NULL DEFAULT 'M', `motto` char(50) NOT NULL, `account_created` char(12) NOT NULL, `last_online` varchar(20) NOT NULL, `online` enum('0','1') NOT NULL DEFAULT '0', `ip_last` char(20) NOT NULL, `ip_reg` char(20) NOT NULL, `home_room` int(10) unsigned NOT NULL DEFAULT '0', `respect` int(11) NOT NULL DEFAULT '0', `daily_respect_points` int(1) NOT NULL DEFAULT '3', `daily_pet_respect_points` int(1) NOT NULL DEFAULT '3', `newbie_status` int(1) NOT NULL DEFAULT '3', `is_muted` enum('0','1') NOT NULL DEFAULT '0', `mutant_penalty` enum('0','1','2') NOT NULL DEFAULT '0', `mutant_penalty_expire` int(11) NOT NULL DEFAULT '0', `block_newfriends` enum('0','1') NOT NULL DEFAULT '0', `lastdailycredits` char(18) NOT NULL DEFAULT '', `points` int(11) NOT NULL DEFAULT '0', `block_trade` enum('1','0') NOT NULL DEFAULT '0', `crystals` int(11) NOT NULL DEFAULT '0', `currentquestid` int(11) unsigned NOT NULL, `currentquestprogress` int(11) NOT NULL, `achievement_points` int(11) NOT NULL, PRIMARY KEY (`username`), UNIQUE KEY `id` (`id`) USING HASH, UNIQUE KEY `username` (`username`) USING BTREE, KEY `ip_last` (`ip_last`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of users -- ---------------------------- INSERT INTO `users` VALUES ('2', 'asfadfsdgf', '', '4121aef67f24ada7e7b3f0b57f2fb57cab0b2d8a', '[email protected]', '', '10', '18175', '0', '1200', '99999', 'hd-180-2.sh-290-92.lg-275-92.ch-3030-63.hr-831-61', 'M', 'I am new at Zap, hey!', '14-Aug-2012', '8/14/2012 4:52:53 PM', '1', '127.0.0.1', '127.0.0.1', '1', '0', '3', '3', '3', '0', '0', '0', '0', '08/14', '0', '0', '0', '0', '0', '0'); INSERT INTO `users` VALUES ('3', 'jcat', '', '7bef6b4c97db89b71afd09b53c38df99449c46e9', '[email protected]', 'LIG-49124523469-1017511907-TestHotel-3', '1', '5000', '0', '1000', '0', 'hd-180-2.sh-290-92.lg-275-92.ch-3030-63.hr-831-61', 'M', 'I am new at Zap, hey!', '21-Aug-2012', '', '0', '127.0.0.1', '127.0.0.1', '1', '0', '3', '3', '3', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0'); INSERT INTO `users` VALUES ('1', 'lolcat', '', '5003a0a6ba6846f5aada477da94347e7e4fd2bdc', '[email protected]', '', '10', '29627', '0', '4600', '99999', 'hd-180-2.sh-290-92.lg-275-92.ch-3030-63.hr-831-61', 'M', 'I am new at Zap, hey!', '13-Aug-2012', '8/13/2012 8:15:27 PM', '0', '127.0.0.1', '127.0.0.1', '1', '0', '3', '0', '3', '0', '0', '0', '0', '08/13', '0', '0', '0', '0', '0', '0');
Jonty
MySQLi is only an improve on MySQL. You can use it with xamp, because it has nothing to do with the server. It's the version of php your using. Make sure you have the most recent version of xampp also.I have no idea how to convert this from MySQLi to Plain old MySQL as I don't have a MySQLi engine to run it on I only use XAMPP or web hosting with links to a VPS
I have both the latest versions but how do I make an SQLi DB? Or is it done else where? i'm not entirely sure as I mainly use MySQLMySQLi is only an improve on MySQL. You can use it with xamp, because it has nothing to do with the server. It's the version of php your using. Make sure you have the most recent version of xampp also.
You don't have to edit Nything. Just download, and use.I have both the latest versions but how do I make an SQLi DB? Or is it done else where? i'm not entirely sure as I mainly use MySQL
Just use another CMS. Jonty wont support you, nobody probaly will...Okay, so it's all set up on my VPS but, I'm having issues accessing the staff page here's the error: Fatal error: Call to undefined method LightCore::getSystemString() in C:\xampp\htdocs\staff\core.php on line 14
/*
Navicat MySQL Data Transfer
Source Server : local
Source Server Version : 50165
Source Host : localhost:3306
Source Database : bfly
Target Server Type : MYSQL
Target Server Version : 50165
File Encoding : 65001
Date: 2012-08-22 06:32:13
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `site_hotcampaigns`
-- ----------------------------
DROP TABLE IF EXISTS `site_hotcampaigns`;
CREATE TABLE `site_hotcampaigns` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`order_id` int(11) NOT NULL DEFAULT '1',
`enabled` enum('0','1') NOT NULL DEFAULT '1',
`image_url` text NOT NULL,
`caption` text NOT NULL,
`descr` text NOT NULL,
`url` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of site_hotcampaigns
-- ----------------------------
INSERT INTO `site_hotcampaigns` VALUES ('1', '1', '1', 'http://i.imgur.com/Au8Dr.gif', 'Yo, i\'m a hot campaign! Sizzling!', 'Hahaha! ***** loves men.', '');
-- ----------------------------
-- Table structure for `site_news`
-- ----------------------------
DROP TABLE IF EXISTS `site_news`;
CREATE TABLE `site_news` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`seo_link` varchar(120) NOT NULL DEFAULT 'news-article',
`title` text NOT NULL,
`category_id` int(10) unsigned NOT NULL DEFAULT '1',
`topstory_image` text NOT NULL,
`body` text NOT NULL,
`snippet` text NOT NULL,
`datestr` varchar(50) NOT NULL,
`timestamp` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `datestr` (`datestr`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of site_news
-- ----------------------------
INSERT INTO `site_news` VALUES ('9', 'nieuwe-site', 'Nieuwe Site', '12', 'c_images/Top_Story_Images/BeachBunny2.gif', '<p>Hey Nablo\'s,</p>\r\n<p>Ja! We hebben eindelijk een nieuw site uiterlijk, deze gemaakt door T09! Het enige wat niet zo leuk is voor jullie is dat alle accounts zijn verwijdert. Dit omdat we een geheel nieuwe database hebben gekregen. Dit is wel beter voor ons, omdat we nu minder laggen etc.</p>\r\n<p>Nablo is nu in top conditie, nog wat laatste aanpassingen en we zijn helemaal klaar! Het enige wat we van jullie vragen is om zoveel mogelijk reclame te maken op andere hotels.</p>\r\n<p>TIPS:</p>\r\n<p>- Maak reclame op drukke hotels</p>\r\n<p>- Maak reclame op MSN</p>\r\n<p>- Maak reclame op Twitter/Facebook/Hyves</p>\r\n<p>- Maak niet een half uur reclame dat is te kort!</p>\r\n<p>Bij de 25 Start ik de Sollicitatie\'s !</p>\r\n<p> </p>\r\n<p>Groetjes,</p>\r\n<p>Thierry & T09 & Relic - Hotel Beheer</p>', '<p>Wa is ie mooi!</p>', '28-Jun-2012', '1340992623');
INSERT INTO `site_news` VALUES ('10', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'testr', '29-Jun-2012', '1340985763');
INSERT INTO `site_news` VALUES ('11', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'test', '29-Jun-2012', '1340985769');
INSERT INTO `site_news` VALUES ('12', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'test', '29-Jun-2012', '1340985782');
INSERT INTO `site_news` VALUES ('13', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'testt', '29-Jun-2012', '1340985789');
-- ----------------------------
-- Table structure for `site_news_categories`
-- ----------------------------
DROP TABLE IF EXISTS `site_news_categories`;
CREATE TABLE `site_news_categories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`caption` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of site_news_categories
-- ----------------------------
INSERT INTO `site_news_categories` VALUES ('12', 'Uncategorized');
INSERT INTO `site_news_categories` VALUES ('1', 'Habbo');
INSERT INTO `site_news_categories` VALUES ('2', 'Technical');
INSERT INTO `site_news_categories` VALUES ('3', 'Updates');
INSERT INTO `site_news_categories` VALUES ('4', 'Competitions');
INSERT INTO `site_news_categories` VALUES ('5', 'Polls');
INSERT INTO `site_news_categories` VALUES ('6', 'Sponsored');
INSERT INTO `site_news_categories` VALUES ('7', 'Credits');
INSERT INTO `site_news_categories` VALUES ('8', 'Habbo Club');
INSERT INTO `site_news_categories` VALUES ('9', 'VIP');
INSERT INTO `site_news_categories` VALUES ('10', 'Furni');
INSERT INTO `site_news_categories` VALUES ('11', 'Support');
INSERT INTO `site_news_categories` VALUES ('13', 'Habbo.VG Way');
CMS is actually pretty nice to build upon. Most cms's with loads of features Ex: Ubercms or Haddocms have loads of exploits and are very flow and yield good performance. This cms has had no errors for me besides the housekeeping which practically needs to be self coded. (Lepos's version is hard, Simples get Butterfly and original database and run queries on first page, BOOM!I got the users table to work, it was easy? Everyone was saying when they ran it the users never appeared in the database... So do as I say.
Basically I was already using the phoenix database, from the query that Jonty provided I removed everything to do with the users table.
So I ran this (Keep reading after the query, there is more):
Code:/* Navicat MySQL Data Transfer Source Server : local Source Server Version : 50165 Source Host : localhost:3306 Source Database : bfly Target Server Type : MYSQL Target Server Version : 50165 File Encoding : 65001 Date: 2012-08-22 06:32:13 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `site_hotcampaigns` -- ---------------------------- DROP TABLE IF EXISTS `site_hotcampaigns`; CREATE TABLE `site_hotcampaigns` ( `id` int(11) NOT NULL AUTO_INCREMENT, `order_id` int(11) NOT NULL DEFAULT '1', `enabled` enum('0','1') NOT NULL DEFAULT '1', `image_url` text NOT NULL, `caption` text NOT NULL, `descr` text NOT NULL, `url` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of site_hotcampaigns -- ---------------------------- INSERT INTO `site_hotcampaigns` VALUES ('1', '1', '1', 'http://i.imgur.com/Au8Dr.gif', 'Yo, i\'m a hot campaign! Sizzling!', 'Hahaha! ***** loves men.', ''); -- ---------------------------- -- Table structure for `site_news` -- ---------------------------- DROP TABLE IF EXISTS `site_news`; CREATE TABLE `site_news` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `seo_link` varchar(120) NOT NULL DEFAULT 'news-article', `title` text NOT NULL, `category_id` int(10) unsigned NOT NULL DEFAULT '1', `topstory_image` text NOT NULL, `body` text NOT NULL, `snippet` text NOT NULL, `datestr` varchar(50) NOT NULL, `timestamp` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `datestr` (`datestr`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of site_news -- ---------------------------- INSERT INTO `site_news` VALUES ('9', 'nieuwe-site', 'Nieuwe Site', '12', 'c_images/Top_Story_Images/BeachBunny2.gif', '<p>Hey Nablo\'s,</p>\r\n<p>Ja! We hebben eindelijk een nieuw site uiterlijk, deze gemaakt door T09! Het enige wat niet zo leuk is voor jullie is dat alle accounts zijn verwijdert. Dit omdat we een geheel nieuwe database hebben gekregen. Dit is wel beter voor ons, omdat we nu minder laggen etc.</p>\r\n<p>Nablo is nu in top conditie, nog wat laatste aanpassingen en we zijn helemaal klaar! Het enige wat we van jullie vragen is om zoveel mogelijk reclame te maken op andere hotels.</p>\r\n<p>TIPS:</p>\r\n<p>- Maak reclame op drukke hotels</p>\r\n<p>- Maak reclame op MSN</p>\r\n<p>- Maak reclame op Twitter/Facebook/Hyves</p>\r\n<p>- Maak niet een half uur reclame dat is te kort!</p>\r\n<p>Bij de 25 Start ik de Sollicitatie\'s !</p>\r\n<p> </p>\r\n<p>Groetjes,</p>\r\n<p>Thierry & T09 & Relic - Hotel Beheer</p>', '<p>Wa is ie mooi!</p>', '28-Jun-2012', '1340992623'); INSERT INTO `site_news` VALUES ('10', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'testr', '29-Jun-2012', '1340985763'); INSERT INTO `site_news` VALUES ('11', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'test', '29-Jun-2012', '1340985769'); INSERT INTO `site_news` VALUES ('12', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'test', '29-Jun-2012', '1340985782'); INSERT INTO `site_news` VALUES ('13', 'test', 'test', '12', 'c_images/Top_Story_Images/28152_topstory_infobus.gif', 'test', 'testt', '29-Jun-2012', '1340985789'); -- ---------------------------- -- Table structure for `site_news_categories` -- ---------------------------- DROP TABLE IF EXISTS `site_news_categories`; CREATE TABLE `site_news_categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `caption` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of site_news_categories -- ---------------------------- INSERT INTO `site_news_categories` VALUES ('12', 'Uncategorized'); INSERT INTO `site_news_categories` VALUES ('1', 'Habbo'); INSERT INTO `site_news_categories` VALUES ('2', 'Technical'); INSERT INTO `site_news_categories` VALUES ('3', 'Updates'); INSERT INTO `site_news_categories` VALUES ('4', 'Competitions'); INSERT INTO `site_news_categories` VALUES ('5', 'Polls'); INSERT INTO `site_news_categories` VALUES ('6', 'Sponsored'); INSERT INTO `site_news_categories` VALUES ('7', 'Credits'); INSERT INTO `site_news_categories` VALUES ('8', 'Habbo Club'); INSERT INTO `site_news_categories` VALUES ('9', 'VIP'); INSERT INTO `site_news_categories` VALUES ('10', 'Furni'); INSERT INTO `site_news_categories` VALUES ('11', 'Support'); INSERT INTO `site_news_categories` VALUES ('13', 'Habbo.VG Way');
After doing the above you'll get a "points" error, delete your users table, download this one and execute it into the database.
Download:You must be registered for see links
Now if you register on your hotel and check the users database, your user should appear!
Everything else works for me, but this CMS is crap, sorry to inform you all.
works, it is compatible with phoenix and butterfly, but ill recomment butterfly,
sorry 4 bad english im dutch XD
The CMS is un-finished, how is it goodworks, it is compatible with phoenix and butterfly, but ill recomment butterfly,
sorry 4 bad english im dutch XD