phpBB 2.2 - PROGRESS REPORT - 16 April 2003

The 2.0.x discussion forum has been locked; this will remain read-only. The 3.0.x discussion forum has been renamed phpBB Discussion.
User avatar
Former Team Member
Posts: 7425
Joined: Tue Jul 03, 2001 8:50 pm

phpBB 2.2 - PROGRESS REPORT - 16 April 2003

Post by psoTFX » Sun Mar 30, 2003 1:38 am

Updated : 16 April 2003 ... scroll down for details of updates

It's been a while since the last update and given "other" boards are heading towards new versions (with many of 2.2's features "suddenly" added it seems :D) I guess it's time for a progress update ... this is long so please bear with me ... if you can try and read it through completely before commenting or asking questions :D

Where are we at?

We are currently heading towards M-2

What is done or being done?

Lots of core changes. Some major improvements or updates include:
  • Permissions

    A new finer grained system based on ALLOW, DENY and INHERIT defined on a forum, moderator, super moderator, administrator, user and usergroup basis. It may sound complicated but hopefully won't be! An example ...

    In phpBB 2.0.x you could not prevent access by a user to a specific forum without making that forum private and then assigning all users and/or groups allowed access. In phpBB 2.2 you can simply DENY that one user access to the forum, case solved. Alternatively you could create a usergroup containing those users you don't want to have access and set that group to DENY (for whatever options you wish, e.g. List, Read, Post, etc.)

    The INHERIT setting allows you to ignore options for users/usergroups if you wish, the permission is then taken from settings applied to other groups/users (if applicable). An example, you set the usergroup REGISTERED USERS (one of several new default groups, in this case containing all active registered users) to INHERIT their ability to post HTML in a forum. By default all users will now be DENIED (DENY is the default for all permissions ... helping to prevent accidents!) the ability to post HTML. However, you could then set individual users or other usergroups to ALLOW for this option. The ALLOW value would be INHERIT'ed and these users could post HTML.

    To speed setting options we have introduced the ability to cascade settings for a forum to all its children. So, taking this board as an example we could alter the permissions of the phpBB2 "category" and have all the forums within it inherit those same settings. Additionally we have introduced "presets". These allow you to store common settings and recall them whenever you need. So if you have several different subforums spread amongst different parents but which require the same permissions ... you could set the options once, save them as a preset and then just recall them for the other forums.

    Yet another system for speeding up the sometimes lengthy act of setting permissions are "dependencies". These will allow you to link the setting of admin or moderator options to forum options. For example, you grant a user the ability to Moderate (Edit) posts in a forum. You could define a dependency linking the ALLOW of "Moderate : Edit posts" to any forum option. This way you need not worry about having to set forum and moderator settings ... you'll just need to set moderator permissions and the forum permissions will be taken care of automatically.

    The introduction of administrator permissions now gives you the ability to allow users or groups control of specific administrator functions. For example, you may want a group to be able to define bans but nothing else ... no problem, easy as pie :D The same applies to moderator functions. The return of "proper" Super Moderators now allows you to give users or usergroups the ability to moderate all forums. There is no need to change or add anything when you create a new forum ... Super Moderators will be able to moderate this too.

    A number of "hard-coded" or user specific "permissions" have now been moved into the permission system itself. These include such things as being able to read or send private messages, change their password, email address, avatar or username, etc. Another setting will decide if users can change their default usergroup (see later). These settings can be applied individually to users or to usergroups as a whole.
  • Sessions

    You can now define load (if applicable to your OS) limits and per minute session limits. These should help reduce issues where otherwise quiet or middling boards suddenly get deluged ... causing hosting providers to get upset :D

    To better cope with the "IP validation" issues the ability for the admin to define the minimal level of such validation is included. You can now decide yourself if you require your users IP's to match from one page submit to the next and by "how much", e.g. match fully, match only the first three octects, first two or none at all. The system copes with IPv6 transparently. To help compensate (slightly ...) for the loss of full IP validation, or indeed to further strengthen such matching we have introduced the option of validating browsers.

    A "Garbage Collection" model has been introduced. This does away with the constant updating of user information and destroying of sessions. Instead these tasks are carried out infrequently. Hopefully this will reduce the load on busier boards ... distributing the task between a few users after a definable time period. This has yet to be tested under load and may be reverted to the traditional (phpBB2) method if found to be unworkable.
  • Banning

    Banning has been improved with the re-introduction of timed bans. You can now (again ...) set user, email or IP bans which last either a set time period or until a given date. So gone are the problems of forgetting that 72 hour ban of a user :D Additionally you can add a reason for that ban. That reason will be displayed in the list of banned users and in the administration log ... doing away with those problems of "Why did I ban that again?" :D

    To further improve the banning system you now define "excluded" users, IP's or emails. This allows you, for example, to ban all hotmail addresses but exclude certain specific addresses. Another example may be banning an entire subnet of IP addresses but giving one or more addresses access. This should allow for extremely fine control of who can visit your board.
  • Styling

    It's our intention to move as much HTML generation to the templates as practical ... this will make a few people happy :D It will make the templates "look" more complex but the syntax is very simple and we believe will allow far more creativety for style designers.

    These changes are made possible by the introduction of conditional statements, IF ... ELSEIF ... ELSE ... ENDIF and block level ELSE. Gone is the phpBB 2.0.x method of defining row colours within the source code for example. The decision of what colour a row in viewtopic (or any similar page) is now made within the template by a simple IF statement. This should allow, for "clever" designers the ability to define multiple row colours if they desire :D

    The existing limited method for setting colours and classes has been removed in favour of CSS support. We realise that this may go down badly with some users and we welcome feedback on how it could be simplified (please comment based on having actually looked at phpBB 2.2 though ... not just random thoughts :D). The benefits are complete and total freedom of how you define the look of your board ... as opposed to the limited number of ways you could set key elements in 2.2

    Additionally imagesets have been seperated from templates. This will allow you to quickly switch imagesets (buttons, icons, etc.) without having to install a completely new template.

    The whole styling system is still somewhat under development and will evolve further.
  • Subforums

    Unlimited subforums are now present and you can nest these forums as deeply as you like.

    The current system of categories and forums is gone in favour of postable and non-postable forums. Non-postable forums behave like old categories. You can however define a forum as postable and have subforums within that forum itself. See the test board @ for examples of subforum useage.
  • Viewforum and viewtopic

    While the basic approach to these remains the same (no threading, sorry, we don't current have any plans for this at all) a number of improvements have been made.

    The introduction of topic and post icons is complete, they can of course be disabled completely if required (in which case the template can be designed so as to not output the cells that would normally contain such icons).

    A switch is now made available to the template designer to allow them to seperate off annoucements from other posts. This should help improve visibility of announcements, reducing the age old "I didn't see it!" problem :D See which makes use of this.

    Global announcements have been introduced. These, as the name implies show in ALL forums and on every page of viewforum in ALL forums. The intention is to also show these in the User Control Panel ... further reducing the ability of users to say "I didn't see it!" :D

    The ability to "watch forums" has been introduced, it behaves similarly to "watch topic" but obviously on a forum basis :)

    The ability to "report" posts has been introduced. The new Moderator Control Panel (see below) will list such reports allowing moderators to act accordingly.

    Tentative inclusion of improved read and post tracking now exists. At present we are only really making use of "post tracking". A small black dot appears in the small forum icons in viewforum indicating that you have posted to that topic. However the system also includes read tracking ... this will (assuming it is retained fully) see the database used to store information on what topics/forums you have read. Thus ending a session with posts still unread won't result in those posts being shown as "read" on your next visit. Note that this is tentative and may not make it into 2.2, at least fully.

    Printable views of topics has been introduced. Of course a new template is used to display this layout and thus is fully customisable. See for an example (look below the "New Post" button in viewtopic.

    Initial implementation of "Email to friend" is underway. This will allow you to email the topic to a friend, with a message if you desire.

    Topic and post moderation has been introduced ... this will be on a per user/usergroup level as required (i.e. you can either moderate all users in a forum or just one or two).

    For future use (planned for but not yet completed) posts within viewtopic can be skipped with a simple message. This will be used where a posters karma is below the minimum of the browsing user. Other uses will include ignoring posts from posters on the users ignore (black) list. A potential use (not yet set for definite inclusion in 2.2 final) is for skipping posts made in an encoding different from that of the browsing user. For example, a anglo-russian forum where some posters post in iso-8859-1 but other users post in win1252 (or whatever). The iso-8859-1 user would see "rubbish" characters instead of cyrillic for win1252 posts ... however the option can be given to that user to display the post in the correct character set. This mirrors something Google already does ... whether it stays depends on whether it's "required" ;)
  • Moderator Control Panel

    The Moderator Control Panel has been overhauled and "massively" extended.

    These improvements include an advanced topic merge facility ... unlike other boards where you can only merge entire topics, 2.2 allows you to merge selected posts from one topic into another in one step. Of course the existing topic split remains but with enhancements allow for the setting of topic icons, etc.

    The MCP itself is now "tabbed" in the same way as the User Control Panel (see later). It will be a quick one-stop-shop for viewing the list of unapproved (unmoderated) topics, most recent reported posts, the actions of other moderators (via the moderator log), etc. Another new feature (related to moderator action loggin) is topic history viewing ... with this you'll be able to see which moderator did what to a specific topic.

    As noted above, all moderator actions are logged, including the user_id, time and IP ... so no more problems with "bad" moderators :D

    Further additions to the MCP are ongoing
  • Posting

    Posting has been updated and further additions are planned. These include the ability to set topic/post icons (as noted above). A general cleanup of the posting page has been carried out. A lot of code changes have been introduced to reduce the complexity of the code itself and unify the approach to how data is treated and stored. Further work in this area will be carried out.

    The first steps towards the introduction of per post attachements has been completed. As you may know, Acyd Burn joined development of 2.2 and is sharing his experience in this area. So you will see a fully integrated and updated attachment and associated administration system in 2.2 ... which I believe is well in excess of any comparable system on other boards ;)

    Many additional features are on our list, most suggested by you our loyal users ... I won't give them away ... I know "others" are reading this :D
  • Authentication

    A new plug-in based architecture has been introduced. This allows for authenticating users via the built-in database, LDAP, Apache or any other method (only those three are supported at present). You could use this system for example to introduce the recently annouced "global authentication" mechanism for cross-application data sharing. Alternatively a simple SOAP module could be defined for directly sharing data. The potential is quite significant.

    As part of this new centralised functions and methods have been introduced to authenticate users and display the login box.
  • User Control Panel

    The UCP is still somewhat in its infancy but the basics are in place. The new system does away with the old "single page" profile solution and instead introduces multiple pages or tabs. These will cover such things as watched forums/topics, black and white (zebra) lists, private messaging, profile settings (including admin definable profile fields), board preferences, avatar selection, signature setting (and previewing), etc.

    A key new system now in place is visual confirmation of registrations. You may have seen such a system on other applications on the web. The user is required to copy alphanumeric characters displayed in an image before the user will be registered. This helps reduce the possibility of mass registration bots "attacking" your forums. You may like to note that unlike "other" boards the system we've deployed is noticeably superior. Instead of displaying seperate images, each image being a letter in a fixed position ... we generate a single image with letters in variable positions. In addition we randomise the pixels of the image making it difficult to simply grab the image, determine which characters it contains and submit the form. The system does require zlib to be available but this seems quite common for PHP installs (if you don't have zlib available ask your hosting provider to install it NOW!).
  • User searching

    A common problem noted by users with phpBB 2.0.x was the lack of "real" user search capabilities (both in the admin panel and for such things as private messaging). In 2.2 we've addressed this extensively. You can now search for users on multiple criteria including, username, email, registration date (before, on or after), last active time (before, on or after), postin IP, number of posts, etc. etc. Several forms in the ACP now allow you to mark and automatically add several users in one go via this form.
  • Admin Control Panel

    Much has been written about this already so I don't see much reason in reiterating it. The ACP has undergone an overhaul with the addition of numerous new options, the splitting and recategorising of existing options, etc. A fairly full view of the ACP and available modules can be seen in SHS`'s 2.2 gallery (see sticky post in this forum).
Well, this completes the brief overview ... we have lots of things to add including events (hopefully!), overhauled private messaging, additional posting options, updated search system, etc. As noted I don't wish to go into too much detail, it's quite apparent that several things implemented in recent months in 2.2 have shown up in other boards :D Good luck to them we say ... it would be nice though if they recognised where the ideas came from instead of allowing their users to say "Well done! Great idea" ... not that I'm bitter or anything :D

16 April Update

Work continues apace on 2.2 :) Since the above update a number of features have been completed or started. The following is a brief overview of those changes:
  • Attachments

    Initial attachment functionality is now operational in posting, viewforum and viewtopic. The basic capabilities are (as you'd expect!) similar to Acyd Burn's seperate Mod.
  • Posting

    Besides the inclusion of attachments a number of new features have been added to posting. These include such things as "Lock from posting" enabling Moderators and Admins to reply to a topic and simultaneously lock it. Additionally a new feature "Lock post from editing" has been added. This enables Moderators/Admins to prevent users from subsequently 're-editing' a post ... preventing those "I didn't write that!" problems :D
  • MCP - Moderator Control Panel

    M-2 work is effectively complete on the MCP with the incorporation of a large number of new capabilities. You can now approve posts, monitor reported posts, copy topics, alter forum details (if you have permission) and view moderator logs. A neat new feature related to logging enables you to browse the logged history of a specific topic.
  • Permissions

    The introduction of dependencies was abandoned ... no simple way of implementing a suitable GUI could be developed. Instead a perhaps more useful(?) method has been introduced whereby you can quickly set the whole range of permission types for selected users or usergroups from within the Admin, Super Moderator or Moderator permissions forms. No need to switch between forms, just alter the view and set the options and it's all done in one go.
  • Load and CPU saving

    An often requested feature was the ability to shut down various "superfluous" or intensive operations. This has now been implemented and where necessary will be extended in future. You can now shut down search completely, disable the index/forum/topic and posting online user list generation, alter the viewonline time (from the current fixed five minutes), disable fulltext search indexing and more.
Lots of additional work has and continues to be carried out ... we've still got lots up our sleeves ;)
Last edited by psoTFX on Tue May 27, 2003 10:08 pm, edited 2 times in total.

User avatar
Former Team Member
Posts: 7425
Joined: Tue Jul 03, 2001 8:50 pm

Post by psoTFX » Sun Mar 30, 2003 1:57 am

I should add that preliminary support for Firebird (Interbase) has also been added ... I know that's a (quietly) much requested feature.

User avatar
Security Consultant
Posts: 2056
Joined: Sat Oct 13, 2001 8:17 pm
Location: kµlt øƒ Ø™

Post by Pit » Sun Mar 30, 2003 7:53 am

please bare with me

I sense somehow that isn't what you really meant to say ;)
super fun rainbow colour sig

User avatar
Former Team Member
Posts: 3950
Joined: Mon Apr 22, 2002 3:12 pm
Location: Kµlt øƒ Ø

Post by Draegonis » Sun Mar 30, 2003 8:43 am

All is good Paul! I can be proud to say a big well done to you for continuing to do this job, and so magnificantly. (Yeah, yeah, y'all know my spelling sucks). There is only one thing i don't like in 2.2 - that being the dessertion of categories in favour of sub-forums - it adds an extra click for the lazy user (Me? Lazy?.. Hey! Stop looking at me like that!), but it's no big deal. Everything else is spot on and as sweet as it ever could be :D

User avatar
Former Team Member
Posts: 7630
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Name: Lachlan Smith

Post by smithy_dll » Sun Mar 30, 2003 10:43 am

drae, forums can emulate categories so it's like it never changed :D
not even an extra click

User avatar
Former Team Member
Posts: 4032
Joined: Wed Jan 16, 2002 7:05 am
Location: Seattle, WA, US

Post by chAos » Sun Mar 30, 2003 10:56 am

ahh... so much text!! :D

Really sounds like things are going great, and from the copy i have running, i cant wait until it gets into BETA stages. :D

User avatar
Former Team Member
Posts: 3950
Joined: Mon Apr 22, 2002 3:12 pm
Location: Kµlt øƒ Ø

Post by Draegonis » Sun Mar 30, 2003 12:21 pm

Davidls wrote: drae, forums can emulate categories so it's like it never changed :D
not even an extra click
That wasn't what i meant :P I'll talk to you on IRC, so as not to clog up this topic.

Former Team Member
Posts: 3324
Joined: Tue Aug 27, 2002 10:55 am

Post by DanielT » Sun Mar 30, 2003 12:25 pm


roll on Beta ;)

keep the good work up!

thanks dev's

and thanks paul for giving us some info

User avatar
Former Team Member
Posts: 7425
Joined: Tue Jul 03, 2001 8:50 pm

Post by psoTFX » Sun Mar 30, 2003 1:44 pm

Don't forget to spread the word about the impending 2.2 version ... I'm growing concerned that users are leaving phpBB 2.0.x without knowledge of what is well along the pipeline.

And be sure to make people aware of what is (already) in 2.2 ... some boards are being extremely vocal about what features they have (or will have) and many of these are already up and running in 2.2.

Registered User
Posts: 1173
Joined: Mon Aug 26, 2002 8:28 pm
Location: Somewhere over the rainbow

Post by suncream » Sun Mar 30, 2003 1:52 pm

Wow, there is a lot of great new features. Is it possible to enable and disable some of the features, so to allow some choice in the functionality?

The Moderator CP sounds good :D Will it include the option for users to report posts to moderators? This might prove to be very useful (i can also see potential problems though).

Great work so far. Keep it up :)

User avatar
Former Team Member
Posts: 4999
Joined: Wed Jul 04, 2001 8:10 am
Location: Internet
Name: Dominik Dröscher

Post by dhn » Sun Mar 30, 2003 2:13 pm

suncream wrote: Wow, there is a lot of great new features. Is it possible to enable and disable some of the features, so to allow some choice in the functionality?

suncream wrote: Will it include the option for users to report posts to moderators?

Yep, it even says so the above text. ;) And on area51 this is already implented.

Registered User
Posts: 1173
Joined: Mon Aug 26, 2002 8:28 pm
Location: Somewhere over the rainbow

Post by suncream » Sun Mar 30, 2003 2:55 pm

dhn wrote:
suncream wrote:Will it include the option for users to report posts to moderators?

Yep, it even says so the above text. ;) And on area51 this is already implented.

So it does :lol:

Thanks :)

User avatar
Agent John
Registered User
Posts: 66
Joined: Tue Mar 25, 2003 9:59 pm
Location: U.S.A!!

Post by Agent John » Sun Mar 30, 2003 6:19 pm

Can't wait till it comes out!! - Bringing communities together

User avatar
Former Team Member
Posts: 11899
Joined: Sun Jul 14, 2002 7:36 pm
Location: floating in the light, never forgotten

Post by ZoliveR » Sun Mar 30, 2003 7:45 pm

Good news Paul. Thanks much for your work and your efforts. :P
No more Team Chocolate Member. I decided to leave, it's my choice. Thanks to all for all these years.
I'm always near if you need news of me. But no more support is given (private notification disabled)

User avatar
The Pelican
Registered User
Posts: 2176
Joined: Tue Jun 18, 2002 9:50 am
Location: Home is where the heart is (which happens to be in the Netherlands)

Post by The Pelican » Sun Mar 30, 2003 8:31 pm

Good to hear.... well... read this update :).

Good work people :) Keep up the good work.

I won't ask when it's ready, knowing it will be this year ;)
The Pelican :)
Knowledge Base || No PM support and no MSN or E-mail support || Asking Questions The Smart Way (and use the template)


Return to “2.0.x Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests