Text Board Scripts (86)

1 Name: Anonymous : 2008-10-12 09:16 ID:I9AUiObw [Del]

Hi, I am looking for a barebones and efficient text board script. Preferably with at least some basic functions such as tripcodes.

Also I have some questions about text boards. How much space do they usually take up? How much does this board use to store all the accumulated posts from years ago?

2 Name: Anonymous : 2008-10-12 09:53 ID:Heaven [Del]

Kareha.

3 Name: Anonymous : 2008-10-12 10:10 ID:I9AUiObw [Del]

ok, question # 2 please?

4 Name: Anonymous : 2008-10-12 11:05 ID:Heaven [Del]

They don't use much space at all, because it's all text and flat files.

5 Name: Anonymous : 2008-10-12 15:57 ID:KdGQN8iE [Del]

All hail the almighty text board.

6 Name: Anonymous : 2008-10-14 20:13 ID:c+7IaAuR [Del]

What the hell, I'll slightly hijack this thread. Speaking of textboards, does anyone know who wrote tinybb.pl?

7 Name: Anonymous : 2008-10-14 21:47 ID:Heaven [Del]

>>6
Nevermind, found it at http://dis.4chan.org/read/prog/1185963886/23
Sauce is http://hotaru.thinkindifferent.net/tinybb/tinybb.txt

Of note is the function

sub format_comment($$){}

since the first regexp for comment parsing (which inserts the >>1 links for this script) likes to not work on the random free webhosts I tried a slightly modified version of this script on. (For those who care, I added a rudimentary spam trap [fake input] to the post form.)

8 Name: Anonymous : 2008-10-14 22:08 ID:Heaven [Del]

>>7
And I think I figured out the primary reason why - < and > weren't escaped in the link that was replacing >>1 links.

But just to be safe, I totally copied the number matching regexp from Kareha and then just modified the url part.

9 Name: Anonymous : 2008-10-14 22:08 ID:Heaven [Del]

>>7
And I think I figured out the primary reason why - < and > weren't escaped in the link that was replacing >>1 links.

But just to be safe, I totally copied the post number matching regexp from Kareha and then just modified the url part.

10 Name: Anonymous : 2008-10-14 22:09 ID:Heaven [Del]

Hooray Internal Server 500 errors!

11 Name: Anonymous : 2008-10-14 22:18 ID:Heaven [Del]

Anyways, if anyone wants the source modifications I've made so far, http://wtfcake.freehostia.com/tinybb/tinybb.txt

You'll need to also get style.css and ba.gif if you want the current style.

To use, you'll need a writable /res/ directory in the same directory as tinybb.pl.

12 Name: Anonymous : 2008-10-16 01:36 ID:Heaven [Del]

> And I think I figured out the primary reason why - < and > weren't escaped in the link that was replacing >>1 links.

no, a / wasn't escaped in the replacement string. < and > don't need to be escaped.

13 Name: Anonymous : 2008-10-16 08:05 ID:Heaven [Del]

See, this is why "learn perl" is the first thing in the todo list.

14 Name: !WAHa.06x36 : 2008-10-17 08:42 ID:fhRJpvff [Del]

>>10

Goddamn Dreamhost has some weird flock() bug which causes all new invocations of Kareha to hang after some random amount of time.

15 Name: Anonymous : 2008-10-17 09:31 ID:Heaven [Del]

>>14
Dreamhost is shit.

16 Name: Eleo!EhVtXXdTd6 : 2008-10-18 12:02 ID:Heaven [Del]

>>15
ur mom

17 Name: !WAHa.06x36 : 2008-10-19 13:33 ID:Heaven [Del]

>>15

Not going to disagree with that one.

18 Name: Anonymous : 2008-10-19 23:29 ID:Heaven [Del]

>>14
what sort of bug is it? is flock() hanging when the file isn't locked or is the file somehow locked when it shouldn't be?

19 Name: !WAHa.06x36 : 2008-10-20 03:45 ID:Heaven [Del]

>>18

The file seems to end up locked forever, even after any process which could have held a lock has been killed. The file has to be renamed and copied to work again.

20 Name: Eleo!EhVtXXdTd6 : 2008-10-20 11:18 ID:Heaven [Del]

Have you tried contacting Dreamhost and telling them they bustas? Sometimes they fix stuff if you tell them they bustas.

