301

(26 replies, posted in PunBB 1.2 show off)

milesj wrote:

@sirena

the css and images havent been cleaned up or anything :]
i just wanted to get the basic layout done first

and the background image... even compressed i cudnt get it below 300k.... its 2000x1000

I suspect you don't quite realise what JPG compression involves.

That background is in fact PERFECT for optimization because of its relatively uniform palette. The actual size of the image matters little.

For example, applying 65% JPEG compression to the image brings the filesize down to about 98kb, and by applying 50% compression I could bring it down to 65kb, with little discernable visual difference between the optimized versions and the original.

Similar reductions could be achieved for many of the other images you use, I think.

It makes your site faster and saves you bandwidth to boot. Users win and you win too smile

302

(26 replies, posted in PunBB 1.2 show off)

Slow !!

Why? 750k (!) of images:

1  395289  CSS IMG  http://www.sc2armory.com/themes/terran/ … ground.jpg 
1  78933  CSS IMG  http://www.sc2armory.com/themes/terran/ … ontent.jpg 
1  64392  CSS IMG  http://www.sc2armory.com/themes/terran/ … header.jpg 
1  18294  CSS IMG  http://www.sc2armory.com/themes/terran/ … ain_bg.jpg 
1  17537  CSS IMG  http://www.sc2armory.com/themes/terran/ … eft_bg.jpg 
1  16973  CSS IMG  http://www.sc2armory.com/themes/terran/ … in_top.jpg 
1  16360  CSS IMG  http://www.sc2armory.com/themes/terran/ … ght_bg.jpg 
1  16101  CSS IMG  http://www.sc2armory.com/themes/terran/ … ft_top.jpg 
1  15460  CSS IMG  http://www.sc2armory.com/themes/terran/ … ht_top.jpg 
1  14999  CSS IMG  http://www.sc2armory.com/themes/terran/ … in_bot.jpg 
1  14836  CSS IMG  http://www.sc2armory.com/themes/terran/ … p_base.jpg 
1  14397  CSS IMG  http://www.sc2armory.com/themes/terran/ … p_base.jpg 
1  14114  CSS IMG  http://www.sc2armory.com/themes/terran/ … ft_bot.jpg 
1  13669  CSS IMG  http://www.sc2armory.com/themes/terran/ … ht_bot.jpg 
1  13000  SCRIPT  http://include.reinvigorate.net/re_.js 
1  5431  CSS  http://www.sc2armory.com/themes/terran/style.css 
1  3933  SCRIPT  http://pagead2.googlesyndication.com/pagead/show_ads.js 
1  3642  HTML  http://www.sc2armory.com 
1  3297  IMG  http://www.sc2armory.com/themes/terran/ … e_news.gif 
1  1716  IMG  http://www.sc2armory.com/themes/terran/ … _login.gif 
1  1402  IMG  http://www.sc2armory.com/themes/terran/ … le_ads.gif 
2  726  CSS IMG  http://www.sc2armory.com/themes/terran/ … ivider.gif 
1  685  CSS IMG  http://www.sc2armory.com/themes/terran/ … er_alt.gif 
1  361  CSS IMG  http://www.sc2armory.com/themes/terran/ … bullet.gif 
24 ^  745547*    Total (^unique objects)

Suggest applying a bit more compression to all your JPG's, esp background.jpg. Should be able to get it <100k, at least.

Run it through:

http://www.websiteoptimization.com/services/analyze/

a few times to tune it a bit better.

Not everyone will be accessing your site over LAN bandwidth smile

303

(89 replies, posted in PunBB 1.2 discussion)

MattF said:

Whatever you can throw at them to block it, they will find a multitude of ways to circumvent it.

Only if it is 'cost-effective' for them to do so.

That's the big issue with all forms of spam - comment spam, forum spam, web spam, and email spam. The financial yield can be quite high even with relatively low response rates because the 'cost' of flooding the market is quite low if you have the right tools and know the technology. Even if you only get a 1% response rate to the 1 million spam emails you sent out, it is still worth doing because the costs of generating those emails can be quite low.

Change the landscape, however, by introducing a higher level of technological 'friction' or legal/financial risk into the business of spam, and you change the cost/benefit ratio of all forms of spam, and thus the incentives to perform it.

