Or the devs can implement per-style templates themselves, but that would actually require PunBB to seperate logic from presentation, and consequently rewrite the entire application. Do the PunBB devs realize that it's riddled with massive redundant code repetition? If a change of class names requires this big a commit, something's wrong. Massive search/replace will only take you so far.

2

(2 replies, posted in PunBB 1.3 troubleshooting)

add this to your CSS file:

.entry-content img {
max-width: 100%
}

.entry-content a img {
margin: 0 auto
}

that should work for questions 1 and 2.

3

(1 replies, posted in General discussion)

Maybe it has to do with the 81 guests online.

4

(3 replies, posted in PunBB 1.2 discussion)

http://justfuckinggoogleit.com/

5

(62 replies, posted in News)

don't forget http://software.informer.com/

6

(8 replies, posted in PunBB 1.2 troubleshooting)

www is redundant anyway: forward all www.(*) request to $1 requests.

Why is form e-mail part of the core, and subforums not?

8

(3 replies, posted in PunBB 1.3 troubleshooting)

There are many instances of code repetition found in PunBB. Are you guys not aware of it or what? Like in changeset 1540 (http://dev.punbb.org/changeset/1540), you can do:

$basename = $pun_config['o_avatars_dir'].'/'.$id;
foreach(array('gif', 'jpg', 'png') as $ext) {
 $file = "basename.$ext";
 if(file_exists($file)) {
  @unlink($file);
 }
}

Oh wait, I forgot you guys don't use foreach()

9

(3 replies, posted in PunBB 1.3 troubleshooting)

what versioning schema does punbb use? just curious

10

(38 replies, posted in PunBB 1.3 troubleshooting)

Just give up, Solovey. You won't get anything through these guys.

http://rickardandersson.com/2008/02/19/ … and-xhtml/

Just an advisory.

Jérémie wrote:

Nope, all the real ones with PHP have the PHP 5 version, since PHP 4 has been discontinued for two month now. If one doesn't provide anything but 4.x version, they shouldn't call themselves an internet company.

So why does PunBB still support PHP4, a discontinued product? One of the devs answered that "PunBB does not require any features of PHP5." But what about the future of PunBB? Supporting PHP4 will limit you to only its (lack of) features. There are many great new classes and functions that come with PHP5, like filter_* and PDO. SimpleXMLElement and XMLWriter will allow you to easily parse extension info and syndicate feeds. And SPL will be great once (if) PunBB becomes OO. There is absolutely no reason to not discontinue PHP4 support, and move on to PHP5.

All the good ones have PHP 5 installed too.

Use an ellipsis rather than three dots.

I prefer […] over … as well, but I guess that's up to you to change.

Also, while you're at it, why not linkify the author's profile in viewforum.php?

Can you make the syntax like this?

REalllllyyyy long topic title ... 
by orlandu63 on 2008-02-08 21:37:12

I find 3 lines to be redundant.

But then this issue comes up:

REalllllyyyy long topic title ... 
by orlandu63 on Today 00:51:00

Hmmm hmm I really hate the 3 lines though

Maybe like this?

REalllllyyyy long topic title ... 
by orlandu63, Today 00:51:00

Yeah, make sure to unset $ext_si_subject after each iteration.

nvm the rest -- i'm an idiot

topic

Wouldn't

unset($pun_page['item_last_post']);

interfere with similar extensions?

(isset($idmComp)) is redundant because the if/else statement ensures the definition of $idmComp.

Speaking of duplicate URLs: http://punbb.org/forums/viewtopic.php?id=16679

I never really got a yes/no answer hmm

topic

22

(7 replies, posted in PunBB 1.3 troubleshooting)

There should be a size limit for passwords. What if I give you a 5MB password that your server will have to download and hash every time I login?

Must've missed that :X

In large forums, this can really eat up bandwidth.

Oops. Never even thought of that tongue