Guys Im trying to implement this feature and am receiving the following error.
XML Error: Reserved XML Name at Line 1
What have I done wrong?
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <product productid="1908" active="1">
<title>Separate Sticky and Normal Threads</title>
<description>Separate Sticky and Normal Threads</description>
<version>1.20</version>
<apm_releasedate>1142722800</apm_releasedate>
<apm_author>Atakan KOC</apm_author>
<apm_relatedurl>https://vborg.vbsupport.ru/showthread.php?t=110795</apm_relatedurl>
<apm_extrainfo />
<apm_extraedit />
<codes />
- <templates>
- <template name="FORUMDISPLAY_Separate" templatetype="template" date="1142791272" username="Reminder" version="3.5.4">
- <![CDATA[ <tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>">$vbphrase[delim_normal]</td></tr>
]]>
</template>
- <template name="FORUMDISPLAY_Separate_top" templatetype="template" date="1142791233" username="Reminder" version="3.5.4">
- <![CDATA[ <tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>"><strong>$vbphrase[delim_sticky]</strong></td></tr>
]]>
</template>
</templates>
- <plugins>
- <plugin active="1">
<title>Separate Sticky and Normal Threads</title>
<hookname>forumdisplay_complete</hookname>
- <phpcode>
- <![CDATA[
if ($vbulletin->options['gosterx1'])
{
eval('$bolx1 = "' . fetch_template('FORUMDISPLAY_Separate_top') . '";');
eval('$bolx2 = "' . fetch_template('FORUMDISPLAY_Separate') . '";');
$threadbits_sticky = "$bolx1".$threadbits_sticky."$bolx2";
}
]]>
</phpcode>
</plugin>
</plugins>
- <phrases>
- <phrasetype name="GLOBAL" fieldname="global">
- <phrase name="delim_normal">
- <![CDATA[ Normal Threads
]]>
</phrase>
- <phrase name="delim_sticky">
- <![CDATA[ Sticky Threads
]]>
</phrase>
</phrasetype>
- <phrasetype name="vBulletin Settings" fieldname="vbsettings">
- <phrase name="setting_gosterx1_desc">
- <![CDATA[ If separate want; yes choose
]]>
</phrase>
- <phrase name="setting_gosterx1_title">
- <![CDATA[ Separate Sticky and Normal Threads
]]>
</phrase>
</phrasetype>
</phrases>
- <options>
- <settinggroup name="forumdisplay" displayorder="420">
- <setting varname="gosterx1" displayorder="240">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
</settinggroup>
</options>
</product>