Hence my enthusiasm for things like the 'no-follow' tag and forum spam options like the afore-mentioned 'VIP code' mod. They introduce friction into the spam process and alter the cost/benefit ratio for forum spammers.

304

(89 replies, posted in PunBB 1.2 discussion)

However, once enough people start using a tool to fight spammers, the spammers try to adapt. If there's a way to detect what the word is, for example, they'll do it.

Of course you are right there.

But from the [long] discussion in that thread, it is pretty clear that people have grokked that personalisation of the way this mod works is key to its success. There are lots of interesting variations discussed. I think the approach as some promise for punBB.

If I wasn't a such a PHP dumbo, I'd have a go at adapting the phpBB mod for punBB myself smile

I like its simplicity and apparent robustness, even against human spammers sometimes it seems.

305

(89 replies, posted in PunBB 1.2 discussion)

Just FYI.

There is apparently a very effective yet simple mod that is available for phpBB discussed here:

http://www.phpbb.com/community/viewtopic.php?t=435702

It works by allowing the admin to specify a 'VIP code' or pass-phrase, essentially, that users need to enter when they register. The variability of this across phpBB boards makes it effective against scripted bots.

Judging from the feedback in the thread above, it seems to work well. Some forum admins even report being able to turn off their CAPTCHAs.

It's similar to some of the approaches already discussed here.

306

(89 replies, posted in PunBB 1.2 discussion)

Another anti-bot signup idea:

When email registration is enabled, the new registrant is sent the usual confirmation email by punBB, but the email from punBB also encloses a **randomly generated** 5 or 6 digit numeric code or even a dictionary word. Accompanying this code is a link to a simple 'confirm details' page on punBB, where they are asked to enter the code they received in the email before their can be registration is accepted and an account created on the forum.

At initial sign-up, register.php would create and then store this code against the email address the person signed up with. When they come back to confirm these details, the code they are required to manually enter would be compared with the code created for them at initial signup by punBB.

This 'two-factor' email signup is an a easier way to implement a CAPTCHA, without any of the problems associated with images etc. But it should still be pretty robust, at least against scripted bots, since the secondary password would be random.

This approach could also largely piggyback on existing punBB forms and mechanisms.

Edit: I just saw the flaw in this - you are essentially just feeding the bot the password to use by sending it out in the email. It can then just parse the email, grab the password and feed it back into the secondary form (depending on the capability of the scripting tool the forum spammers use). No progress. sad

Sorry for bothering everyone.

307

(89 replies, posted in PunBB 1.2 discussion)

Actually, calende that last thought is an interesting one. A little jscript pocket calculator or number-pad in an online form where the data has to be punched in manually *via a mouse*, combined with a numeric calculation. The concept is a bit similar to the login page my bank uses for their online service.

Of course this would all be solved if we had a universal PKI infrastructure, and everyone had a digital ID certified via an ID check smile

Ahem.

But I guess a good compromise concept here would be if punBB 1.3 shipped out of the box with 2 admin plug-ins that by default enabled some sort of enhanced forum spam blocking, either at the 'front door' during the registration process, or post registration.

That way the core code could stay slim and trim but at least new punBB admins would have tools immediately available in the package to fight forum spammers, without having to go all around the place to find them and install them.

Now someone just has to code those plug-ins, and ensure the hooks are there for things like that to work smile

308

(4 replies, posted in General discussion)

'The sky is high and Beijing is a great distance away'.

Old Chinese proverb.

Meaning there is a lot of space between where you are and where the real action is on this, and a lot of things can go on in between that won't get noticed and therefore people can get away with.

In short, I hope you haven't bet the rent on 1.3 turning up anytime in 2007 smile

309

(89 replies, posted in PunBB 1.2 discussion)

Yeah, true. I agree with MattF and MadHatter.

At the moment punBB certainly fulfils its role very well in security terms against a variety of threats based on code integrity - eg it's simple code base has a good track record against XSS, SQL injections etc, because (aside from simply being coded very well) the less there is in terms of features and simple number of lines of code, the less scope there is for things to go wrong. A gold star to punBB on that issue, for sure. And everyone would want that to continue.

