View Single Post
  #155  
Old 05-28-2006, 02:33 AM
ramone_johnny ramone_johnny is offline
 
Join Date: May 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01029 seconds
  • Memory Usage 1,773KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete