View Single Post
  #1  
Old 02-11-2010, 09:49 PM
TRa5H's Avatar
TRa5H TRa5H is offline
 
Join Date: Apr 2008
Location: Middletown, PA
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need Help with ID imput..

Hi all I am seeking help.. I am working on a MOD that is based on this MOD https://vborg.vbsupport.ru/showthrea...ighlight=wibya


now the following is the coding within the XML document attached...


Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="skysa_toolbar" active="1">
	<title>Skysa Toolbar</title>
	<description />
	<version>1.0</version>
	<url />
	<versioncheckurl />
	<apm_releasedate>0</apm_releasedate>
	<apm_author />
	<apm_relatedurl />
	<apm_extrainfo />
	<apm_extraedit />
	<dependencies>
	</dependencies>
	<codes>
	</codes>
	<templates>
		<template name="skysa_javascript" templatetype="template" date="1254860954" username="TRa5H" version=""><![CDATA[<script src='http://static2.skysa.com?i=$vboptions[skysa_toolbar_id]' type='text/javascript'></script>]]></template>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>Cache Templates</title>
			<hookname>cache_templates</hookname>
			<phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('skysa_javascript'));]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Global Start</title>
			<hookname>global_start</hookname>
			<phpcode><![CDATA[eval('$skysa_toolbar = "' . fetch_template('skysa_javascript') . '";');]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Parse Templates</title>
			<hookname>parse_templates</hookname>
			<phpcode><![CDATA[$vbulletin->templatecache['footer'] = str_replace('$ad_location[ad_footer_end]', '$skysa_toolbar $ad_location[ad_footer_end]', $vbulletin->templatecache['footer']);]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_skysa_toolbar_id_desc" date="1254859124" username="TRa5H" version="1.0" />
			<phrase name="setting_skysa_toolbar_id_title" date="1254859124" username="TRa5H" version="1.0"><![CDATA[Toolbar ID]]></phrase>
			<phrase name="settinggroup_skysa_group" date="1254858566" username="TRa5H" version="1.0"><![CDATA[Skysa Settings]]></phrase>
		</phrasetype>
	</phrases>
	<options>
		<settinggroup name="skysa_group" displayorder="655356">
			<setting varname="skysa_toolbar_id" displayorder="20">
				<datatype>number</datatype>
			</setting>
		</settinggroup>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
	<templateedits>
	</templateedits>
</product>
Everything seems to be working except when I imput the following code ID serial into the ID box within the Skysa Toolbar options under the Vbulletin Options. It resets to "98" and the bar will not register..

here is a live demo of my site working with the bar but I would like to actually set it up as an Application rather than Imput the informaion manually.

http://www.weltmuzik.com/forum/index.php



the ID code I want to imput into the ID box is :

98F375C1-1DBC-46A8-AAFC-A96FC8A8EA96



Here is a screenshot of the imput box:






SO I am just seeing if anyone knows why the error would be happening when I enter the code since it works fine with the www.wibya.com ID of 5 digits.. but now that I edited to the variations for SKYSA is does this?

Thanks ahead of time
Attached Files
File Type: xml product-skysa_toolbar.xml (2.2 KB, 2 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01282 seconds
  • Memory Usage 1,802KB
  • Queries Executed 12 (?)
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_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete