Clean CMS

does this work for v83? xD

---------- Post added at 12:43 AM ---------- Previous post was at 12:42 AM ----------

and where/how do i addd the registration button?
 
Oddly I'm having problems connecting with my database. My website is tsuyokustory.freeiz.com and it is hosted from 000webhost.com.

Btw my MySQL database is hosted from my computer as well as my private server.

This is my config file. Port 3306 is forwarded as well. Am I doing something wrong when entering the mySQL host thingy in the config?

Code:
<?php




$dbname = "odinms"; /* MySQL Database - usually "odinms" */
$dbhost = "67.9.180.130"; /* MySQL Host - usually "localhost" */
$dbuser = "root"; /* MySQL User - usually "root" */
$dbpass = "root"; /* MySQL Password - usually "" or "root" */
mysql_connect($dbhost, $dbuser, $dbpass); /* Don't Change */
mysql_select_db($dbname); /* Don't Change */


$properties = mysql_query("SELECT * FROM cms_properties");
$prop = mysql_fetch_array($properties);



$servername = $prop['name']; /* Your Servers name */
$version = $prop['version']; /* Your Servers maplestory version */
$exprate = $prop['exprate']; /* Exp rate */
$mesorate = $prop['mesorate']; /* Your Servers Mesos rate */
$droprate = $prop['droprate']; /* Your Servers Drop Rate */
$playercap = "100"; /* How many people can be online at once? */
$msdownloadlink = "#"; /* Maplestory Setup Link */
$clienturl = $prop['clienturl']; /* Localhost Link */
$forumlink = $prop['forumurl']; /* Forum URL */
$serverip = "67.9.180.130"; /* Server IP - Leave it if your not sure */
$worldport = "8484"; /* Sever Login Port - Leave it if your not sure */
$status_style = 0; /* Don't Change - only change if you know what your doing */
$show_status = 0; /* Don't Change - only change if you know what your doing */
$offline = "<b>Server:</b> <span class=\"offline\">Offline</span>"; /* Don't Change - only change if you know what your doing */
$online = "<b>Server:</b> <span class=\"online\">Online</span>"; /* Don't Change - only change if you know what your doing */
$styledir = "http://forum.ragezone.com/images/"; /* Don't Change */
$gmlevel = "1";
$chatbox = $prop['chatbox'];
$dedi = $prop['dedi'];
 
Last edited:
Oddly I'm having problems connecting with my database. My website is tsuyokustory.freeiz.com and it is hosted from 000webhost.com.

Btw my MySQL database is hosted from my computer as well as my private server.

This is my config file. Port 3306 is forwarded as well. Am I doing something wrong when entering the mySQL host thingy in the config?

Code:
<?php




$dbname = "odinms"; /* MySQL Database - usually "odinms" */
$dbhost = "1.1.1.1"; /* MySQL Host - usually "localhost" */
$dbuser = "noob"; /* MySQL User - usually "root" */
$dbpass = "lolol"; /* MySQL Password - usually "" or "root" */
mysql_connect($dbhost, $dbuser, $dbpass); /* Don't Change */
mysql_select_db($dbname); /* Don't Change */


$properties = mysql_query("SELECT * FROM cms_properties");
$prop = mysql_fetch_array($properties);



$servername = $prop['name']; /* Your Servers name */
$version = $prop['version']; /* Your Servers maplestory version */
$exprate = $prop['exprate']; /* Exp rate */
$mesorate = $prop['mesorate']; /* Your Servers Mesos rate */
$droprate = $prop['droprate']; /* Your Servers Drop Rate */
$playercap = "100"; /* How many people can be online at once? */
$msdownloadlink = "#"; /* Maplestory Setup Link */
$clienturl = $prop['clienturl']; /* Localhost Link */
$forumlink = $prop['forumurl']; /* Forum URL */
$serverip = "1.1.1.1"; /* Server IP - Leave it if your not sure */
$worldport = "8484"; /* Sever Login Port - Leave it if your not sure */
$status_style = 0; /* Don't Change - only change if you know what your doing */
$show_status = 0; /* Don't Change - only change if you know what your doing */
$offline = "<b>Server:</b> <span class=\"offline\">Offline</span>"; /* Don't Change - only change if you know what your doing */
$online = "<b>Server:</b> <span class=\"online\">Online</span>"; /* Don't Change - only change if you know what your doing */
$styledir = "http://forum.ragezone.com/images/"; /* Don't Change */
$gmlevel = "1";
$chatbox = $prop['chatbox'];
$dedi = $prop['dedi'];

Any help please? It seems like I'm only able to connect to my database through localhost and nothing else... I'm puzzled.
 
Last edited:
Everytime I execute Sql 1 I get this Errors: " Script line: 155 Incorrect integer value: 'version' for column 'version' at row 1
"


The script on line 155 is:

INSERT INTO `cms_properties` VALUES ('name', 'clienturl', 'version', 'forumurl', 'exprate', 'mesorate', 'droprate', 'chatbox', 'mbanner', 'mbannerurl', 'scroller', '1', '1', '100', '10', '', '');

Help?

---------- Post added at 01:55 AM ---------- Previous post was at 12:56 AM ----------

Anyone know how? :l
 
Back