TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-10-2007, 06:15 AM   #1 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default phpBB3 Release Date Announced

http://www.phpbb.com/community/viewt...?f=14&t=611789

Finally. It's taken a very long time. Has anyone tried the RCs? Does anyone plan on trying the gold release?
__________________
Eric
wGEric is offline  
Reply With Quote
The Following 3 Users Say Thank You to wGEric For This Useful Post:
Haris (12-10-2007), Jay (12-10-2007), ReSpawN (12-13-2007)
Old 12-10-2007, 07:58 AM   #2 (permalink)
The Frequenter
Prolific Welcomer Upcoming Programmer 
 
Join Date: Sep 2007
Posts: 360
Thanks: 24
Haris is on a distinguished road
Default

Wohoo, 3 more days.

I'll be sure to try it out.
__________________
Necessity is the mother of invention.

My blog
Haris is offline  
Reply With Quote
Old 12-10-2007, 08:04 AM   #3 (permalink)
The Contributor
Good Samaritan 
 
d4v1d's Avatar
 
Join Date: Dec 2007
Location: Durban, South Africa
Posts: 51
Thanks: 1
d4v1d is on a distinguished road
Default

I'm using RC7 at the mo... It's about time they announced the official release. Must say, since I updated to PHPBB3, I haven't had a single problem, one of which was spam - used to hit hard on PHPBB2...
d4v1d is offline  
Reply With Quote
Old 12-10-2007, 08:26 AM   #4 (permalink)
Jay
The Contributor
Good Samaritan 
 
Join Date: Dec 2007
Posts: 60
Thanks: 5
Jay is on a distinguished road
Default

Thanks for the info! I've been waiting for the release
Jay is offline  
Reply With Quote
Old 12-12-2007, 07:14 AM   #5 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

If you don't know what features phpBB3 has over phpBB2 then here is a page comparing the two: http://www.phpbb.com/about/features/
__________________
Eric
wGEric is offline  
Reply With Quote
Old 12-12-2007, 07:32 AM   #6 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Finally! I think I'll give it a try...I tell you, version 2 did not satisfy me at all (IPB 1.3 - 2001 was waaaay better at both performance/usability/coding style than even phpBB2 last version from 2006).

Perhaps this version will bring some joy into the programmers eyes (though I'd rather buy IPB if it were for myself...I just love that piece of software). Too bad they're still using that crappy combination of object oriented with procedural style programming...but *hopefully* now will be easier to delve into.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 12-12-2007, 08:24 AM   #7 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Is it just me, or is their site down? :S

I can't seem to get on it :(

For a free software, phpBB is definitly taken the lead!
I might go with phpBB for a started ;)
Tanax is offline  
Reply With Quote
Old 12-12-2007, 08:30 PM   #8 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

i tried the beta ages ago, all i can say about it was that it was still PHPBB (in my opinion a complete mess, but thats probably because its not written in my coding style)
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 12-12-2007, 08:38 PM   #9 (permalink)
The Contributor
RegEx Guru 
 
Join Date: Dec 2007
Location: Belgium
Posts: 60
Thanks: 6
Geert is on a distinguished road
Default

Quote:
Originally Posted by sketchMedia View Post
i tried the beta ages ago, all i can say about it was that it was still PHPBB (in my opinion a complete mess, but thats probably because its not written in my coding style)
I haven't really had a look under the hood. However, I can imagine what it may look like since the amount of features and 'stuff' is incredible. Haven't even really got my head completely around permissions on the front-end, let alone the code.

It's a very powerful board of course, but maybe it wants to do too much for most users. Anyway, what am I rumbling about. Respect to the phpBB developers for creating great PHP software.
__________________
Kohana - PHP5 framework
Geert is offline  
Reply With Quote
Old 12-12-2007, 08:52 PM   #10 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

PHPBB's coding is crap. Unless they went grounds up redoing it, things wont be better.
__________________

Village Idiot is offline  
Reply With Quote
Old 12-13-2007, 03:50 AM   #11 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
PHPBB's coding is crap. Unless they went grounds up redoing it, things wont be better.
phpBB3 is a rewrite of phpBB2. None of the code is the same.
__________________
Eric
wGEric is offline  
Reply With Quote
Old 12-13-2007, 03:53 AM   #12 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Oh, didn't know that.
__________________

Village Idiot is offline  
Reply With Quote
Old 12-13-2007, 08:59 AM   #13 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Quote:
Originally Posted by wGEric View Post
phpBB3 is a rewrite of phpBB2. None of the code is the same.
..but still, has the same crappy coding style (functions over classes, then some 'random code', then some more functions, and then a class or two), followed by some more spaghetti code. Check this out: (extras from /search.php):

Code:
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('search');

// Define initial vars
$mode            = request_var('mode', '');
$search_id        = request_var('search_id', '');
$start            = max(request_var('start', 0), 0);
$post_id        = request_var('p', 0);
$topic_id        = request_var('t', 0);
$view            = request_var('view', '');

[...]

gen_sort_selects($limit_days, $sort_by_text, $sort_days, $sort_key, $sort_dir, $s_limit_days, $s_sort_key, $s_sort_dir, $u_sort_param);

