MetaPhilter 1.42
October 16th, 2003
Security patch.
httpRequestclass handels chunked data better.
MetaPhilter 1.41
May 23rd, 2003
Problems with XML-RPC pinging of update notifications have been fixed.
MetaPhilter 1.4
May 23rd, 2003
A new API has been added to the system core: XML-RPC. This release also implements support for Blogger API, metaWeblog API, and Movable Type API (and its extensions of the metaWeblog API).
A new index template for an RSD file has been added to the default installation.
Added
MPXmlRpcLinktag to create a URL pointing to the default XML-RPC entry point.The common index template 'index.tmpl' has been updated to include an "EditURI"
linkelement that points to your Philter's XML-RPC entry point.New option in configurator: Allow/disallow XML-RPC API (Miscellaneous Settings).
New user privilege: Remote uploading using metaWeblog API.
The "TackBack URL domain" setting has been nixed and the "MetaPhilter path" setting has a new, more general purpose. Upgraders note: make sure you change its value in the configurator after upgrading. (Instructions provided in Site Settings page of each Philter)
The HTTP Request Object is now documented.
MetaPhilter 1.3
May 16th, 2003
New option in configurator: Adjust TrackBack URL domain.
TrackBack ping URL auto-detection dump now displays the correct URLs for posts.
A basic class has been added to send HTTP requests (
httpRequest). Documentation on its usage may follow.The templating system can now parse attribute values that are not encased in quotes (HTML style). This will not be noted in the documentation because it's slower to parse and its use is discouraged.
MetaPhilter 1.25
May 13th, 2003
The
MPLinkTitletag now replace special HTML characters with their appropriate entities. This should stop broken attributes in RDF TrackBack auto-detection dumps.Safer HTML parsing of user submitted.
New option in configurator: Turn on/off auto-emailing of new users to your site. (User Settings page)
MetaPhilter 1.2
May 12th, 2003
The
MPCommentCounttag can now detect if its container has specified asinceattribute and return a "recent comment count".Modified the "Recently added" sidebar in the common index template 'index.tmpl' to save screen space. Instead of listing the authors of each new comment, it now display the title of each updated thread with a "(X new)" comment count next to it.
The default anonymous user name has been changed to simply "Anonymous".
MetaPhilter 1.12
May 8th, 2003
Problems with usernames containing spaces is fixed.
MetaPhilter 1.11
May 7th, 2003
The
truncattribute has been added toMPLinksandMPLinkCommentsfor limiting the number of iterations for each container, while still loading all the actual data.The
MPCommentCounttag now returns the correct number when used outside the context ofMPLinks.The index template 'index.php' has been updated to use the
truncattribute to display the number of recently posted comments next to each link footer.Comments are now sorted properly.
MetaPhilter 1.1
May 1st, 2003
There were a mess of problems in the TrackBack script that probably caused it to stop working around MePhi .4. Fixed.
TrackBack and XML-RPC pinging can now decode responses sent in "chunked" HTTP 1.1 format.
New attribute,
url_encode, available for theMPUserDataandMPCategory
MetaPhilter 1.05
April 26th, 2003
The IP addresses of link and comment posters is now logged. When a link or comment is posted, the user's IP address is written to 'ip_log.php' in the MetaPhilter system directory. The IP log file limits itself to the fifty most recent posts.
You can now ban IP addresses from using your Philter. Add banned IP addresses to the text field located in the configurator script, Miscellaneous Settings.
MetaPhilter 1.0
April 24th, 2003
The common form template 'form_admin_profile.tmpl' had some poor templating that caused users to be "degrouped" when editing their profiles. Fixed. Please replace your former templates with the new one if upgrading.
The Super Admin can now change a user's password through the profile edit form.
Added
MPContentTypefor sending a 'Content-Type' field in the header block on your returned pages. A setting for the default content type is available in the configurator, Miscellaneous Settings.The included index templates are now XHTML 1.1.
Empty query strings return no results when searching Philter content.
The
MPXmlDeclarationno longer sends its own 'text/xml' content-type header to the client.
MetaPhilter .95
April 21st, 2003
New constant added for a Philter's locale setting. (Can be adjusted in the configurator, "Miscellaneous Settings")
Date formatting is now done via strftime to allow for different date/time languages.
Configuration date defaults changed to strftime tokens.
All default templates using the
formatattribute to format a date have been updated to use strftime tokens.
MetaPhilter .9
April 20th, 2003
The included RSS index is now in RSS 2.0
Unicode characters no longer mangled into garbage HTML entities when previewed or edited.
If the following tags are used outside the context of
MPUser,MPLinks, orMPLinkComments, they apply to properties of the currently logged in user:Using these tags without nesting them in user, link, or comment, containers saves processing time when only information of the logged in user is needed.
The
MPUsertag from the "Recent content" sidebar in the common template 'index.tmpl' has been removed to comply with the new "smart tag" design of user data tags.Introduces "Context Notation" format for writing tags that can apply their functioning context outside their written context.
MetaPhilter .8
April 15th, 2003
Broke the documentation into separate HTML files.
MPUserLinkCount,MPUserCommentCount,MPLinkCommentCounthave been deprecated;MPLinkCountandMPCommentCounthave been added, and are now multi-purpose depending on their context.Added an explanation of the cookie settings of the configurator.
Added a "Revert all settings" option to the configurator to reset your configuration to its last build.
Added
strip_tagsattribute toMPLinkData,MPLinkCommentData, andMPUserDatafor stripping any and all HTML tags from user submitted data.Many attempts made to make the system fully compatible with PHP 4.1. No promises, though.
MPPreviousandMPNextweren't testing if sibling links existed in their parent lists. Fixed.The
userattribute ofMPLinksandMPLinkCommentscan now accept usernames as well as user ID's. In addition, you can select multiple users using 'OR' conditional syntax.MPLinksandMPLinkCommentsare now "smart tags" that determine what content is returned by their tag context. (Currently,MPUseris the only supported special-case tag)
MetaPhilter .77
April 15th, 2003
Tag object's
ancestor()method no longer usesarray_change_key_case(). This should push requirements back to PHP 4.1 (though 4.3.0 is still preferred).
MetaPhilter .76
April 14th, 2003
The
<MPFormData select="content"/>tag in 'form_comment.tmpl" has been changed to<MPFormData select="content" literal="yes"/>to prevent lost entities when previewing comments.Some poorly formed XHTML in the configurator has been fixed. (Thanks, dano)
MetaPhilter .75
April 14th, 2003
Safer user permission handling with multiple Philters.
Better cross-Philter category control.
Added
philterattribute toMPUserGroupsfor listing user groups in different Philters.Added
philterattribute toMPLinkCategoriesfor listing link categories of different Philters.If
MPGroupis used outside the context ofMPUserGroups, it returns the name of the default user group.If
MPUserGroupsis used within the context ofMPUser, it lists user groups in the Philter of the current user.If
MPLinkCategoriesis used within the context ofMPLinks, it lists link categories in the Philter of the current link.Added
userattribute toMPLinkCommentsfor listing comments posted by a specific user.Added
linkattribute toMPLinkCommentsfor listing comments posted in a specified thread. (Bypasses nesting inMPLinks)Filtering attributes of
MPLinkCommentsare now supported when used in the context ofMPLinks.
MetaPhilter .7
April 12th, 2003
Inportant: The
MPRedirecttag has been rewritten to require an absolute URL from your server path. AnyMPRedirecttags should include theMPSitePathtag if the forwarding document is not located in the base server URL. (e.g.<MPRedirect>index.php</MPRedirect>becomes<MPRedirect><MPSitePath/>/index.php</MPRedirect>)User permission handling reworked. Permissions are now in shared user groups rather than given individually.
User permissions have been renamed, several have been added, one has been removed. Consult the
MPIfUserPermissiondocumentation for information.The 'permissions' columns of the 'users' table in the Philter database has been renamed to 'group' and is now an integer value.
The Super Admin's submitted data is no longer filtered for legal HTML tags. A permission has also been added to prevent HTML filtering of other user groups.
Added
MPUserGroupfor returning the name of a user's permission group.Added
MPIfUserGroupfor including content if a user belongs to a certain permission group.Added
MPUserGroups, a container tag for listing the user permission groups in a Philter.Added
MPGroupfor returning the name of a group within anMPUserGroupscontainer.Added
MPGroupIDfor returning the numeric ID of a user permission group within anMPUserGroupscontainer.All user data related tags' context models have been expanded to include
MPLink,MPLinkComments,MPLinkPreview, andMPLinkCommentPreview.Added
MPUserPathfor generating a URL of a user's profile.Default templates 'link.php' and 'profile.php' have been updated to include the new
MPIfUserPermissionpermission values 'change_group', 'edit_users', and 'edit_content' when including theMPEditButtontag.Default common template 'form_link.tmpl' has been updated to include the new
MPIfUserPermissionpermission value 'post_category' when including the category pull down menu.Default common template 'form_admin_profile.tmpl' has been updated to include a pull down menu of user permission groups. This menu only appears when viewed by a user in a permission group with the "change_group" permission granted.
Added
userattribute to theMPUsertag which accepts either the numeric ID of a user, or a username. Theidattribute is still acceptable.
MetaPhilter .6
April 10th, 2003
New database structure introduced to allow user preferences and track user site usage.
Added
MPUserPreferencetag to return a preference of a user.Added
MPUserLastVisittag to return the time of the users last visit to a Philter.Added
sinceandbeforeattributes toMPLinksandMPLinkCommentsto fetch content that has been added after or before a specified time.A sidebar has been added to the default common template 'index.tmpl' which lists recently posted links and comments since a user's last visit.
The sidebar in the default template 'index.php' has changed its id attribute to a class of value "sidebar". The changes have been reflected in the default stylesheet.
The common form template 'form_profile.tmpl' has been updated to include manipulation of the user's preferences.
Many link-related tags can now be used solely in the context of an
MPLinkCommentstag to return information of the comment's parent link thread. It was previously impossible to fetch link data with link-related tags outside the context ofMPLinks.MPGlue,MPNext,MPIfNext,MPPreviousandMPIfPreviousare now valid in the context ofMPLinkComments.Added
MPLinkHeadertag to include data if a comment in anMPLinkCommentscontainer is posted in a different thread than the preceding comment.Added
MPLinkFootertag to include data if a comment in anMPLinkCommentscontainer is posted in a different thread than the following comment.The Tag object's
ancestor()method can now accept multiple class names as arguments and will find the closest ancestor from the given list.Some HTML clean-ups in the configuration script.
Added a Customization section to the documentation for those new to MePhi.
MetaPhilter .5
April 8th, 2003
Link categories are now organized numerically. Through the configuration script, you can adjust the category names of links that have already been posted.
MPCategorycan now be used outside the context ofMPLinkCategoriesto return the name of the default link category.Added
idattribute toMPCategoryfor specifying a category name by the category's numeric ID.Added
MPCategoryIDtag for returning the ID of categories in anMPLinkCategoriescontainer tag.The
categoryattribute ofMPLinkscan now accept numerical values as well as strings to filter links posted in specific categories.Common templates 'form_link.tmpl' and 'form_admin_link.tmpl' have been updated to utilize
MPCategoryIDso as not to attempt inserting string data into the (now) numeric 'category' column of the database.PHP scripting elements inside templates are now supported. However...
Added
phptag as a work-around for global PHP elements being parsed before templates are parsed.Added a
classattribute of value "MPEditButton" to the <form>, <p> and <input> HTML elements of theMPEditButtontag for altering their appearance using CSS.
MetaPhilter .42
April 6th, 2003
Method for inserting index titles changed. Should prevent user submitted data from printing the title of the current index.
Utilizing
MPRedirect, the successful login, link and comment posting messages redirect the user to the appropriate site index. (Last version only changed the values if you were upgrading)
MetaPhilter .41
April 4th, 2003
Added
MPRedirecttag for redirecting the client browser.Utilizing
MPRedirect, the successful login, link and comment posting messages redirect the user to the appropriate site index. (These can easily be changed to static messages via the configuration script)Added quick "Rebuild Configuration" link to the Philter selection list of the configuration script.
MetaPhilter .4
April 3rd, 2003
Added support for multiple Philters in the same database.
Added support for running the MetaPhilter system scripts from a directory other than 'mp'. A new setting in the configuration has been added to specify the location of your MetaPhilter system path. (This allows for multiple Philters to run the same set of MePhi system scripts)
Added keys in the Philter database structure to speed up requests.
Reorganized the release package archive. The MetaPhilter scripts are no longer in a subdirectory of the default indexes.
Added
MPIfUserPhiltertag for including content if a user's profile exists in a specified Philter.Added
philterattribute toMPUser,MPLinks,MPLinkComments,MPUserLinkCount, andMPUserCommentCountfor selecting information from different Philter tables.Added
MPLinkPreviewtag to emulate a link from submitted data.Added
MPLinkCommentPreviewtag to emulate a comment from submitted data.Added two new default common templates: 'link_preview.tmpl' and 'comment_preview.tmpl'.
Added selection logic for
MPLinks'scategoryattribute. (e.g. category="Turkies AND Widgets")Added
lastn,sort_order, andoffsetattributes toMPUserfor date-based selection of users in the database.A Philter's ID is now required in TrackBack ping URLs.
MPTracbackLinkas been adjusted accordingly.Quotes in strings sent via a TrackBack ping were preceded by backslashes. Fixed.
Added constants for the messages received on successfull and unsuccessfull user logins/logouts.
MPFormDatanow supported in the context of anMPFormResultstag.MPLinkNextandMPLinkPreviousrenamed toMPNextandMPPreviousand are now supported in the context of anMPUsertag.MPGluenow supported in the context of anMPUsertag.Added 'Multiple Philters' section to documentation.
MetaPhilter .36
March 30th, 2003
Adjusted template parsing to improve speed.
MetaPhilter .35
March 30th, 2003
All "call by reference" function calls eliminated. Tag methods now have references in their declaration.
"Magic quotes" used very sparingly to improve speed.
MetaPhilter .3
March 28th, 2003
Includes a template for RSS index generation of front page links.
Added
MPXmlDeclarationfor sending a 'text/xml' content-type header and including a "<?xml ?>" declaration.Added a constant for a Philter description.
Added
MPSiteDescriptiontag.Timezone designator used to be inserted at any occurrence a 'T' character in date formatting strings, regardless of them being escaped with a backslash. Fixed.
Added
MPTimezonetag for returning your Philter's timezone designator.Added
MPTimezoneOffsettag for returning your Philter's timezone offset (in hours).Main MetaPhilter script used to buffer the contents of index templates when exiting. A call to
exit()is now used instead.Added a constant used for generating the default title of posted links.
Added a constant for the success message received when posting links.
Added a constant for the success message received when posting comments.
Added
days,months, andskipattributes to theMPLinkstag.Added a constant for a default
daysattribute value ofMPLinkstag.Extra links sometimes slipped into the list when listing by a number of days. Fixed for good.
Deprecated the constant for a default
lastnof theMPLinkstag.Deprecated
MPArchivein favor of usingMPLinksin conjunction with thedaysormonthsand thelastnattribute. (See documentation onMPLinks)
MetaPhilter .2
March 26th, 2003
Support for sending and receiving Movable Type TrackBack pings.
Added a
textareafield with name 'ping' to the default common template 'form_link.tmpl'.This field should contain TrackBack URLs to ping when posting new links.
Support for sending XML-RPC update pings.
Added "Path to individual link threads" in "Link Settings" of configuration for use in directing sent TrackBack pings to your links.
Added
MPTrackbackDatatag for support with TrackBack ping URL auto-detection.Added
MPTrackbackCounttag for returning the number of pings sent to a posted link.Added
MPTrackbackLinktag for generating the TrackBack ping URL of a posted link.Added
MPIfTrackbackstag for including content if a link has been pinged.Added
MPIfNoTrackbackstag for excluding content if a link has been pinged.Added
MPPingstag for formatting a list of TrackBack pings sent to a link.Added
MPPingDatetag for formatting the date a TrackBack ping was received.Added
MPPingDatatag for returning information of a TrackBack ping sent to a link.Attribute values of template tags can now be encased in double-quotes as well as single-quotes.
Deprecated use of '"'-encasing for emulating an attribute value of a template tag that is nested in another attribute.You should now use single-quotes for nesting attribute values encased in double-quotes, and vice-versa. (e.g.,
<MPLinks terms="<MPIndexQuery select="terms"/>"/>becomes<MPLinks terms="<MPIndexQuery select='terms'/>"/>)Supports newline characters in all values when using the configuration script.
Included 'pings.php' as an example index template for listing TrackBack pings sent to a link.
Removed the constant for default links offset. (default is now 0)
Removed the constant for default link thread search results. (default is to return all)
Removed the constant for default comments search results. (default is to return all)
Removed the constant for default users search results. (default is to return all)
Added
MPIfLinkTitletag for including content if a link has a title.Added
MPIfNoLinkTitletag for excluding content if a link has a title.Added
MPIfNoLinkURLtag for excluding content if a link has a URL.Added
MPIndexQuerytag for returning variables in the query string sent to an index.Renamed search result templates from 'type_search_format.tmpl' to 'type_search_results.tmpl'.
Search results are no longer pasted into the search result templates.
Instead, a container tag for the type of search is placed in the search result template and given a
termsattribute with a value of "<MPIndexQuery select="terms"/>".Content searches pass the search criteria for the search via the GET HTTP request method. (was POST)
Added
MPIfNonetag for excluding content if aMPUser,MPLinks, orMPLinkCommentstag has any items.Added
MPIfAnytag for including content if aMPUser,MPLinks, orMPLinkCommentstag has any items.Added
literalattribute toMPUserData,MPLinkData,MPLinkCommentData, andMPFormData.When the value is "yes" the HTML entities in the returned user submitted data will have the leading '&' replaced with '&' (e.g. '<' becomes '&lt;'). This method makes it possible to edit the original data submitted when editing HTML in
textareaelements.Added
always_parseattribute toMPUser,MPLinks, andMPLinkComments. When the value is "yes" the tag will always parse even if it contains no items.This should be used in conjunction with
MPIfNoneandMPIfAnyto prevent regular character data from being displayed.MPGluetag can be used inMPPings.MPLinksdate filtering now compliant with the database's GMT timestamp.Existing HTML entities are prevented from being parsed through the
FilterHtmlfunction.Renamed default index for displaying link threads from 'comments.php' to 'link.php'.
Renamed default index for listing links by month from 'archived.php' to 'monthly.php'.
Added 'TrackBack' and 'Upgrade' sections to the documentation.
Fixed a bug in the configuration script that made it an impossibility to change a few variables.
MetaPhilter .1
March 22nd, 2003
Initial Release.