21 Name: Medicine!ADmhDJ9Ke6 : 2008-10-20 19:56 ID:QFepMnkU [Del]

I am a novice at this kind of stuff, and a novice at PHP at that. Why PHP? Simple. My $5/month server does not support any other CGI, and PHP is commonly used anyways.

Anyways, I have attempted to create my own anonymous bulletin board script, which is similar to kareha here, which is so far purely procedural, for I have no experience with OOP, and I will not even try working with that stuff. I am doing this because I want something that is more straightforward than kusaba to work with. I have taken a look at kusaba myself and I have decided that I do not want to deal with modifying it to make it any "better," as it looks very cumbersome to deal with.

It is not an imageboard. I am not a fan of imageboards. I used to be a fan of imageboards, when I first thought that imageboards were some kind of gathering place for culture. Well, experience on the imageboards has told me that those people are probably not just pretending to be stupid. I have especially disliked those /h/-"hentai"-type boards ever since I have known that those kinds of imageboards are typically full of people who just leech, who are typically haughty and care not for anyone else nor for any community or anything meaningful.

The PHP for this software may well be a jumbled mess, since I tried to do it as quickly as possible, and have paid little attention to how it will perform. I myself am not an expert in computer science and algorithmatics, and I know little about how to make it efficient anyways. I am not an expert programmer. I might eventually study or self-study computer science and programming paradigms, but this is what I have come up with so far. Regardless, it has at least been workable for me at least, which is why I seek to use it for further developments eventually into a fully-developed BBS software.

If you wonder what the name "Lucid Tea" means, it doesn't mean anything. I am just playing with words here.

It is half-completed, and the things that are missing right now are setting a style for the site, and the moderation. Installation for the software is done through the install.php file. Configuration is done through editing the settings.php file. I based this installation off of Simple Machines Forum and how they install.

Take this half-baked software for what it is: done by a novice, half-baked, half-finished, and done hastily, but at least something I can work with, and which I will seek to complete soon.

Here it is:
http://www.28chan.org/lucid_tea.rar
http://code.google.com/p/lucidtea/source/browse/

But yes, I am not using it right now, because yes, I am a little hesitant about using it in the first place.

22 Name: Anonymous : 2008-10-20 23:13 ID:Heaven [Del]

>>21
tripcodes are broken (your code turns < into &amp;lt;).

also, what happens if someone puts something like " onmouseover="alert('lol')" in the mail field?

23 Name: Anonymous : 2008-10-21 08:06 ID:oNd+LOFF [Del]

>>21

just had a quick glance, but my advice is to read this:

http://www.sitepoint.com/article/php-security-blunders/

24 Name: Anonymous : 2008-10-21 08:07 ID:Heaven [Del]

>>21

It's really just irresponsible to actually distribute a web app that you have no idea is actually secure. You are putting anybody who tries to use your software at risk.

25 Name: Anonymous : 2008-10-21 08:12 ID:oNd+LOFF [Del]

>>23

actually looking more closely that article isnt perfect. see also http://shiflett.org/blog/2006/jan/addslashes-versus-mysql-real-escape-string

yea php sucks but i doubt me telling you that is going to stop you using it

26 Name: Anonymous : 2008-10-21 13:10 ID:Heaven [Del]

>>22
It seems like I did not pay attention to each of the fields carefully. Do you think that removing just quotes prevents this, or do you recommend removing everything except [a-z0-9._-]?

>>24
I am not distributing it. I am publishing it and inviting people to take a look at it.

>>25
Is this article relevant? After all, I am using mysql_real_escape_string(stripslashes()) for each input.

27 Name: Anonymous : 2008-10-21 14:01 ID:Imu57L9s [Del]

28chan

go to bed

28 Name: Anonymous : 2008-10-21 14:25 ID:Imu57L9s [Del]

Someone needs to get 28chan's "admin" to quit the internets; everything he touches results in fail and aids.

29 Name: Anonymous : 2008-10-21 15:13 ID:Heaven [Del]

>>28
Every time he post's I rage uncontrollably.

30 Name: Medicine!ADmhDJ9Ke6 : 2008-10-21 17:49 ID:QFepMnkU [Del]

>>27
To the contrary, I am quite awake. Whatever.
>>29
Boo-hoo to you, you are so butthurt by my presence, apparently.

31 Name: Anonymous : 2008-10-22 00:49 ID:Heaven [Del]

> It seems like I did not pay attention to each of the fields carefully. Do you think that removing just quotes prevents this, or do you recommend removing everything except [a-z0-9._-]?

changing the quotes to %22 should fix that problem, but you should really learn PHP before you try to do something like this in it.
i know it's really tempting to just dive in and start writing messy code because learning PHP properly takes about 10000 years, but if you don't take the time to do it right you're going to make a lot of mistakes.

32 Name: Anonymous : 2008-10-22 02:40 ID:F9ufTPZl [Del]

>make a lot of mistakes

and learn a lot from them...

>>26

>Is this article relevant? After all, I am using mysql_real_escape_string(stripslashes()) for each input.

ah - well i did just glance at your code, sorry. still it would be best to gather all the input and put it into local variables at the top of each script for clarity imo.

33 Name: Anonymous : 2008-10-22 03:37 ID:Heaven [Del]

> >make a lot of mistakes
>
> and learn a lot from them...

learning PHP by trial and error takes a lot longer than learning it by reading the manual and the source code to familiarize yourself with all the bugs that aren't covered in the manual.

34 Name: Anonymous : 2008-10-22 03:50 ID:Heaven [Del]

> and learn a lot from them...

You're not going to learn anything from waking up one morning and suddenly finding your server pwned. Except maybe "I shouldn't have done that", which admittedly is a good lesson to learn.

But more importantly, once again, is that you shouldn't publish it, because you are putting others at risk if you do that!

35 Name: Anonymous : 2008-10-22 08:22 ID:Heaven [Del]

>>34
How am I putting others at risk? I am merely entreating people to look at it, see if there are flaws etc., not use it on a public website.

36 Name: hotaru : 2008-10-23 02:13 ID:Heaven [Del]

>>14
speaking of flock(), i just added file locking to tinybb.pl, which is kind of important. so >>6-9,11,13, if you're still working on that modified version of it you might want to take a look at the changes i made.

37 Name: Anonymous : 2008-10-23 03:39 ID:Heaven [Del]

>>35

Do you have big banners and warnings saying "DON'T USE THIS!"? Because if you don't, you're implying people should use it by publishing it.

38 Name: Anonymous : 2008-10-25 21:10 ID:Heaven [Del]

>>36

Oh cool. I'll probably go in and re-add the lazy spam trap, then spend time wondering if I really want to learn enough perl to properly add in a name field with tripcode support. While it's tempting to add a bajillion features to this, I don't want to take this so far it becomes a shiichan clone, and I really don't know enough perl to do so.

I must admit, it is a rather interesting script as-is due to the lack of names. Sort of a "proper" anonymous board.

39 Name: Anonymous : 2008-10-25 21:16 ID:Heaven [Del]

>>38

>a shiichan clone

or a kareha in text mode clone.

Actually, come to think of it, those are the only text board scripts I know of aside from tinybb.pl and coda's tiny.pl. And tiny.pl doesn't really count. It's more of a text thread script, and I don't think coda ever released it.

40 Name: Anonymous : 2008-10-26 17:14 ID:Heaven [Del]

Offhand I can think of Kareha, Shii(t)chan, Kusaba in textmode (crap), Medichan's board, tinybb, and whatever Cudder's board is. Plus there's all the esoteric one-off scripts that have been posted to /prog/ or /code/ and never really used anywhere (such as that Haskell textboard) if you want to count them.

41 Name: Anonymous : 2008-11-05 04:28 ID:1nU1ikGZ [Del]

>>21

$50 to the guy who finds out where this lazy dipshit ripped his code from.

42 Name: Anonymous : 2008-11-06 17:06 ID:Heaven [Del]

>>41
How do you know it's ripped?

43 Name: Tanchannel!frHHIk.onk : 2008-12-04 00:05 ID:t6TCFW4O [Del]

>>41

from your mum.

0_-

44 Name: Anonymous : 2008-12-04 03:58 ID:1nU1ikGZ [Del]

>>42

Because it's the faggot admin from 28chan.

45 Name: Anonymous : 2008-12-04 04:11 ID:Heaven [Del]

