I'm trying to get this working for Godtube.com, since no one responded to my post last month, I gave it a shot. I got eveything working, except the actual video showing up :x
Templates all there, video block shows up - just without the actual video.
This is the xml file I used:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="godtube_member_profile" active="1">
<title>Mini GodGube for Member Profile</title>
<description>Displays a mini GodTube video on the right side of member profile.</description>
<version>2.1</version>
<url />
<versioncheckurl />
<dependencies>
</dependencies>
<codes>
</codes>
<plugins>
<plugin active="1" executionorder="5">
<title>Mini GodGube for Member Profile</title>
<hookname>member_build_blocks_start</hookname>
<phpcode><![CDATA[if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
{
eval('$blocks[godtube] = "' . fetch_template('memberinfo_block_godtube') . '";');}]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Mini right side godtube for Member Profile - Cache Template</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates[] = 'memberinfo_block_godtube';]]></phpcode>
</plugin>
</plugins>
<templates>
<template name="memberinfo_block_godtube" templatetype="template" date="" username="stangger5" version="2.1"><![CDATA[
<!-- godtube -->
<if condition="$userinfo[fieldi]">
<div id="godtube" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('godtube')"><img id="collapseimg_godtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">godtube Video</span>
</h4>
<div class="block_content" id="collapseobj_godtube" style="">
<div class="alt1 smallfont block_row"><if condition="$userinfo[fieldt]">Title: $userinfo[fieldt]</if></div>
<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.godtube.com/view_video.php?viewkey=$userinfo[fieldi]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.godtube.com/view_video.php?viewkey=$userinfo[fieldi]$userinfo[fielda]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
</div>
</div>
</div>
</if>
<!-- / godtube -->
]]></template>
</templates>
<phrases>
</phrases>
<options>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>