Hi there,I was wondering if there are any PHP based imageboard scripts. I know that there's thorn but that's a bit, er... shit.
Care to make any suggestions for improvements? My wrist injury (lol fap fap fap durr) is healing, so I was going to start coding on it again soon.
To answer your question, there's Ochiba:
http://ochiba.x-maru.org/
and the no-longer-in-development Futallaby:
http://www.1chan.net/futallaby/
Ooops, blushes.
Well I guess the main improvement needed is just the layout. If you can get the layout looking like Kareha and make it easy to change the style of it using CSS then that would be perfect.
Another feature I would like is to be able to run the board in a "discussion only" fashion, with image posting disabled.
Oh, and a thread listing more like world4ch as opposed the mess that is most of the other boeads would be nice.
Then you'll want my Shiichan script, used to run world4ch
http://wakaba.c3.cx/shii/shiichan
but I'm not working on it anymore and nobody else is either.
Checked out the script Shii, perfect! Exactly what I was looking for.
Shame you're not working on it anymore, I can't see any major improvements needed though. What HUGE bugs are still left in there out of interest?
>>5
Logging into the admin panel redirects to 'admin.php' and loses the query string.
The post.php theme might not have a content-type tag, messing up the board encoding.
I can't remember if there are any more, except maybe a corner case or two in tripcodes being wrong. I also know how to fix the above two.
>Well I guess the main improvement needed is just the layout. If you can get the layout looking like Kareha and make it easy to change the style of it using CSS then that would be perfect.
>[snip]
>Oh, and a thread listing more like world4ch as opposed the mess that is most of the other boeads would be nice.
That's all templating stuff. That would be easy to implement. Heck, it already "ships" with a template set that makes it look (more or less) exactly like Wakaba.
>Another feature I would like is to be able to run the board in a "discussion only" fashion, with image posting disabled.
Already implemented. With Thorn, you can disable (or force) image posting for new threads and for replies, and have separate rules for each board.
If Shiichan works for you, though, go for it; it's probably more mature than Thorn is right now. However, as >>6 pointed out, it doesn't support images...
Thorn's two-frame interface is a little confusing. Usually frames are reserved for navigating separate boards.
For images you could always hack up Futallaby again.
Also, major Shiichan problems:
>>9: Two frames? Thorn doesn't use frames...
Yeah the template system is pretty bad (tweaking it for my site now), in fact, it's quite horrible. I'll see how much more tweaking my brain can handle before I have to give up and find something a bit more suitable. (Although I doubt I'll find anything with as much charm, "e-penis size of 9999cm!")
I am quite tempted to give Thorn another go and just work on the template.
Maybe you should port Wakaba's templating code to PHP! <-- self-promoting troll
> placing a ban message screws up the Name field of a post
It writes the fields back to the .dat file in the wrong order, this can be fixed quickly if you know where to look.
>>12: What you talkin' 'bout, 'nymous?
>>14: We've got Smarty. We don't need anything else. http://smarty.php.net
I was once again toying with the idea of porting Thorn to Python, and once again I'm giving it up after find out how much fun it is to try to get a web server to work with Python. So it looks like Thorn will continue to be a PHP script for the forseeable future. Look for a (probably very minor) new release come the weekend.
CGI? Not very scalable. Although it does have bytecode, at least, unlike perl (perlcc doesn't count, it's kind of buggy)
But it's easy and it works, and it's not like you necessarily need all that scalability. mod_python can keep up that end if its needed.
Oh Jesus fucking Christ, WAHa, I may be a lowly PHP coder, but would you stop treating me like I'm a complete moron? I'd appreciate it. Condescension does not become you.
Okay, I realise that this isn't a support board (and I'm also sure that Shii doesn't want anything to do with the script anymore). But I'm having just 2 problems, my site is at http://www.houseofbobat.net (it's been a blog site for about 4 years, but I've gotten bored of the format and wanted a change)
Firstly, for some reason, clicking on thread titles takes me to a nonexistant page, linky problems?
Secondly, I seem to have to refresh the main page in order to see my post (just after posting.
By the way, I did take a large chunk of information from both 4chan and Shii's site, but I've tried to make every effort to give you credit for it, please let me know if you feel anything needs to be added.
Thanks.
Well, yes, but... What is the problem, then? That is all you need to do, and it will work. I quite honestly don't get what problem you could be having.
The problem is that all the links appear to be correct yet I still get page not found errors. Any ideas? Thanks.
!yb: I'm willing to bet that either your web host doesn't have an Apache module called "mod_rewrite" installed, or it isn't set up properly. Look in the Shiichan config file or set-up settings thingie to see if it's possible to turn "mod_rewrite" support off.
Could be that, admittedly, I'm with a crap host (Lycos, yuk!). And there doesn't seem to be a way to turn off mod_rewrite support (unless somebody could make my day and show me a way).
It's not mod_rewrite but PATH_INFO. And there isn't a way to turn it off, although it's not an impossible reprogramming job.
Bah, I'm not too bothered at the moment. What are the chances of wakaba being ported over to PHP? (bearing in mind I know nothing when it comes to Perl programming)
Seeing how much WAHa just lurves PHP, slim to none -- someone else would have to take up the job, and converting a script from Perl to PHP (or Perl to anything) is few peoples' idea of fun. Sorry.
Why not just use the Perl version? Does your host only offer PHP?
Unfortunately, yes. Although they have pissed me off so much that I'm planning to just leave as soon as possible. I don't actually know how perl scripts work, do you just dump them into the CGI bin and it'll output a HTML file somewhere?
On a decent host, you just dump them anywhere and make sure they have the execute bit set in the permissions (that's usually "755").