TRa5H
02-11-2010, 09:49 PM
Hi all I am seeking help.. I am working on a MOD that is based on this MOD https://vborg.vbsupport.ru/showthread.php?t=224709&highlight=wibya
now the following is the coding within the XML document attached...
<?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:
https://vborg.vbsupport.ru/external/2010/02/57.jpg
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
now the following is the coding within the XML document attached...
<?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:
https://vborg.vbsupport.ru/external/2010/02/57.jpg
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