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.
1 2008-05-08 21:34
Re: Will "per-style templates" become available? (13 replies, posted in PunBB 1.3 troubleshooting)
2 2008-05-06 23:31
Re: Image tag align-center (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 2008-05-06 10:58
Topic: PunBB is slowing down. (1 replies, posted in General discussion)
Maybe it has to do with the 81 guests online.
4 2008-05-05 02:48
Re: Censored words list? (3 replies, posted in PunBB 1.2 discussion)
5 2008-05-05 00:30
Re: Moving to a new domain (62 replies, posted in News)
don't forget http://software.informer.com/
6 2008-04-06 18:26
Re: Where has my www gone? (8 replies, posted in PunBB 1.2 troubleshooting)
www is redundant anyway: forward all www.(*) request to $1 requests.
7 2008-04-02 11:25
Re: Censoring - Subscription emails & Send e-mail via forum (10 replies, posted in PunBB 1.3 troubleshooting)
Why is form e-mail part of the core, and subforums not?
8 2008-03-02 22:53
Topic: Code repetition (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 2008-02-27 12:29
Topic: versioning schema (3 replies, posted in PunBB 1.3 troubleshooting)
what versioning schema does punbb use? just curious
10 2008-02-27 12:08
Re: Url rewriting ° & ¤ issue (38 replies, posted in PunBB 1.3 troubleshooting)
Just give up, Solovey. You won't get anything through these guys.
11 2008-02-23 22:31
Re: [extension release] reCaptcha v0.1 (11 replies, posted in PunBB 1.3 troubleshooting)
http://rickardandersson.com/2008/02/19/ … and-xhtml/
Just an advisory.
12 2008-02-21 12:39
Re: This Might be a solution For Dublicate Urls in 1.3 .. i mean SEF urls (11 replies, posted in PunBB 1.3 troubleshooting)
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.
13 2008-02-19 03:34
Re: This Might be a solution For Dublicate Urls in 1.3 .. i mean SEF urls (11 replies, posted in PunBB 1.3 troubleshooting)
All the good ones have PHP 5 installed too.
14 2008-02-10 01:06
Re: [Extension release] Last post subject on index (51 replies, posted in PunBB 1.3 extensions)
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?
15 2008-02-10 00:48
Re: [Extension release] Last post subject on index (51 replies, posted in PunBB 1.3 extensions)
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 I really hate the 3 lines though
Maybe like this?
REalllllyyyy long topic title ...
by orlandu63, Today 00:51:00
16 2008-02-09 21:26
Re: [Extension release] Last post subject on index (51 replies, posted in PunBB 1.3 extensions)
Yeah, make sure to unset $ext_si_subject after each iteration.
nvm the rest -- i'm an idiot
17 2008-02-09 05:18
Topic: So is there an official variable-naming schema for extensions? (7 replies, posted in PunBB 1.3 troubleshooting)
topic
18 2008-02-08 21:28
Re: [Extension release] Last post subject on index (51 replies, posted in PunBB 1.3 extensions)
Wouldn't
unset($pun_page['item_last_post']);
interfere with similar extensions?
19 2008-02-06 11:48
Re: [Extension release] Last post subject on index (51 replies, posted in PunBB 1.3 extensions)
(isset($idmComp)) is redundant because the if/else statement ensures the definition of $idmComp.
20 2008-02-04 14:54
Re: few question about url rewriting ... (4 replies, posted in PunBB 1.3 troubleshooting)
Speaking of duplicate URLs: http://punbb.org/forums/viewtopic.php?id=16679
I never really got a yes/no answer
21 2008-02-04 13:20
Topic: impossible to have default value of NULL when using $db->add_field() (1 replies, posted in PunBB 1.3 troubleshooting)
topic
22 2008-01-31 12:18
Re: First round, small things (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?
23 2008-01-27 14:29
Re: Have the ability to enable/disable the quickjump. (2 replies, posted in Feature requests)
Must've missed that :X
24 2008-01-27 14:23
Topic: Have the ability to enable/disable the quickjump. (2 replies, posted in Feature requests)
In large forums, this can really eat up bandwidth.
25 2008-01-22 22:46
Re: ($hook = get_hook('')) ? eval($hook) : null; (2 replies, posted in Feature requests)
Oops. Never even thought of that