<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
	<name>[user] BBC Tag</name>
	<id>yodaofdarkness:userbbc</id>
	<version>1.0.1</version>
	<homepage>http://www.fustrate.com</homepage>

	<file name="$sourcedir/Subs.php">
		<operation>
			<search position="before"><![CDATA[
			array(
				'tag' => 'user',
				'type' => 'unparsed_content',
				'content' => '<a href="' . $scripturl . '?action=profile;user=$1" class="bbc_link">$1</a>',
				'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
			),
			array(
				'tag' => 'user',
				'type' => 'unparsed_equals',
				'before' => '<a href="' . $scripturl . '?action=profile;user=$1" class="bbc_link">',
				'after' => '</a>',
				'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
				'disabled_after' => ' ($1)',
			),]]></search>
			<add><![CDATA[
			array(
				'tag' => 'id',
				'type' => 'unparsed_content',
				'content' => '<a href="' . $scripturl . '?action=profile;u=$1" class="bbc_link">$1</a>',
				'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
			),
			array(
				'tag' => 'id',
				'type' => 'unparsed_equals',
				'before' => '<a href="' . $scripturl . '?action=profile;u=$1" class="bbc_link">',
				'after' => '</a>',
				'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
				'disabled_after' => ' ($1)',
			),]]></add>
		</operation>
	</file>
</modification>

