Click to See Complete Forum and Search --> : Blog system


zachzach
03-22-2004, 03:05 PM
I would like to create my own blog system, but i need a couple tips first. I know the basics of php, and some advanced stuff, and I'm learning pretty quick. Should i use a database for the blog?It would be a system so everyone could have a blog, not to complicated, not to simple. Any good code or tips or, really, anything else would be great.

spufi
03-22-2004, 04:08 PM
Have you ever used a blogging tool before? I would go and check out some of the features some of the better blogging systems use. One of the newest things being talked about is stopping spam from hitting your comments. I believe somebody made a tool for Moveable Type to make posters log in before posting comments. This is something I am working on to include in my own template CMS/blogging tool, not the blogging tool that currently powers my site. While I don't think you have to use a database, I would highly recommend it. Right now I have roughly six to seven tables being planned, but that could grow/shrink.

pyro
03-22-2004, 07:36 PM
Yes, I would recommend using a database as well. I created the blog software used to run my personal site (http://www.ryanbrill.com/). I'm thinking about releasing it under a GNU General Public License, or something else of that nature. We'll see.

Anyway, yes, I would recommend using a database. It will be much easier to add advanced functionality this way.

zachzach
03-27-2004, 01:55 PM
Kool, thanks.
GPU allows or does not allow editing of code?

Conor
03-27-2004, 03:42 PM
i was thinking of doing this to. What are the features that are required in a blog. I know i could do the basic add entry but what else is actually in one?

Conor
03-27-2004, 06:44 PM
also if i wanted to display the most recent entries how would i display them if i didnt know there id's

pyro
03-27-2004, 06:48 PM
What your blog contains, depends entierly on how complex you want to make it, and what you want it to do.

I'd recommend including a timestamp with each post, so you know when it was posted. If you do this, to select the 10 latest, you'd use something like this:

$sql = "SELECT * FROM `tablename` ORDER BY `timestamp` DESC LIMIT 10";

Conor
03-27-2004, 06:58 PM
thanks pyro ill start work on the design tonight then start working on the php

zachzach
03-28-2004, 12:02 PM
Well i just made a news serving program, and i noticed it was like a blog....maybe i could change that a lot so i could end up wioth a blog...its pretty good code

96turnerri
03-29-2004, 10:51 PM
Originally posted by pyro
Yes, I would recommend using a database as well. I created the blog software used to run my personal site (http://www.ryanbrill.com/). I'm thinking about releasing it under a GNU General Public License, or something else of that nature. We'll see.

Anyway, yes, I would recommend using a database. It will be much easier to add advanced functionality this way.

no offence ryan, but you blog software looks very familiar as if you didnt make it, i know at the end of the day there cant be much variation on blog scripts, but everytime i look at ryanbrill.com layout and blogging it reminds me of another site, dont ask me which because i dont know, i have been looking for it so i can show you

Rich

pyro
03-29-2004, 10:55 PM
Ok, let me know if you ever find it. Blog are, by nature, similar. I could point you to numerous blogs my site will resemble (and conversely, their's will resemble mine). Honestly, I have no idea what you were getting at...

96turnerri
03-30-2004, 06:05 AM
o no dont get me wrong im not getting at anything, im not saying that infinity are marketing a cloned blogged system or that ryanbrill.com is a rip of a nother site, but you will see what i mean if i find it

zachzach
04-22-2004, 08:20 PM
Yeah!My blog system is coming along well:
http://blog.subsilvernet.com/
Register and create a blog if you want! There is also a link to a tutorial for using my sites system!