Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Built-in Forum add-on for s0wh4t's CMS

Junior Spellweaver
Joined
Aug 9, 2008
Messages
111
Reaction score
0
Using this script, you eliminate the need for your users to make seperate account for the forum.
Also, you will save siginificant amount of ram and cpu, as this script is very light in terms of resource usage.

Download:
Demo: (may not work, as I am moving hosts today)
Simply, unzip the content of the archive onto your main website directory, and do the following:
SQL QUERY: (RUN IT AGAIN. WAS ERROR IN LAST POST. FIXED NOW
Code:
 CREATE TABLE `web_fcomments` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`fid` INT ( 10 ) NOT NULL ,
`author` VARCHAR( 16 ) NOT NULL ,
`feedback` INT( 1 ) NOT NULL ,
`date` VARCHAR( 32 ) NOT NULL ,
`comment` TEXT NOT NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM ;

 CREATE TABLE `web_forums` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`title` VARCHAR( 50 ) NOT NULL ,
`author` VARCHAR( 16 ) NOT NULL ,
`date` VARCHAR( 32 ) NOT NULL ,
`type` VARCHAR( 50 ) NOT NULL ,
`content` TEXT NOT NULL ,
`views` INT ( 10 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( `id` )
) ENGINE = MYISAM ;

CONFIG.PHP
Change:
Code:
$forumurl = "http://"; /* your forum url */
to:
Code:
$forumurl = "forums.php"; /* your forum url */

TOP.PHP
Change:
Code:
<a href="<?php echo $forumurl; ?>" target="_blank">
to:
Code:
<a href="<?php echo $forumurl; ?>">


-----
Credits to me (GeekMS.com) for creating this.
Credits to NameLessMS (namelesms.servegame.com) for inspiration.

If you do exactly as written above, there is nothing extra you have to code in.

Have fun ^^

edit: forgot to post URL for download xD
edit: If you want maplestory cursor..
replace style.css with this
Code:
BODY {
	color: #000000;
	background-color: #ffffff;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

A {
	color: #000000;
	text-decoration: none;
cursor: url(http://advimages.nexon.net/MapleStory/leafgear/image/cursor/hand_anim_shadow.ani), url(http://advimages.nexon.net/MapleStory/leafgear/image/cursor/hand1.cur), auto;
}

A:HOVER {
	color: #000000;
	text-decoration: underline;
}

TD {
	font: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
}


P {
  	font: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

DIV {
   font: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

/* START INPUT STYLES */

INPUT {
	color: #000000;
	background-color: #FFF3DB;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	border: 1px solid #000000;
}

INPUT:FOCUS {
	background-color: #EDD5A9;
}

SELECT {
	color: #000000;
	background-color: #FFF3DB;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	border: 1px solid #000000;
}

SELECT:FOCUS {
	background-color: #EDD5A9;
}

TEXTAREA {
	color: #000000;
	background-color: #FFF3DB;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	border: 1px solid #000000;
}

TEXTAREA:FOCUS {
	background-color: #EDD5A9;
}

/* END INPUT STYLES */

.left {
	float:left;
}
.right {
	float:right;
}

td.nav {
font-size: 12px;
width: 117px;
}

td.nav a:link, .nav a:visited, .nav a:active {
color: #ffffff;
	display: block;
	height: 23px;
	line-height:23px;
	font-weight: bold;
	width: 117px;
	text-decoration: none;
	background-image: url(images/nav.jpg);
}

td.nav a:hover {
color: #000000;
	display: block;
	height: 23px;
	width: 117px;
	line-height:23px;
	font-weight: bold;
	text-decoration: none;
 	background-image: url(images/nav2.jpg);
}

td.blo {
color: #000000;
	display: block;
	height: 23px;
	width: 117px;
	line-height:23px;
	font-weight: bold;
	text-decoration: none;
 	background-image: url(images/nav2.jpg);
}



.page {
   margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
}

/* Tabs Startseite - Downloads */
.tabs { color:#272727; }
.tabs ul {margin:0px; padding:0px; list-style:none; text-align:center;}
.tabs li {display:inline; line-height:18px;}
.tabs li a {color:#000000; font-size:11px; text-decoration:none;}
.tabs li a.tabactive { color:#FF8300; font-weight:bold;  position:relative;}
#tabcontent1,#tabcontent2,#tabcontent3,#tabcontent4,#tabcontent5 {text-align:left;padding:0px; font-size:12px; margin-bottom:0px;}


.Stil1 {color: #0000FF}
.Stil2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: left;
}
.Stil3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #006600;
		text-align: left;
}


body {
cursor: url(http://advimages.nexon.net/MapleStory/leafgear/image/cursor/hand_shadow.cur), auto;
}


depending on how well people like this, I might release my Referral points system. Also, I am working on better ranking system for this CMS.. should be done in couple of days


edit: fixed sql again
 
*
Loyal Member
Joined
Jul 23, 2008
Messages
691
Reaction score
90
Re: Built-in Forum add-on for s0wh4t's CMS

Please add a [Release]thing w/e. and you forgot to give credits to sowh4t for making this.
 
Elite Diviner
Loyal Member
Joined
Aug 4, 2008
Messages
477
Reaction score
1
oh wow, interesting, I'd use it but I already have a forum :S, will use if I can't ever pay for web hosting!
 
Junior Spellweaver
Joined
Aug 9, 2008
Messages
111
Reaction score
0
this is my first release ^^.
might release referral system once I finish coding the point shop.
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
OMG this is soooo cool


Edit: Can host on mediafire?
 
Newbie Spellweaver
Joined
May 16, 2008
Messages
58
Reaction score
0
omg this is ur first release?!?!?!?!?!
i see future Odin Geek fork lol
 
Junior Spellweaver
Joined
Aug 9, 2008
Messages
111
Reaction score
0
oh. I forgot to mention. I included some images in there.. including 4 images of Miley in exposing manner.
 
Newbie Spellweaver
Joined
May 16, 2008
Messages
58
Reaction score
0
gratx on post 100


hey isnt it easier just to post all ur PHPs lol
 
Newbie Spellweaver
Joined
Apr 9, 2008
Messages
35
Reaction score
0
AWSOME! one thing though...I have everything working fine ,but when I try to post something I get this error "Unknown column 'fid' in 'where clause'"
 
Junior Spellweaver
Joined
Aug 9, 2008
Messages
111
Reaction score
0
shoot, posted wrong sql...

run the sql again i updated it

I had sql files.. must have posted an older one
 
Back
Top