[Bb-trac] [bbPress] #798: Core plugin/theme identifiers in the DB
bbPress
bb-trac at lists.bbpress.org
Sun Mar 2 08:26:05 GMT 2008
#798: Core plugin/theme identifiers in the DB
----------------------------+-----------------------------------------------
Reporter: mdawaffe | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 0.8.4
Component: Administration | Version: 1.0-alpha (trunk)
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
We have two places to store templates (my-templates and bb-templates) and
two places to store plugins (my-plugins and bb-plugins).
When we store the active theme in the db, we store it's absolute path so
that we know which of those two places to look in.
When we store active plugins in the db, we store relative paths and so
have to have an order of precedence.
Storing absolute paths in the database is asking for trouble. I think
it'd be a lot less confusing if we stored active themes as my-
templates/theme or bb-templates/kakume and active plugins as my-
plugins/mine.php and bb-plugins/akismet.php.
We could translate on the fly taking into account BBTHEMEDIR and
BBPLUGINDIR.
--
Ticket URL: <http://trac.bbpress.org/ticket/798>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list