• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

xCMS

Status
Not open for further replies.
Looks kewl, but I won't use it until it got some more features =)
 
oki. regarding search, what about making it smart? xD like if I search for "car", players "red car", "blue car" etc would pop up?
 
Looks like a good beginning;) But it wouldn't be my choice to put all in the index.php. Now if you want to make a change you need to search more then when the login function is located in login.php for example. Maybe an idea to put the functions in other files and then in index.php use the "include" function.
 
Looks like a good beginning;) But it wouldn't be my choice to put all in the index.php. Now if you want to make a change you need to search more then when the login function is located in login.php for example. Maybe an idea to put the functions in other files and then in index.php use the "include" function.
I didnt put all code in index.php this time, sure that you didnt post in wrong topic?:confused:
 
I mean the querie to update my database that it creates that xcms_news. and by me the search isnt working I guess. try it Oceanic CMS

Ooh, you have http://localhost/ as path. Change it to your ip :thumbup:
Example: http://90.227.234.112/

The sql structure stands in the .rar file, but if you cant find it i post it here:

PHP:
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for xcms_char_text
-- ----------------------------
DROP TABLE IF EXISTS `xcms_char_text`;
CREATE TABLE `xcms_char_text` (
  `char_id` int(11) NOT NULL,
  `text` longtext,
  PRIMARY KEY  (`char_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for xcms_news
-- ----------------------------
DROP TABLE IF EXISTS `xcms_news`;
CREATE TABLE `xcms_news` (
  `id` int(11) NOT NULL auto_increment,
  `title` char(255) NOT NULL,
  `text` longtext NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Table structure for xcms_news_comments
-- ----------------------------
DROP TABLE IF EXISTS `xcms_news_comments`;
CREATE TABLE `xcms_news_comments` (
  `id` int(11) NOT NULL auto_increment,
  `text` text NOT NULL,
  `to_id` int(11) NOT NULL,
  `by` char(255) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
 
K the news is working now but the search still not?:O I changed localhost to my ip also.

I made a update so it shall work better, before it defined to
PHP:
<script src="IP_AND_PATH"></script>

Now instead
PHP:
<script src="../"></script>

So update and tell me :)
 
Status
Not open for further replies.
Back
Top