1

(56 replies, posted in PunBB 1.3 extensions)

Thanks.

I just installed this: http://www.network-technologies.org/Pro … mod_punbb/

I'll see how it goes.

2

(56 replies, posted in PunBB 1.3 extensions)

So what do I do to install captcha on my PunBB v1.2.15 forum?

It's really hard to find anything around here.

3

(56 replies, posted in PunBB 1.3 extensions)

I would like to install this on a PunBB v1.2.15 forum.  I don't have an extensions directory, but I do have a plugins directory.  I can't find any installation documentation of any kind for this.  How can I install it?

Thanks.

Well, the Liquid Web people relaxed the security feature on my site last night and now everything is working again.

Thanks, all.

Smartys wrote:

Hmm, that's the likeliest possibility, since nothing has changed on your end. However, we would need to see the error log to tell for sure. wink

And the workaround, if it turns out that is the issue, is to talk to your host and get them to fix it. Just confirm the problem first/

The error log doesn't reveal much:

[Tue Apr 15 18:19:35 2008] [error] [client 76.xxx.xxx.xxx] File does not exist: /home/myhost/public_html/500.shtml, referer: http://www.myhost.net/forum/login.php
[Tue Apr 15 17:28:08 2008] [error] [client 76.xxx.xxx.xxx] File does not exist: /home/myhost/public_html/500.shtml, referer: http://www.myhost.net/forum/login.php
[Tue Apr 15 17:23:36 2008] [error] [client 76.xxx.xxx.xxx] File does not exist: /home/myhost/public_html/500.shtml, referer: http://www.myhost.net/forum/login.php
[Tue Apr 15 17:21:28 2008] [error] [client 76.xxx.xxx.xxx] File does not exist: /home/myhost/public_html/500.shtml, referer: http://www.myhost.net/forum/login.php
[Tue Apr 15 17:21:01 2008] [error] [client 76.xxx.xxx.xxx] File does not exist: /home/myhost/public_html/500.shtml, referer: http://www.myhost.net/forum/login.php

Is login.php actually asking for those filenames?

MattF wrote:

Screwed mod_sec rule.

Any workarounds?

I set up a v1.2.16 forum back in November and added a few users to it in preparation for further development later.  Since then I haven't done anything with the forum, but recently I have been preparing to start working with it.

Today I tried to login and received this server error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@myhostname.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.4 Server at www.myhostname.net Port 80

Blam!  That's a pretty severe error.  I haven't changed a thing on my end, but gawd knows what the hosting company has done to my environment since November.  The only way to login at the moment is to register as a new user and when you complete the registration process you will be logged in.  None of the existing login names work, not even one I created just before logging out and attempting to login again.

I was hoping someone here might know what is causing this.  A few minutes ago I updated the forum to v1.2.17 and the update, including the database update, went smoothly, but I still get the server error on login.

Any ideas?

Please see http://punbb.org/forums/viewtopic.php?id=17536

Thanks.

What is the usual method for combating spam flooding bots?  What is the timeout based on?  Session?  IP address?  Cookie?

This morning I was looking around for a way to add some code to the main header block when I noticed what I assume is a bug in the header.php file of v1.2.15.

Lines 148-150 start with // START SUBST - <pun_page> and end with // END SUBST - <pun_title>.

Surely shome mishtake?  Dunno what effect if any this has on operations.

sirena wrote:

Using your own numbers, if you assume the page weight of a vanilla punbb viewtopic.php page (eg this topic itself) using the standard Oxygen style, with say 10 posts per topic, you are looking at a page weight of only about 30k per page view, including style sheets. (If your server has gzip compression turned on though on its pages that is only about 20k per page or MUCH less). So (very simply) 50 users browsing that same page would potentially pull down 50x30k = 1.5MB.

However if you meant 10 posts a minute TOTAL (ie 600 posts /hour ie 14400 posts /day) that would represent 14400x30k = 400MB /day. That's still quite a busy forum (busier probably than any punbb forum in the world), but not a lot of bandwidth - 12GB/ month or so.