if ($keywords || $author || $author_id || $search_id || $submit)
{
    // clear arrays
    $id_ary = array();

    // egosearch is an author search
    if ($search_id == 'egosearch')
    {
        $author_id = $user->data['user_id'];
        
        if ($user->data['user_id'] == ANONYMOUS)
        {
            login_box('', $user->lang['LOGIN_EXPLAIN_EGOSEARCH']);
        }
    } // and the crap goes on...
For the sake of the other programmers, choose a GOOD style and stick to it.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 12-13-2007, 09:35 AM   #14 (permalink)
The Frequenter
 
ReSpawN's Avatar
 
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
ReSpawN is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
Oh, didn't know that.
I smell a burn hehe. No just kiddin. Anyways, very nice spot man! Thanks.
__________________
"Life is a bitch, take that bitch on a ride"
Send a message via MSN to ReSpawN
ReSpawN is offline  
Reply With Quote
Old 12-13-2007, 03:32 PM   #15 (permalink)
The Frequenter
 
ReSpawN's Avatar
 
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
ReSpawN is on a distinguished road
Default

They've implemented a nice countdown Can't wait till I can try it out!
__________________
"Life is a bitch, take that bitch on a ride"
Send a message via MSN to ReSpawN
ReSpawN is offline  
Reply With Quote
Old 12-13-2007, 06:17 PM   #16 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

Quote:
Originally Posted by xenon View Post
For the sake of the other programmers, choose a GOOD style and stick to it.
They did. It's their own style.

Also there have been many arguments over whether OOP and procedural is better. IMO both have their uses and both should be used in a program. It's their style not yours so you don't need to flame them for it.

I really don't see what is so "crappy" about the code you posted.




Anyways, gold has been released :)
__________________
Eric
wGEric is offline  
Reply With Quote
Old 12-13-2007, 10:35 PM   #17 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

I mentioned, and highlighted good in "good style". What's wrong with that code? Hmm let's see...

Code:
gen_sort_selects($limit_days, $sort_by_text, $sort_days, $sort_key, $sort_dir, $s_limit_days, $s_sort_key, $s_sort_dir, $u_sort_param);
Skipping that function which takes an enormously large number of parameters (instead of using some setters in a class for example), we reach this nifty init:

Code:
// clear arrays
$id_ary = array();
The comment is so useful here, that it might aswell be omitted. $id_ary is never used up to that point, so there's nothing to clear but the mind of the developer who wrote that. You might want to search other files, perhaps it's defined somewhere else, but it's not.

Up to this point, you might have reached about 20 trigger_error statements and 50+ nested if's (just in the /search.php file). I'd say that's a real improvement to the code (not).

Something really captured my attention. This:

Code:
// We do some additional checks in the module to ensure it can actually be utilised
    $error = false;
    $search = new $search_type($error);

    if ($error)
    {
        trigger_error($error);
    }

    // let the search module split up the keywords
[...]
I'll let you decide what's wrong with phpBB's source code (except the fact that modifying it is a free ride in hell).
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 12-13-2007, 11:34 PM   #18 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

Quote:
Originally Posted by xenon View Post
I mentioned, and highlighted good in "good style". What's wrong with that code? Hmm let's see...

Code:
gen_sort_selects($limit_days, $sort_by_text, $sort_days, $sort_key, $sort_dir, $s_limit_days, $s_sort_key, $s_sort_dir, $u_sort_param);
Skipping that function which takes an enormously large number of parameters (instead of using some setters in a class for example), we reach this nifty init:
You're still going to have a large list of parameters unless you make global variables or some other method. Each of those parameters can be changed while searching so you can't hard code them. Minimum requirement is PHP 4.3.3 so they can't use special PHP 5 functions.

Quote:
Code:
// clear arrays
$id_ary = array();
The comment is so useful here, that it might aswell be omitted. $id_ary is never used up to that point, so there's nothing to clear but the mind of the developer who wrote that. You might want to search other files, perhaps it's defined somewhere else, but it's not.

Up to this point, you might have reached about 20 trigger_error statements and 50+ nested if's (just in the /search.php file). I'd say that's a real improvement to the code (not).
register_globals? Always set your variables before using them so that nothing unexpected can get injected. Especially into your arrays. So if someone attempted to inject something within the array it would get cleared.

Quote:
Something really captured my attention. This:

Code:
// We do some additional checks in the module to ensure it can actually be utilised
    $error = false;
    $search = new $search_type($error);

    if ($error)
    {
        trigger_error($error);
    }

    // let the search module split up the keywords
[...]
I'll let you decide what's wrong with phpBB's source code (except the fact that modifying it is a free ride in hell).
Let me highlight this line for you:
Code:
    $search = new $search_type($error);
$error is used when creating the object for the search. It is being passed by reference so this works perfectly fine. Yes it is confusing to look at at first but there's nothing wrong with it.


I think you should understand what the code is doing before you comment on it.
__________________
Eric
wGEric is offline  
Reply With Quote
Old 12-22-2007, 06:06 PM   #19 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

It just released just a few days ago but umm Olympus is the Edition of the Name! Or version 3.0.0 as to be called :D
Orc is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:39 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design