(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-03-24 01:37 PM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - I made an massively-light message board New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6283 days
Last view: 6283 days
Posted on 01-26-07 12:21 AM Link | Quote
And I actually tried to make it coherent this time. Pretty much the minimum number of features I thought were necessary; no registration, no boards. Basically threads and posts. All in clean, valid XHTML (and to piss off Xk: <table>s!). I didn't bother to fill it with comments, I thought it was pretty straight-forward. All this requries is PHP5, SQLite, and maybe a POSIX-compatible filesystem (uses chmod to control access to the database, dunno if it fails on winnt or whatever).

Originally, I didn't even want to style it with CSS; however, on thread.php it just didn't seem right without styling it so you can differ from the post header and post itself.

Normally I don't really care to release stuff like this, however I've decided that perhaps it might prove useful for a number of purposes. Maybe learning PHP, or learning how to use SQLite in PHP, or building a board based off of it (it's pretty easy to expand it).

Edit: I've been informed that Windows NT operating systems (the only versions of Windows still being supported by Microsoft) still have an old filename restriction that I assumed was limited to MS-DOS (including Windows 95/98/Me). If you are using one of these operating systems, you will be unable to extract con.php, so I'll post the file's contents here and you can change the source code of the other files which require it:
<?php 
/* con.php - Do database connection
*
* Copyright (c) 2007 Mike Swanson <mikeonthecomputer@gmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

if ( !file_exists('ummb.db') ) {
exit('<h1>no ummb.db, run setup</h1></body></html>');
}

$DB = new SQLiteDatabase('ummb.db');
?>


Attachments

ummb.tar.gz (2669b) - views: 29



(edited by FreeDOS + on 01-25-07 08:16 PM)
(edited by FreeDOS + on 01-26-07 03:26 AM)
(edited by FreeDOS + on 01-26-07 03:30 AM)
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6284 days
Last view: 6284 days
Posted on 01-26-07 09:08 AM Link | Quote
Huh, you're right, even on XP you can't name a file con.anything.

And way to break the tables.
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6283 days
Last view: 6283 days
Posted on 01-26-07 09:31 AM Link | Quote
Well, heh. This board's editpost feature really needs to get that fixed. It doesn't convert, say, &lt; to &amp;lt; in the textarea box.
Randy53215

Melon Bug


 





Since: 11-17-05
From: Greenfield, Wisconsin (U.S.A)

Last post: 6284 days
Last view: 6283 days
Skype
Posted on 01-26-07 10:27 PM Link | Quote
Do you have a link where we can just preview it?

Very neat though.
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6283 days
Last view: 6283 days
Posted on 01-27-07 04:30 AM Link | Quote
Not on any permanent server

I've made some screenshots, but it's not like it's hard to install the darn thing.

Attachments

darkwitch

Red Cheep-cheep


 





Since: 10-16-06
From: Puerto Rico

Last post: 6283 days
Last view: 6283 days
Posted on 01-30-07 04:16 AM Link | Quote
Looks neat, but I can bet you can do way better than that. I also did a forum system, by December 28/2006 with the minimum features. I'm not linking to it as the forum is not for download and I think it's against the rules.
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6283 days
Last view: 6283 days
Posted on 01-30-07 11:52 PM Link | Quote
Do you even understand what the goal was? It wasn't to jam every feature under the sun in it. I pretty much met my goal with it: to make a minimal board, that's easily expandable.

The only thing I can possibly imagine removing are threads and just be plain posts. But at that point it's not a board, but rather a guestbook. And guestbooks are so 1995.
darkwitch

Red Cheep-cheep


 





Since: 10-16-06
From: Puerto Rico

Last post: 6283 days
Last view: 6283 days
Posted on 01-31-07 03:05 AM Link | Quote
Yeah, I was kinda a bit rushed when I made that post (school), but I mean, atleast make people give themselves a name for the post like "unknown person#1" so we can distinguish who's who

And your right with the con.php, it wont extract. Wow, windows is buggy...
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6283 days
Last view: 6283 days
Posted on 02-01-07 08:39 PM Link | Quote
Is that all? It's still outside of the goal of this project, but it's very easy to add that feature. Hell, adding a full-fledged login/registration system isn't that hard.
darkwitch

Red Cheep-cheep


 





Since: 10-16-06
From: Puerto Rico

Last post: 6283 days
Last view: 6283 days
Posted on 02-01-07 10:53 PM Link | Quote
Originally posted by FreeDOS +
Is that all? It's still outside of the goal of this project, but it's very easy to add that feature. Hell, adding a full-fledged login/registration system isn't that hard.


Yeah, but adding login/registration wouldn't be massively-light message board anymore . I remember seeing a board you could post using whatever name you want, similar to a guestbook but with threads.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - I made an massively-light message board |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.038 seconds; used 397.52 kB (max 497.68 kB)