Jump to content
MakeWebGames

Recommended Posts

Posted

Ok, Sniko suggested this, its working and tested. Althought i will be adding an editing feature, and a pharser (for videos etc..) This isnt that big'a mod. But works well.

Run these on something like PhpMyAdmin:

[mysql]CREATE TABLE IF NOT EXISTS `blogs` (

`ID` INT(11) NOT NULL AUTO_INCREMENT,

`name` VARCHAR(225) NOT NULL DEFAULT '',

`blog` TEXT NOT NULL,

`posted` INT(11) NOT NULL DEFAULT 1,

`time` INT(11) NOT NULL DEFAULT 0,

PRIMARY KEY(`ID`)

) ENGINE=MyISAM auto_increment=0;

CREATE TABLE IF NOT EXISTS `blog_comments` (

`ID` INT(11) NOT NULL AUTO_INCREMENT,

`blogID` INT(11) NOT NULL DEFAULT 0,

`time` INT(11) NOT NULL DEFAULT 0,

`comment` TEXT NOT NULL,

`posted` INT(11) NOT NULL DEFAULT 1,

PRIMARY KEY(`ID`)

) ENGINE=MyISAM auto_increment=0;[/mysql]

Save as blog.php or something else, doesnt matter ;)

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Wow, nice work Danny. :)

But this got me abit..

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Normally, you will get an error because you are cancling the string from ending from your

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I'm not so sure about when using this ( '. .) It might not cause an error. :)

Yet again, good work danny! :thumbsup:

Posted

Blogs; Basically blogs allow people to write about what they want/love or whatever, Within reason,

 

Forums; Where most discussions will/would take place.

 

 

They're alot like the same but the bogging system would be used for individual reason rather then a community thread.

 

Looking good danny :)

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...