>>24,34,37
You must be the type of person who always blames others for your own faults.

46 Post deleted by user.

47 Name: Anonymous : 2009-03-12 17:30 ID:Heaven [Del]

I feel pretty dumb for not having read through the beginning thread. Anyways, my tinybb.txt alterations are still at http://tablecat.exofire.net Please excuse the downtime, it's the best free webhost I could find that had Perl support.

Anyways, I have some concerns regarding tripcode support, I been searching around with Google and kind of got the idea that information submitted through a form (like tripcodes) can be intercepted if not encrypted. I haven't really found anything definitive on this subject, I guess I'm not using the right search keywords. I'd like it if someone could point me in the right direction, I don't really have any programming background so most of what I learn is by looking at example code and experimenting with it and making "oh so that's what this does" realizations as I go along. I feel bad for putting a name field and tripcode support without ensuring it's safeness...

48 Name: Piyoko!skVdjceh/k : 2009-04-05 19:33 ID:pOIF95a+ [Del]

>>47

I really do like your script, please keep working on it. I had some trouble making it work, but then I turned off the super-paranoid security settings on the server I had it on, and it worked fine, pretty much.

49 Name: !WAHa.06x36 : 2009-04-06 12:39 ID:Heaven [Del]

>>47

Tripcodes are not safe anyway, and nobody cares enough about them to go to the considerable effort needed to intercept someone's connection to get them.

50 Name: Anonymous : 2009-04-08 09:22 ID:Heaven [Del]

>>49
I see, then I take it they are as safe as they need to be the way I have it then?

Also, updated again.

51 Name: Anonymous : 2009-05-14 02:04 ID:zlsMdTvV [Del]

>>47 here
Well I've made a significant update to this. It does everything I want it to do now, so I don't think I'll be doing anything more to it.

52 Name: Anonymous : 2009-08-02 14:21 ID:+RqSoE9A [Del]

http://bbs.tablecat.co.cc/

I have updated the script and website.

53 Name: qq : 2009-10-31 02:44 ID:o8VWsH3J [Del]

>>52

How come you took down yer BBS software?

http://74.125.77.132/search?q=cache:hXuMktpmPScJ:tablecat.co.cc/+bbs.tablecat&cd=7&hl=en&ct=clnk&client=safari

Do you still have it if so, mind uploading it?

54 Name: qq : 2009-10-31 02:45 ID:Heaven [Del]

55 Name: Anonymous : 2009-11-05 18:29 ID:Heaven [Del]

56 Name: Anonymous : 2009-11-08 12:48 ID:Heaven [Del]

>>55

Cool. Thanks.

57 Name: Anonymous : 2009-12-12 03:24 ID:sZGcay9y [Del]

I feel terrible! I re-uploaded the latest files I had on http://bbs.tablecat.co.cc/ along with previous versions

58 Post deleted by user.

59 Name: Anonymous : 2010-01-15 02:40 ID:6PNjGfo3 [Del]

>>57
The files are not available again.

60 Name: Anonymous : 2010-01-20 10:08 ID:2FV/jEST [Del]

>>59
I just checked right now and that does not appear to be the case. I have not removed them or anything.

It is possible you may have been trying to access the website during one of its many downtimes. I apologize for this, I am using a free web host.

61 Name: Anonymous : 2010-01-23 21:18 ID:Heaven [Del]

>>60
Surely you jEST

62 Name: Anonymous : 2010-01-23 22:21 ID:Heaven [Del]

63 Name: Anonymous : 2010-04-03 17:16 ID:Heaven [Del]

It's back!

Wait, what the hell is this?

64 Name: rrr!Ci3UmwhFqY : 2010-05-01 20:15 ID:cp2D5cOW [Del]

65 Name: Anonymous : 2010-05-03 08:23 ID:Heaven [Del]

So is co.cc some sort of host that only permits crap?

66 Name: Anonymous : 2010-05-03 09:49 ID:Heaven [Del]

>>65
http://en.wikipedia.org/wiki/.cc

> .cc is the Internet country code top-level domain (ccTLD) for Cocos (Keeling) Islands, an Australian territory.
> Note: "co.cc" is not an official hierarchy; it is a domain (www.co.cc) owned by a company who offers free subdomain redirection services.

so yeah, pretty much.

67 Post deleted by user.

68 Name: Anonymous : 2010-05-06 18:54 ID:6JVY4rsa [Del]

I just finished the frontend portion of my script re-write. I've been working on it for several months, taking my sweet time. Now I've got something to show for it.

http://tablecat.co.cc/

69 Name: Anonymous : 2010-05-20 06:06 ID:2A01ushR [Del]

Anybody have a copy of tinybb.pl lying around? Google gives me a few other tinybbs which are not perl, and the wayback machine has nothing.

70 Name: !hoTarufiRE : 2010-05-21 00:37 ID:Heaven [Del]

>>69
i do, but it's on a hard drive that's in a machine with a dead power supply, at the bottom of a large cardboard box full of stuff.

71 Name: Anonymous : 2010-05-21 03:22 ID:GdcT5Uok [Del]

>>70

Welp. I guess I'll keep hunting and hope that by some miracle it got backed up somewhere on the internet.

72 Name: Anonymous : 2010-05-21 09:43 ID:Heaven [Del]

>>70
and nothing of value was ... unpowered and buried?

73 Name: Anonymous : 2010-05-22 01:13 ID:6JVY4rsa [Del]

>>69
Here is the original tinybb.txt I had saved.

http://tablecat.co.cc/tinybb.txt

There was also a CSS file that came with it, but I don't have it.

74 Name: Anonymous : 2010-05-22 05:15 ID:6JVY4rsa [Del]

I also wrote my own take on tinybb's unique style.

http://tablecat.co.cc/tinypost.txt

75 Name: Anonymous : 2010-07-06 00:11 ID:Heaven [Del]

>>73
if anyone wants it, the original tinybb is back up at http://hotaru.thinkindifferent.net/tinybb/tinybb.txt, and the css file is at http://hotaru.thinkindifferent.net/tinybb/style.css.

76 Name: !hoTarufiRE : 2010-07-11 03:33 ID:WBmdCxnK [Del]

here's a new one: tinybb3here's the code, if anyone is interested...

77 Name: Anonymous : 2010-07-24 21:59 ID:EI+i5tgA [Del]

links dead :/

78 Name: Anonymous : 2011-01-27 21:45 ID:106WLAGO [Del]

I think this warrants a bump.
http://tablecat.co.cc/bbs/

Finiiiisssshhheeeedddd. Well 'finished' is a strong word for any software, but there's nothing else I want to do with it. Looking at the dates here, it looks like I've been working on it for well over a year now.

79 Name: grey!C.MxxuCiTo : 2011-01-29 12:50 ID:Tt1mp3gR [Del]

Yeah, its an old thread, but what I don't understand is this: OP was looking for....

> barebones and efficient text board script. Preferably with at least some basic functions such as tripcodes.

The way he communicated that he was looking for this item was by posting here...on a barebones and efficient text board script with some basic functions such as tripcodes.

So why did OP never think to use Kareha?

80 Name: Anonymous : 2011-01-29 13:08 ID:Heaven [Del]

>>79
Though smaller than its PHP counterparts, you can go even more barebones. TinyBB is an example of that.

81 Name: Rachel : 2011-04-06 01:26 ID:pmKgHsAi [Del]

Mother's Day is coming. I made an order for 2 bottles of Birds Nest soup (http://hongkong-bird-nest.50webs.com/index_e.htm) as well as 4 packets of Chinese tea that's supposed to be good for regulating cholestrol. My mom's cholestrol has been pretty high lately, or so she tells me.

82 Name: Anonymous : 2011-04-08 11:49 ID:cp2D5cOW [Del]

OP here, I went with Vbulletin. It is a best script.

83 Name: vocalon!!58Fj0405 : 2011-04-15 18:23 ID:ui1xmhrR [Del]

Um... here's a PHP mess for you.
http://rechan.eu.org/

84 Name: Louis Vuitton Outlet : 2012-08-03 15:44 ID:ZTwhaS29 [Del]

85 Name: psychometric test : 2012-08-13 01:24 ID:i+6uuUvY [Del]

wow amazing blog! i am enjoying your blog site. this is very good blog for information. thanks for positing.

86 Name: Anonymous : 2014-01-05 22:32 ID:s5cqlpSL [Del]

Kik itskat21 telling her shes a fucking no-good whore.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: