Danny696 Posted June 9, 2010 Posted June 9, 2010 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. Quote
Equinox Posted June 9, 2010 Posted June 9, 2010 Screenshots? I just want to see what it looks like, I'd upload it but McCodes V1/V2 isn't touching my computer/server ¬.¬ Quote
iSOS Posted June 9, 2010 Posted June 9, 2010 Looks okay, I see one potential problem, the "look()" function you need to sanatize the "$_GET['ID'].". =) Quote
Danny696 Posted June 9, 2010 Author Posted June 9, 2010 Thanks Zed. Forgot to change view to ID :) Done Quote
NarutoPRG.com Posted June 9, 2010 Posted June 9, 2010 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: Quote
Danny696 Posted June 10, 2010 Author Posted June 10, 2010 im sure its You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And yes, that will work just fine :) hmm, doesnt show a ' after the . Quote
rulerofzu Posted June 11, 2010 Posted June 11, 2010 A wild stab in the dark function add() perhaps. Well done Danny Quote
Oo-Savage-oO Posted June 13, 2010 Posted June 13, 2010 whats the difference between blog and forum and which is better Quote
Danny696 Posted June 13, 2010 Author Posted June 13, 2010 a blog is different from a forum. Its hard to explain. Look at the blogs on here and the forums. Quote
Jordan Palmer Posted June 18, 2010 Posted June 18, 2010 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 :) Quote
Danny696 Posted July 26, 2010 Author Posted July 26, 2010 First post updated. Now includes; Search; $h instead of headers:: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.