Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 29, 2012
  1. @mysnip
Commits on Jul 8, 2011
  1. @mysnip
Commits on Jan 24, 2011
  1. Implemented an OO database layer for Phorum. This layer will make it …

    mmakaay committed
    easier to port Phorum to other database systems, because methods can
    be specifically overridden when needed.
    To accommodate for code that uses the phorum_db_* calls, a backward
    compatibility layer was created, which relays phorum_db_* calls
    to the OO layer.
    Note: the postgresql layer has not yet been updated, but all MySQL layers
    are finished.
Commits on Jan 20, 2011
  1. Added moderation actions PHORUM_MAKE_STICKY and PHORUM_MAKE_UNSTICKY,…

    mmakaay committed
    … which
    can be used to create a one click sticky toggling link in the template
    (just like we already have move, merge, delete and close.)
    Also some (ongoing) improvements in the way the moderation flow works.
Commits on Jan 19, 2011
  1. # Committing changes for backing up my work on the moderation interfa…

    mmakaay committed
    # This commit contains various changes, e.g. for setting up correct headings
    # and breadcrumbs during moderation and new features for the move action
    # (an option to hide a move notification automatically after some time)
    # There's still some work and testing to be done on this.
Commits on Jan 9, 2011
  1. Happy new year!

    mmakaay committed
Commits on Oct 22, 2010
  1. # Updated copyright notices to 2010.

    mmakaay committed
Commits on Oct 15, 2010
  1. # Moved read_user_info hook calls to the user API.

    mmakaay committed
    # Further work on the recent messages ajax call.
Commits on May 12, 2010
  1. Added new paging template variables {PREVPAGE} and {NEXTPAGE} that go…

    mmakaay committed
    … with the
    URL variables {URL->PREVPAGE} and {URL->NEXTPAGE}.
Commits on May 8, 2010
  1. # Got rid of the paging information in the breadcrumbs. I added it at…

    mmakaay committed
    … some
    # point, but now I'm using breadcrumbs more actively, they turned out dumb.
Commits on Apr 21, 2010
  1. Some changes to improve the breadcrumbs. The code now tries to keep t…

    mmakaay committed
    …rack of
    the referring thread and message (if available). This means that when
    a PM link in a message is clicked, the breadcrumbs will keep showing the full
    path to the message. The PM breadcrumb will be added after that. Before
    this change, the breadcrumb for the message would get lost and only the
    forum breadcrumb was be shown.
Commits on Mar 17, 2010
Commits on Feb 22, 2010
  1. MFB: avoid trying to retrieve users with user_id 0 in read.php with s…

    ts77 committed
    …ome conditionals, saving on db calls, fixing #929, thanks to Markus Fischer
Commits on Feb 12, 2010
  1. MFB: # avoiding a warning with invalid arguments (fixing #918, thanks…

    ts77 committed
    … to Markus Fischer)
Commits on Feb 10, 2010
  1. # newflag fix

    ts77 committed
Commits on Jun 28, 2009
  1. # make use of the new caching api, remove old caching layers, add fun…

    ts77 committed
    …ctions to deprecated functions
Commits on Jun 14, 2009
Commits on Jun 12, 2009
  1. # Some (minimal, but we like every percent of function speed increase…

    mmakaay committed
    …) speed
    # optimizations for the phorum_api_get_url() call.
Commits on Jun 11, 2009
  1. # Massive refactoring for going back to pure function calls for the core

    mmakaay committed
    # Phorum code, in favor of using the OO approach with Phorum::API().
    # Although this was not the big reason for some speed differences between
    # 5.2 and trunk, it surely had some impact.
    # This commit also contains the change that had most impact on the
    # speed: the phorum_api_forums_get() call now does not filter the
    # fields from the forums table to have only the interesting fields for
    # the type of entity (forum or folder), but all fields are returned by
    # the "get" call.
Commits on Jun 7, 2009
  1. # Fixing message caching in read page. The cache id was being used as…

    brian committed
    … the message id
Commits on Jun 3, 2009
Commits on May 26, 2009
Commits on May 22, 2009
Commits on May 20, 2009
  1. # Fixed "mark read on read" behavior for the threaded read view.

    mmakaay committed
    # Only the visible message should be marked read.
Commits on May 19, 2009
  1. # Moved message formatting to the Formatting API:

    mmakaay committed
    # phorum_api_format_messages()
  2. # Moved the newflags handling code for forums from the Forums API to the

    mmakaay committed
    # Newflags API ($phorum->newflags->apply_to_forums()).
    # For naming consistency, I renamed $phorum->newflags->format_messages to
    # $phorum->newflags->apply_to_messages().
Commits on May 12, 2009
  1. Moved timing / memory consumption functions from include/timing.php i…

    mmakaay committed
    …nto a
    new profiler API.
Commits on May 11, 2009
  1. Moved phorum_filesize() into the Formatting API: phorum_api_format_fi…

    mmakaay committed
    (a.k.a $phorum->format->filesize()).
  2. Added the Format API, which (for now) can be used to format dates, e.g.

    mmakaay committed
    $formatted = $phorum->format->date('%B %d, %Y', time());
    $formatted = $phorum->format->relative_date($some_ts);
  3. Moved calling of hooks from phorum_hook() to phorum_api_modules_hook()

    mmakaay committed
    (a.k.a. $phorum->modules->hook()).
  4. Implemented the API call phorum_api_redirect() (a.k.a. $phorum->redir…

    mmakaay committed
    This call can be used to redirect the browser to a different URL. Either
    an URL can be used as the call parameter, or the standard parameters that can
    be used for the phorum_api_url_get() call. Examples:
    $phorum->redirect(PHORUM_INDEX_URL, 1234);
  5. # Make use of short form for $phorum->apilayer->get() => $phorum->api…

    mmakaay committed
    # to write $phorum->url->get() as $phorum->url().
Commits on Apr 14, 2009
  1. Modified common.php and the API layer files to make use of absolute p…

    mmakaay committed
    for including other files from the Phorum package. This should make it
    possible to include common.php and API files without having to first chdir()
    to the Phorum directory.
    To refer to the Phorum directory, common.php and API files that do require
    other Phorum files define the constant PHORUM_PATH.
    A few module files were updated to make use of this constant, but not all
    of them (yet). When we'd like to call Phorum formatting code from outside
    Phorum, without doing a chdir() first, we might have to make sure that
    all PHP include calls - including those in modules - are prefixed with the
    absolute path from PHORUM_PATH.
    Additionally, I did a run over a lot of files to replace calls like
    'include("xyz")' and 'require_once("xyz")' with respectively
    'include "xyz"' and 'require_once "xyz"' (which is the preferred way of
    writing these PHP instructions).
Something went wrong with that request. Please try again.