But forum spam and bad bots are an external threat that punBB needs to face. No matter how tight and secure the code itself is, the 'front door' may still be a vulnerable to abuse, and that degrades the whole utility of punBB, potentially. (As it does a lot of other web apps).

Bringing this issue within the core security envelope of punBB - somehow - would be a welcome development, IMHO.

310

(89 replies, posted in PunBB 1.2 discussion)

I knew it was a mistake to use a MS example around here smile

But a dislike of MS shouldn't cloud the argument. It was just meant to illustrate a point about application hardening. One valid approach can involve reducing the 'surface area' an application exposes to attack 'out-of-the-box'. That's all. It's a very *nix-like perspective.

Progressive strengthening of the defences by all web apps is an inevitable trend. You can see it everywhere. And the forums you will see around in several years time will be much tighter than the ones you see today, that seems an absolute given.

This doesn't necessarily need to get in the way of the spirit of open source, *nix, the web and other goodness. It's a matter of survival.

311

(89 replies, posted in PunBB 1.2 discussion)

I tend to agree with calande.

It's a classic problem. Administrators should accept some responsibility for the secure operation of their sites, of course. But you can see the trends - we have to accept that the web is a hostile environment nowadays. So application hardening is the way to go.

Ergo, a modern forum has to be able to deal effectively with spam in a default install. That is to say, a 'secure' anti-spam configuration should be the default.

Perhaps this means including stuff like a CAPTCHA or textual equivalent built-in, along with expanded post and registration 'censoring' options, and certainly implementation of the simple stuff like support for the no-follow tag on links in forum posts, designed to reduce the incentive to spam. And turning all of these options 'on' by default.

Administrators should then be able to choose to selectively disable the spam control options, but by default they would be active.

It's the appropriate security model to adopt. Forum spam is only going to get worse. Why contribute to the problem?

Look at the MS experience and the new security model in Vista and successive generations of for example their server product lines. You start with a secure configuration, and users then have to explicitly *choose* less secure options.  Is good.

I'd certainly encourage punBB to go down this path.

312

(0 replies, posted in Programming)

Just FYI for anyone working with MySQL in punBB.

Have a look at Toad (if you haven't come across it already):

http://www.quest.com/toad-for-mysql

It is a very powerful and freeware Win32 MySQL editor/manager.

It's a 19MB download, but it's an excellent tool.

I especially like the SQL Modeler, which allows you to 'Quickly create the framework for a SQL statement from a graphical interface, including selecting tables and views; selecting and joining columns, adding conditions, etc'.

SQL modeler is similar [read: a clone] to the old stand-alone Microsoft Query tool, and the graphical SQL view interface available within MS Access. Very nice.

There is lots more to explore with Toad, but the SQL Modeler alone makes it worth the download, IMHO.

You are both tough cookies, Paul and Jérémie.

I tend to agree though.

Once you've passed a certain level of familiarity with CSS, any tool can get in the way more than assist.

But that's the problem with CSS - getting to the point where you feel confident that you know how to handle things.

The issue with CSS is that most of the 'real' CSS knowledge isn't in the W3C textbook, as it were. It''s in the experience of various gurus, who are CSS initiates, who pass it down in a very medieval, guild-like fashion to the rest of the world.  If tools like Style Master can break this down, more power to them.

For much the same reason, I also very much like the Yahoo User Interface Guidelines - http://developer.yahoo.com/yui/ - inc their CSS stuff, like the Grids resources - http://developer.yahoo.com/yui/grids/

It all starts to make building production grade CSS easier and requires much less esoteric knowledge.

This discussion has prompted me to have a good look around at what's available re CSS editors...

I gather no-one is using the super-cool looking Style Master, from Western Civilisation, for Mac + Win32:

http://westciv.com/style_master/index.html

I'm going to download it now and have a look - it is shareware but apparently it only degrades some functionality after the registration timeout, not die completely.

Who knows - I may even buy it - it also comes w. excellent looking templates and tutorials.

Aha. Looks like the same old suspects - dreamweaver, notepad, crimson editor etc - are still popular then.

Good. I am not being left behind then smile

I still bemoan the primitiveness of the tools though. Develop line-by-line, with a text editor, using a crude vocabulary, requiring a knowledge of all sorts of idiosyncratic hacks and quirks, etc etc.

Still very 1950's, IMHO. Hard to be productive.

316

(11 replies, posted in PunBB 1.2 discussion)

MattF wrote:

That is a small scale e-mail throughput, by some peoples standards. big_smile

True. But actually I was thinking of that from an admin's point of view. The hardware and software may handle the load OK, but I bet a lot of that email was also the sort of stuff that a human somewhere would need to look at and respond to, inc the admins or moderators of the boards. If even a small percentage of that was queries from users, problem reports etc, that would be the real hassle factor. smile

317

(23 replies, posted in General discussion)

So what's new or different compared to the current punBB 1.3 dev?

What are the advantages of SunBB vs PunBB?

If I'm gonna check out SunBB I would want to know why its worthwhile.

Just a quick question - what freeware CSS editors do people use or find best? [that work on Win32]

I've been using TopStyle Lite for years (v3.1).

While I am generally happy with it and can live with its faults (it does tend to crash with complex CSS pages, and from time to time the color selector barfs out too), it strikes me that things must have moved along a bit on the CSS editing tool front.

Nowadays CSS is much more widely deployed, and judging from some of the CSS layouts you see around the place, some people must have access to some good tools.

So...what's the [preferably freeware] CSS tool all the groovy, hip people are using today?

Cool. There is a constant demand for a user-friendly basic install guide from new punBB users. You will win a lot of friends smile

When/if punBB 1.3 gets released, there will also be a demand for a user-friendly upgrade guide too, I suspect.

Dr.Jeckyl wrote:

i'm sure they could. would be a bit much for what this thing does. a full blown wysiwyg might be a bit heavy for a plain text editor like this. besides, i thought you we 1337 like that. wink

Just use Xinha Here! - available as a Firefox add-in:

https://addons.mozilla.org/en-US/firefo … p;status=4

to turn the 'free-edit' area of this plugin into a WYSIWYG editing space.

It should work.

It's a much better solution than embedding a WYSIWYG editor into the plugin itself.

hcgtv wrote:
sirena wrote:

A series of GIF format screen-captured images pasted into a standard HTML web page would be a lot faster to browse though.

Yes, I plan on creating screen shots of the install and admin screens of PunBB 1.3.

Similar to this: http://punbb.org/docs/screens/

That's great.

But a better model would - perhaps - be the kind of illustrated step-by-step guide you find on www.howtoforge.com - for example this simple one (of MANY) by the industrious falko:

http://www.howtoforge.com/linux_apache2 … cubeloader

Having a page or two like that on the main punBB.org docs page would make a lot of support headaches go away, I suspect.

Wow, a handy service for punBB neophytes, Dr Jeckyl. Keep it up!!

If you could eventually cover all the basic steps of a punBB install (download zip off punbb.org, MySQL db create, upload files to server, run config.php + install basic admin add-ins) that would be excellent and very helpful to a lot of folks I am sure.

A series of GIF format screen-captured images pasted into a standard HTML web page would be a lot faster to browse though.  smile It would also be searchable. The content within Flash based presentations is not, of course...

323

(9 replies, posted in PunBB 1.2 show off)

I like it.

Hmmm.  Your site reminds me a lot of a site I visit a lot:

http://www.webmin.com

Looks like you share the same Styleshout theme smile

The pun integration is nice, but the narrow 2 column theme doesn't leave a lot of room for punBB to display.

He may have a point though.

It might be a good idea if someone at least went periodically through the Administration plug-ins linked off the 'official' punBB.org downloads page - http://punbb.org/downloads.php - and ensured they worked for the latest punBB version without any requirement for obscure code tweaks.

Any downloads on that 'official' page could be, as it were, 'officially supported'. I think that wouldn't be an unreasonable expectation of most new punBB users.

The rest of the mods etc on punres can be the usual dog's breakfast, as they are, and that's OK.

Looks handy.

Funny item in your forum rules though:

If you are a part of a government organization, or any other organization that has the intent and/or interest of causing harm, you cannot register, and must disconnect from this server immediately.

The implication that if you are part of a govt organization you intend to do harm I find a little strange. Most govt agencies don't intend harm. Some may even want to be helpful.

Either way, best of luck in keeping govt organizations (or anyone else who wants to do any mischief) out of your site with your rules. If anyone wants to harm your site, rules won't stop them. They will find a way smile