PHP based scripts? (33)

1 Name: Anonymous 2005-09-04 10:24 ID:IyaT7ppx [Del]

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.

2 Name: Albright!LC/IWhc3yc 2005-09-04 10:43 ID:XMJWpsDQ [Del]

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/

3 Name: Anonymous 2005-09-04 12:04 ID:IyaT7ppx [Del]

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.

4 Name: Shii 2005-09-04 16:23 ID:SQV8deCs [Del]

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.

5 Name: !ybl1Z4DRQ2 2005-09-04 18:03 ID:IyaT7ppx [Del]

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?

6 Post deleted by user.

7 Name: Anonymous 2005-09-04 21:06 ID:sTjOCloU [Del]

>>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.

8 Name: Albright!LC/IWhc3yc 2005-09-04 22:01 ID:XMJWpsDQ [Del]

>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...

9 Name: Shii 2005-09-04 23:26 ID:SQV8deCs [Del]

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.

10 Name: Shii 2005-09-04 23:30 ID:SQV8deCs [Del]

Also, major Shiichan problems:

  • template system was written by untrained monkeys
  • those minor things noted above that MrVacBob fixed
  • placing a ban message screws up the Name field of a post

11 Name: Albright!LC/IWhc3yc 2005-09-05 07:19 ID:Heaven [Del]

>>9: Two frames? Thorn doesn't use frames...

12 Name: Anonymous 2005-09-05 07:31 ID:Heaven [Del]

>>11
That's all the more confusing, then!

13 Name: !ybl1Z4DRQ2 2005-09-05 09:25 ID:IyaT7ppx [Del]

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.

14 Name: !WAHa.06x36 2005-09-05 09:43 ID:RLY98yAY [Del]

Maybe you should port Wakaba's templating code to PHP! <-- self-promoting troll

15 Name: Anonymous 2005-09-05 11:00 ID:0gKQ7ZR2 [Del]

> 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.

16 Post deleted by user.

17 Name: Albright!LC/IWhc3yc 2005-09-05 11:17 ID:Heaven [Del]

>>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.

18 Name: !WAHa.06x36 2005-09-05 14:05 ID:RLY98yAY [Del]

>>17

chmod 755 thorn.py

And:

#!/usr/bin/python
script goes here

19 Name: Anonymous 2005-09-05 21:29 ID:MW64WMYl [Del]

CGI? Not very scalable. Although it does have bytecode, at least, unlike perl (perlcc doesn't count, it's kind of buggy)

20 Name: !WAHa.06x36 2005-09-06 04:06 ID:Heaven [Del]

>>19

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.

21 Name: Albright!LC/IWhc3yc 2005-09-06 09:41 ID:Heaven [Del]

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.

22 Name: !ybl1Z4DRQ2 2005-09-06 17:01 ID:IyaT7ppx [Del]

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.

23 Name: !WAHa.06x36 2005-09-06 17:04 ID:RLY98yAY [Del]

>>21

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.

24 Name: !ybl1Z4DRQ2 2005-09-06 17:59 ID:IyaT7ppx [Del]

The problem is that all the links appear to be correct yet I still get page not found errors. Any ideas? Thanks.

25 Name: Albright!LC/IWhc3yc 2005-09-06 18:20 ID:XMJWpsDQ [Del]

!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.

26 Name: !ybl1Z4DRQ2 2005-09-06 18:39 ID:IyaT7ppx [Del]

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).

27 Name: Mr VacBob!JqK7T7zan. 2005-09-06 22:18 ID:yRenZVLI [Del]

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.

28 Name: !ybl1Z4DRQ2 2005-09-07 05:33 ID:IyaT7ppx [Del]

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)

29 Name: Albright!LC/IWhc3yc 2005-09-07 05:39 ID:XMJWpsDQ [Del]

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.

30 Name: !WAHa.06x36 2005-09-07 06:03 ID:8DegyG+8 [Del]

>>28

Why not just use the Perl version? Does your host only offer PHP?

31 Name: !ybl1Z4DRQ2 2005-09-07 07:18 ID:IyaT7ppx [Del]

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?

32 Name: !WAHa.06x36 2005-09-07 09:10 ID:RLY98yAY [Del]

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").

33 Name: Bottega Bags : 2012-07-14 01:37 ID:RM2u+OYq [Del]

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