Thank you, you have been extremely helpful.

In terms of finding a good host, just lurk around http://www.webhostingtalk.com  . . . Oh, and you may find bandwidth to be the least of your worries if you anticipate running a busy forum... You will also need to start worrying about stuff like Apache and PHP and MySQL performance and optimization, and CPU load too. PHP and MySQL can be real performance pigs and will usually choke a busy forum long before it hits any bandwidth ceiling....

Yeah, WHT just seems a bit overwhelming.  Either every other post is about Dreamhost or there are dozens of obscure hosts and it's hard to make heads or tails.  It would be nice if a sort of top five hosting companies could emerge from the babble.  As I said, I already have experience with Dreamhost.

I thought I would start with the bandwidth question since I wanted to understand if there were any special requirements and if there was a chance I would need to do so I wanted a migration path from shared to VPC.  Basically getting the host is the first step I need to accomplish before I can start hacking on the software (there are some hacks I want to make, outlined in the other thread).

I'll noodle around on WHT some more, thank you very much.

Well, can anyone throw out a short list of good, reliable hosts that have an easy migration path from shared to VPC should the latter prove necessary?  I already have experience with Dreamhost and Textdrive/Joyent.  Would like some other choices.

Wading through the big hosting websites is difficult without solid bandwidth requirements.

Searching the forum on "hosting" hasn't been very productive.

13

(4 replies, posted in PunBB 1.2 discussion)

elbekko wrote:

There's this: http://www.punres.org/viewtopic.php?id=1067
But it's old and quite buggy. I remember there being another one, but can't find it atm hmm

That's interesting.

I am curious: why do you need to go to the database?  Why not simply edit parser.php?

The only reason I would want to go to the database is to look up the user and user groups table, for access rights.  Maybe the utility would also read PunBB cookies so an admin who is already logged into PunBB doesn't have to log in to the utility.

Again, I think it could be simplified by making it separate from PunBB.

BTW, spent many a drunken night in Leuven.

14

(4 replies, posted in PunBB 1.2 discussion)

I just did a few searches and was surprised to see no hits on this.

I was recently thinking about putting together a little PHP utility, completely separate from PunBB, that can be used to add, edit and delete smileys.  I would be surprised if nothing like this had been developed already.  Working with smilies can be a bit of a pain.

What I was thinking of was a simple PHP script that would parse the two relevant lines from parser.php and allow an administrator to:

1) edit any smiley, either by changing the text string or uploading a replacement graphic;

2) delete any smiley; or

3) add additional smileys.

Obviously the utility would have to write the changes to parser.php.

You could make it fancy by having the utility access PunBB's database for user information so only, say, PunBB moderators or administrators can login and use the utility.  I would think writing a standalone utility would be a lot easier than modding PunBB for this.

Is there anything like this out there already?

Smartys wrote:

3. OK, as an administrator do you want to be able to see who the anonymous user is?

No, don't care.

As an administrator, there will be no deletions, no bans, no moderation of any kind.

Thank you for your comments.

I edited #3 according to your note.  I guess I have been hanging around on non-standard PunBB sites too long.

Smartys wrote:

Not a clue, it varies depending on the size of the posts, how many smilies are used, etc.

"Not a clue?"  Then how is anyone supposed to be able to size his hosting requirements?

Folks,

I am in the process of setting up a general interest forum that will be completely unmoderated.  Because I do not want to have to watch the forum for vandalism 24/7, I need to build into it some safeguards.  I would like to discuss some of these ideas here before finalizing my choices and then hiring someone to modify PunBB to work the way I want it to work.

Here are my initial ideas and plans:

1. The forum will allow registered and unregistered posts.  For the unregistered posts, a visual captcha test will be used to keep out spambots, which is the biggest problem I have encountered in other unmoderated forums.

2. There will be a minimum time limit of about 30 seconds or so between posts to keep out the spambots.

3. [edited] I would like to implement a "Make This Post Anonymous?" check box in the posting screen so that a registered user can make an anonymous post, without the captcha test.

4. Reply nesting needs to be fixed so that only one reply is nested in a post.  This needs to be done cleanly, so that only the most recent reply can be seen even in the posting screen (ie, don't hack the post after the fact to remove the unwanted nested replies).

5. Images will be off in the main unmoderated forum, but I would like to be able to enable images in other registered-user-only forums.  So I need a way to configure individual forums (or categories) for registered user posts only and for images.

6. I understand there can be database performance issues with overlong posts and overly long threads.  I propose a post size limit of 6,000 characters (the size of a typical AP news story, not that I would ever advocate anyone violate the AP's copyrights).  I also propose an arbitrary maximum thread size of, say, 200 posts.  Once a thread reached this size limit it would be automatically locked.

7. To prevent ASCII impersonations, usernames will be limited to a subset of characters, abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ, plus the space, period and comma.

8. To improve performance, I would like a way to archive threads after a certain period of time, so that they can no longer be bumped, but they can still appear in search results.

9. Automatic weekly (or daily) database backup.

I would welcome your comments, reactions and suggestions regarding the above.  As I said, once I nail these requirements down, I will probably go to Punlancer or something to find someone to help me implement this.

I am about to hire a hosting service for a PunBB forum, but need to be able to anticipate my bandwidth requirements.  I am not sure how I should be calculating these.  For example, what kind of bandwidth requirements will I have for a forum that, say, peaks at 50 simultaneous users with about 10 posts a minute, smileys on?  What about double that?

Anyone have any suggestions?  Thanks.

20

(6 replies, posted in PunBB 1.2 show off)

I guess that's good advice, to make the forum fit the rest of the site better.  But one of the things I don't like about the site design is its fixed width.

Anyway, I made the change Quaker suggested but also found I had to change the positioning of the H1 header from absolute to relative.  Everything seems to work.

CSS is a little scary.

Edit: Anyone have any advice about how to remove the light-colored outline from around the header graphic?  I can't find a line to edit in CSS.  I suppose I'll have to add a new line?

21

(6 replies, posted in PunBB 1.2 show off)

We just set this up today: http://www.mesatactical.com/forum/

Nothing fancy, but we like how it is visually integrated with the main site (which is based on TextPattern).

bingiman wrote:

Do you mean this:

http://punbb.org/forums/viewtopic.php?id=17324

Not exactly, since all I want to do is make the board name text a link, but your pointer to the main.tpl has shown me the way.

But I just tried it, and it's a little confusing since clicking on "Mesa Tactical Forum" takes you back to the front page of the entire site.

I guess I'll just add a link in the top linkbar.

Thank you for your help.

Just set this up today: http://www.mesatactical.com/forum/

It will be a company product support and general purpose talk-about-guns forum.  The forum title in the header should be a link back to the main site (http://www.mesatactical.com).  Is there an easy non-kludgey way to do this (I am pretty sure I can figure out the kludgey methods).

And while we are at it I have been trying to get rid of the light colored border around the header graphic.  I guess there isn't already a CSS line I need to change and I will have to enter a new CSS definition (for, say, brdtitle or brdheader); does this sound right?

Thanks.

sirena wrote:

The punBB forum prob. isn't the best place to develop this dialogue to its fullest, so all I will say is that 'enjoyment' defined as consumer consumption is probably amongst the thinnest of pleasures you can buy into.

The PunBB forum is also probably no place to try to convey the immense aesthetic pleasures derived from the fine engineering and craftsmanship of firearms; the feel and smell of the wood; the challenge and pleasure in restoring them; the delight in shooting them accurately; the sublime enjoyment of a day out of doors, sharing good times with friends and family, with not so much as a computer keyboard in sight.

I'm sure none of that compares, however, to an afternoon of PHP coding or golf.

sirena wrote:

But I sometimes want to yell at people about this, along the lines of: folks, it's just Stuff. It's ephemera. It ain't worth a damn. You are wasting your life.

Wasting my life?  What else should I be doing with my life besides enjoying it to the fullest?

You got any better ideas, let me know.