Skip to forum content
PunBB Forums
Unfortunately no one can be told what PunBB is - you have to see it for yourself.
You are not logged in. Please login or register.
Active topics Unanswered topics
Started the beta-testing of the new
Copper style.
Search options (Page 1 of 4)
PunBB Forums » Posts by orlandu63
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.
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.
Maybe it has to do with the 81 guests online.
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————v
www is redundant anyway: forward all www.(*) request to $1 requests.
Why is form e-mail part of the core, and subforums not?
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()
what versioning schema does punbb use? just curious
Just give up, Solovey. You won't get anything through these guys.
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
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
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 
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?
In large forums, this can really eat up bandwidth.
Posts found [ 1 to 25 of 92 ]
PunBB Forums » Posts by orlandu63
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.