<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums - Order of installation effects extensions critically]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/20567/"/>
	<updated>2009-04-03T13:21:58Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/20567/order-of-installation-effects-extensions-critically/</id>
		<entry>
			<title type="html"><![CDATA[Re: Order of installation effects extensions critically]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/126379/#p126379"/>
			<content type="html"><![CDATA[<p>I think these extensions should set priorities for hooks. For example, an extension for the [video] tag should have maximum priority and an extension for the [center] tag should have usual priority. This case the [video] tag will be processed first independent of the installation order.</p>]]></content>
			<author>
				<name><![CDATA[Parpalak]]></name>
				<uri>http://punbb.informer.com/forums/user/13581/</uri>
			</author>
			<updated>2009-04-03T13:21:58Z</updated>
			<id>http://punbb.informer.com/forums/post/126379/#p126379</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Order of installation effects extensions critically]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/121077/#p121077"/>
			<content type="html"><![CDATA[<p>While working on adding [center ][/ center] to BBCode, I also had [video ][/ video] extension installed.&nbsp; By this I discovered that installing [center ] after installing [video ] would cause [video ] to break when it is wrapped in [center ].&nbsp; Installing [center ] before installing [video ] allows the two extensions to coexist.</p><p>I must assume this is caused by the order in which these tags are parsed, due to the order of extension installation, which adds BBCode tags to $tags[].</p><p>A similar conflict has already been noted elsewhere, which is that pre-parsing posts for URLs can break new tags like [video ].&nbsp; Turning the URL parsing feature off is no solution, since it omits a valuable function, and the solution must be dug out of the forum.</p><p>Both defects point to the need for prioritization of BBCode patterns.&nbsp; One solution could be an administrator&#039;s form in which tag priority can be modified.</p><p>Free URLs shouldn&#039;t be wrapped in [url ] as a pre-parse action, but rather as a post-parse action.</p>]]></content>
			<author>
				<name><![CDATA[whatrevolution]]></name>
				<uri>http://punbb.informer.com/forums/user/12596/</uri>
			</author>
			<updated>2008-12-16T10:35:50Z</updated>
			<id>http://punbb.informer.com/forums/post/121077/#p121077</id>
		</entry>
</feed>
