<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ClipBucket Documentation &#187; Developers Guide</title>
	<atom:link href="http://docs.clip-bucket.com/category/clipbucket-v2/developers-guide/feed" rel="self" type="application/rss+xml" />
	<link>http://docs.clip-bucket.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 26 Nov 2011 23:18:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>add_admin_menu function</title>
		<link>http://docs.clip-bucket.com/add_admin_menu-function</link>
		<comments>http://docs.clip-bucket.com/add_admin_menu-function#comments</comments>
		<pubDate>Sat, 26 Nov 2011 23:15:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ClipBucket functions]]></category>
		<category><![CDATA[Functions List]]></category>
		<category><![CDATA[add_admin_menu]]></category>
		<category><![CDATA[admin_area]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=390</guid>
		<description><![CDATA[Function : add_admin_menu File : includes/plugins.functions.php Since : 2.x This function used to add links admin area. When you create or develop a plugin you must point links to access or configure plugin pages, in order to make it easier we have created system, an easy system so you can write files dedicated to admin [...]]]></description>
			<content:encoded><![CDATA[<p>Function : add_admin_menu<br />
File : includes/plugins.functions.php<br />
Since : 2.x</p>
<p>This function used to add links admin area. When you create or develop a plugin you must point links to access or configure plugin pages, in order to make it easier we have created system, an easy system so you can write files dedicated to admin area only. <a href="#">Please read Add Plugin Pages For Admin Area.</a></p>
<h4>Usage</h4>
<p>function add_admin_menu($header=&#8217;Tool Box&#8217;,$name,$link,$plug_folder=false,$is_player_file=false)</p>
<h4>Uses</h4>
<ul>
<li>ClipBucket-&gt;AdminMenu</li>
</ul>
<h4>Overview</h4>
<p>To create menu in admin area, we will simply pass links to an array $Cbucket-&gt;AdminMenu and then we create a loop in admin area html files to render the links accordingly, there are too many functions involved and we will try to document them all one by one</p>
<table width="100%" border="0" cellpadding="3">
<tbody>
<tr>
<td width="25%">Parameter Name</td>
<td><strong>Options</strong></td>
</tr>
<tr>
<td width="25%">$header (String)</td>
<td>A header of amin menu under which link will be displayed, by default we have &#8216;Stats and Configurations&#8217;, &#8216;Videos&#8217; etc..please take a look at <a href="http://docs.clip-bucket.com/images/admin_menu_pic_reference.png" target="_top">this pic</a> for proper understanding. By default its Tool Box so all your plugin links will be listed under Tool Box if not specified</td>
</tr>
<tr>
<td>$name (String)</td>
<td>Name of your menu link that are displayed under your header, like we have &#8216;Manage videos&#8217; under Videos header</td>
</tr>
<tr>
<td>$link (String)</td>
<td>Link to your plugin file that you will load or call when admin clicks on it or it can be direct Http link (leave other to params blank for direct http link), e.g for /plugins/global_announcement/admin/manage.php , simply set it as &#8216;manage.php&#8217;</td>
</tr>
<tr>
<td>$plug_folder (String)</td>
<td>Path to the folder of the files, relative to /plugins directory, e.g if you have a plugin folder &#8216;global_announcement&#8217; , then according to given above example , it should be &#8216;global_announcement/admin&#8217;Note : $plug_folder and $link makes a complete path to the file relative to plugins directory ie.</p>
<p>/plugins/$plug_folder/$link</p>
<p>its default value is false, it will ultimately load file from /plugins directory</p>
<p>/plugs/$link</td>
</tr>
<tr>
<td>$is_player (Boolean)</td>
<td>default is false, just to tell CB if plugin file is for player</td>
</tr>
</tbody>
</table>
<h3>Example</h3>
<p>this code</p>
<pre class="code php">&lt;?php
add_admin_menu("Audio","Audio Configuration",'audio_configurations.php','cb_audio/back_end/');
add_admin_menu("Audio","Audio Manager",'audio_manager.php','cb_audio/back_end/');
add_admin_menu("Audio","Manage Categories",'audio_categories.php','cb_audio/back_end/');
add_admin_menu("Audio","Flagged Audios",'flagged_audios.php','cb_audio/back_end/');
add_admin_menu("Audio","Inactive Audios",'audio_manager.php&amp;search=search&amp;active=no','cb_audio/back_end/');
?&gt;</pre>
<p>will generate something like this</p>
<div id="attachment_391" class="wp-caption aligncenter" style="width: 231px"><a href="http://docs.clip-bucket.com/wp-content/uploads/2011/11/admin_menu_pic_reference_2.png"><img class="size-full wp-image-391" title="admin_menu_pic_reference_2" src="http://docs.clip-bucket.com/wp-content/uploads/2011/11/admin_menu_pic_reference_2.png" alt="" width="221" height="178" /></a><p class="wp-caption-text">Final view of admin menu</p></div>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/add_admin_menu-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get_thumb function</title>
		<link>http://docs.clip-bucket.com/get_thumb-function</link>
		<comments>http://docs.clip-bucket.com/get_thumb-function#comments</comments>
		<pubDate>Thu, 24 Nov 2011 08:40:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Video Functions]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=378</guid>
		<description><![CDATA[Function : get_thumb File : functions_videos.php Since : v2.x This function is used to get thumbnails of a video. This function will get all video thumbnails and list them in array, you can single thumbnail using incremental number or all thumbnails in an array or just count how many thumbnails are available. This function has [...]]]></description>
			<content:encoded><![CDATA[<p>Function : get_thumb<br />
File : functions_videos.php<br />
Since : v2.x</p>
<p>This function is used to get thumbnails of a video.</p>
<p>This function will get all video thumbnails and list them in array, you can single thumbnail using incremental number or all thumbnails in an array or just count how many thumbnails are available. This function has few limitations that we will try to cover in upcoming updates.</p>
<h5>Usage</h5>
<p>get_thumb($vdetails,$num=&#8217;default&#8217;,$multi=false,$count=false,$return_full_path=true,$return_big=true,$size=Null);</p>
<h5>Uses</h5>
<ul>
<li>default_thumb();</li>
<li>MyQuery-&gt;get_video_details();</li>
</ul>
<p>paramater marked with * is required</p>
<table width="100%" border="0" cellpadding="3">
<tbody>
<tr>
<td width="25%">Parameter Name</td>
<td><strong>Options</strong></td>
</tr>
<tr>
<td width="25%">$vdetails (Array|Int) *</td>
<td>It can either be an array of video details or just videoid and it will automatically fetch video details</td>
</tr>
<tr>
<td>$num (Int)</td>
<td>incremental number of thumb, default is 1, depends on how many thumbs generation you have set, by default there are 3 thumbs that clipbucket generates so you can set this between 1 to 3.<em><strong>if set to 2 it will return http://website.tld/files/thumbs/filename-2.jpg</strong></em><strong></strong></td>
</tr>
<tr>
<td>$multi (Boolean)</td>
<td>default is false, on setting true it will return a complete list of thumbs in an array.</td>
</tr>
<tr>
<td>$count (Boolean)</td>
<td>default is false, if set to true, this function will only return number of thumbs of videos (int)</td>
</tr>
<tr>
<td>$return_full_path (Boolean)</td>
<td>default is true, it will return thumbail with complete URL i.e <em>http://website.td/files/thumbs/filename-1.jpg</em>, if set to false it will only return <em>filename-1.jpg</em></td>
</tr>
<tr>
<td>$return_big (Boolean)</td>
<td>default is false, if set to true it will return big thumbnail of video, depends on what resolution you have set in configuration default is <em>320&#215;240 and file name will be filename-big-1.jpg</em></td>
</tr>
<tr>
<td>$size (String)</td>
<td>default is null, depends on what size you want, it can be 120&#215;90 or whatever sizes you have set for thumbs generation</td>
</tr>
</tbody>
</table>
<h3>Examples</h3>
<pre class="code php">&lt;?php
	//set your videoid, it can also bevideokey
	$vid = 1236;
	$vdetails = get_video_details($vid);
	$default_thumb = get_thumb($vdetails);
	$second_thumb = get_thumb($vdetails,2);
	$all_thumbs = get_thumb($vdetails,NULL,true);
	$count_thumbs = get_thumb($vdetails,NULL,false,true);
	echo '&lt;pre&gt;';
	var_dump($default_thumb);
	var_dump($second_thumb);
	var_dump($all_thumbs);
	var_dump($count_thumbs);
	echo '&lt;/pre&gt;';
?&amp;gt</pre>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/get_thumb-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{section } Loop</title>
		<link>http://docs.clip-bucket.com/section-loop</link>
		<comments>http://docs.clip-bucket.com/section-loop#comments</comments>
		<pubDate>Fri, 24 Sep 2010 13:06:34 +0000</pubDate>
		<dc:creator>Fawaz</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[section]]></category>
		<category><![CDATA[section loop]]></category>
		<category><![CDATA[template functions]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=237</guid>
		<description><![CDATA[{section } is used to loop through an array and display the result one by one. For starters, we did not create {section } function, it is Smarty function, just like while for php. Usage {section name=loop_name loop=$array} {$array[loop_name].column_name} {/section} Let&#8217;s break it down. First {section name=loop_name loop=$array} We give our section a name, this [...]]]></description>
			<content:encoded><![CDATA[<p>{section } is used to loop through an array and display the result one by one. For starters, we did not create {section } function, it is Smarty function, just like <em>while</em> for php.</p>
<h5>Usage</h5>
<pre class="code">
{section name=loop_name loop=$array}
	{$array[loop_name].column_name}
{/section}
</pre>
<p>Let&#8217;s break it down. First</p>
<pre class="code">{section name=loop_name loop=$array}</pre>
<p>We give our section a name, this can be anything you want, like v_list or videoList. Next we provide section the array we going to loop through. Next part is to display the information you want.</p>
<pre class="code">{$array[loop_name].column_name}</pre>
<p>To display any type of information, we need follow a required syntax. First we write down the variable in which array is stored, in our case $array, then loop_name. Third is mysql database column name. Let&#8217;s say we need want to display video title. We will be using following code. <span style="font:bold 11px Tahoma;"><a href="#">List of mysql Database Column Names</a></span>.</p>
<pre class="code">{$video_array[v_list].title}</pre>
<p>Below is list of attributes you can use in {section }</p>
<table width="100%" cellpadding="3" border="0">
<tbody>
<tr>
<td width="25%">Attribute Name</td>
<td style="text-align:center;"><strong>Type</strong></td>
<td style="text-align:center;"><strong>Required</strong></td>
<td style="text-align:center;"><strong>Default</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td width="25%">name</td>
<td style="text-align:center;">string</td>
<td style="text-align:center;">Yes</td>
<td style="text-align:center;">n/a</td>
<td>The name of the section</td>
</tr>
<tr>
<td width="25%">loop</td>
<td style="text-align:center;">mixed</td>
<td style="text-align:center;">Yes</td>
<td style="text-align:center;">n/a</td>
<td>Value to determine the number of loop iterations</td>
</tr>
<tr>
<td width="25%">start</td>
<td style="text-align:center;">integer</td>
<td style="text-align:center;">no</td>
<td style="text-align:center;">0</td>
<td>The index position that the section will begin looping. If the value is negative, the start position is calculated from the end of the array. For example, if there are seven values in the loop array and start is -2, the start index is 5. Invalid values (values outside of the length of the loop array) are automatically truncated to the closest valid value.</td>
</tr>
<tr>
<td width="25%">step</td>
<td style="text-align:center;">integer</td>
<td style="text-align:center;">no</td>
<td style="text-align:center;">1</td>
<td>The step value that will be used to traverse the loop array. For example, step=2 will loop on index 0,2,4, etc. If step is negative, it will step through the array backwards.</td>
</tr>
<tr>
<td width="25%">max</td>
<td style="text-align:center;">integer</td>
<td style="text-align:center;">no</td>
<td style="text-align:center;">n/a</td>
<td>Sets the maximum number of times the section will loop.</td>
</tr>
</tbody>
</table>
<div style="height:10px"></div>
<h4>How to use {sectionelse}</h4>
<p>{sectionelse} is used when provided array is empty. For Example,</p>
<pre class="code">
{section name=loop_name loop=$array}
	{$array[loop_name].column_name}
{sectionelse}
	Do something here if $array is empty
{/section}
</pre>
<p>If {section} finds that variable $array is empty, then {sectionelse} is executed. Think of it as PHP if &amp; else conditions.</p>
<h4>{section} Variables</h4>
<p>A {section} also has its own variables that handle {section} properties. These properties are accessible as:<br />
{$smarty.section.name.property} where “name” is the attribute name. {section} properties are <span id="smarty_vars"><em><a href="#index">index</a>, <a href="#iteration">iteration</a>, <a href="#first">first</a>, <a href="#last">last</a>, <a href="#rownum">rownum</a>, <a href="#total">total</a></em></span>.</p>
<h5 id="index">.index</h5>
<p>index contains the current array index, starting with zero or the start attribute if given. It increments by one or by the step attribute if given.</p>
<pre class="tip" style="font-size:11px">If the step and start properties are not modified, then this works the same as the iteration property, except it starts at zero instead of one.</pre>
<h5>Example</h5>
<pre class="code">
{section name=loop_name loop=$array}
	Index of $array is : {$smarty.section.loop_name.index}&lt;br/&gt;
{/section}
</pre>
<p>Above code will print following,</p>
<pre class="code">
Index of $array is : 0&lt;br/&gt;
Index of $array is : 1&lt;br/&gt;
Index of $array is : 2&lt;br/&gt;
Index of $array is : 3&lt;br/&gt;
</pre>
<div style="float:right; clear:both; margin-bottom:5px"><a href="#smarty_vars" style="font:bold 11px Tahoma;">&uarr; Smarty Variables</a></div>
<h5 id="iteration">.iteration</h5>
<p>iteration contains the current loop iteration and starts at one.</p>
<pre class="tip" style="font-size:11px">This is not affected by the {section} properties start, step and max, unlike the index property. iteration also starts with one instead of zero unlike index. rownum is an alias to iteration, they are identical.</pre>
<h5>Example</h5>
<pre class="code">
{section name=loop_name loop=$array}
	$array Iteration is : {$smarty.section.loop_name.iteration}&lt;br/&gt;
{/section}
</pre>
<p>This will print following:</p>
<pre class="code">
$array Iteration is : 1&lt;br/&gt;
$array Iteration is : 2&lt;br/&gt;
$array Iteration is : 3&lt;br/&gt;
$array Iteration is : 4&lt;br/&gt;
</pre>
<div style="float:right; clear:both; margin-bottom:5px"><a href="#smarty_vars" style="font:bold 11px Tahoma;">&uarr; Smarty Variables</a></div>
<h5 id="first">.first</h5>
<p>first is set to TRUE if the current {section} iteration is the initial one.</p>
<h5 id="last">.last</h5>
<p>last is set to TRUE if the current {section} iteration is the final one.</p>
<h5>Examples of both .first and .last</h5>
<pre class="code">
{section name=loop_name loop=$array}
    {if $smarty.section.loop_name.first}(This is First) {/if}
    {if $smarty.section.loop_name.last}(This is Last) {/if}
    $array ID is : {$array[loop_name].id}&lt;br/&gt;
{/section}
</pre>
<p>Above will print following:</p>
<pre class="code">
(This is First) $array ID is : 25&lt;br/&gt;
$array ID is : 26&lt;br/&gt;
$array ID is : 27&lt;br/&gt;
(This is Last) $array ID is : 28&lt;br/&gt;
</pre>
<div style="float:right; clear:both; margin-bottom:5px"><a href="#smarty_vars" style="font:bold 11px Tahoma;">&uarr; Smarty Variables</a></div>
<h5 id="rownum">.rownum</h5>
<p>rownum contains the current loop iteration, starting with one. It is an alias to iteration, they work identically.</p>
<h5 id="total">.total</h5>
<p>total contains the number of iterations that this {section} will loop. This can be used inside or after a {section}.</p>
<h5>Example</h5>
<pre class="code">
{section name=loop_name loop=$array}
	loop id is: {$array[loop_name].id}&lt;br/&gt;
{/section}
Number of iterations: {$smarty.section.loop_name.total}
</pre>
<p>Like mentioned earlier, you can use .total outside {section}. Above code will print following</p>
<pre class="code">
loop id is: 25 &lt;br/&gt;
loop id is: 26 &lt;br/&gt;
loop id is: 27 &lt;br/&gt;
loop id is: 28 &lt;br/&gt;
Number of iteration: 4
</pre>
<div style="float:right; clear:both; margin-bottom:5px"><a href="#smarty_vars" style="font:bold 11px Tahoma;">&uarr; Smarty Variables</a></div>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/section-loop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{FlashPlayer } Function</title>
		<link>http://docs.clip-bucket.com/flashplayer-function</link>
		<comments>http://docs.clip-bucket.com/flashplayer-function#comments</comments>
		<pubDate>Wed, 22 Sep 2010 06:27:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[designers]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[template functions]]></category>
		<category><![CDATA[video player]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=233</guid>
		<description><![CDATA[{FlashPlayer } function is used to create flash video player. Usage {FlashPlayer parameters} It can use following parameters Parameter Name Options vdetails (Required) Video Array height Set the height of player. This will override the setting found in Admin Area. player_div Name of tag ID which will wrap player. If left empty &#8216;videoPlayer&#8216; is used [...]]]></description>
			<content:encoded><![CDATA[<p>{FlashPlayer } function is used to create flash video player.</p>
<h5>Usage</h5>
<pre class="code">{FlashPlayer <em>parameters</em>}</pre>
<p>It can use following parameters</p>
<table cellpadding="3" border="0" width="100%">
<tbody>
<tr>
<td width="25%">Parameter Name</td>
<td><strong>Options</strong></td>
</tr>
<tr>
<td width="25%">vdetails (Required)</td>
<td>Video Array</td>
</tr>
<tr>
<tr>
<td width="25%">height</td>
<td>Set the height of player. This will override the setting found in Admin Area.</td>
</tr>
<tr>
<td width="25%">player_div</td>
<td>Name of tag ID which will wrap player. If left empty &#8216;<strong>videoPlayer</strong>&#8216; is used</td>
</tr>
<tr>
<td width="25%">width</td>
<td>Set the width of player. This will override the setting found in Admin Area.</td>
</tr>
</tbody>
</table>
<div style="height:10px;"></div>
<h4>Examples</h4>
<div style="height:10px;"></div>
<h5>Example 1</h5>
<pre class="code">{FlashPlayer vdetails=$video_array}</pre>
<p>The above would simple display video player with all default settings.</p>
<div style="height:10px;"></div>
<h5>Example 2</h5>
<pre class="code">{FlashPlayer vdetails=$video_array height='300' width='300'}</pre>
<p>This code will display player with your custom height &amp; width.</p>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/flashplayer-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{show_rating } Function</title>
		<link>http://docs.clip-bucket.com/show_rating-function</link>
		<comments>http://docs.clip-bucket.com/show_rating-function#comments</comments>
		<pubDate>Tue, 21 Sep 2010 12:13:02 +0000</pubDate>
		<dc:creator>Fawaz</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[current rating]]></category>
		<category><![CDATA[designers]]></category>
		<category><![CDATA[template functions]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=224</guid>
		<description><![CDATA[{show_rating } function is used to display current rating of video. Usage {show_rating parameters} It uses following parameters Parameter Name Details class Your CSS classname. If left empty &#8216;rating_stars&#8217; will be used. rating Current rating of object ratings Total rating received by object total Total Rating. It should be set to &#8217;10&#8242;]]></description>
			<content:encoded><![CDATA[<p>{show_rating } function is used to display current rating of video.</p>
<h5>Usage</h5>
<pre class="code">{show_rating <em>parameters</em>}</pre>
<p>It uses following parameters</p>
<div style="height:10px;"></div>
<table width="100%" border="0" cellpadding="3">
<tbody>
<tr>
<td width="25%">Parameter Name</td>
<td><strong>Details</strong></td>
</tr>
<tr>
<td width="25%">class</td>
<td>Your CSS classname. If left empty &#8216;rating_stars&#8217; will be used.</td>
</tr>
<tr>
<td width="25%">rating</td>
<td>Current rating of object</td>
</tr>
<tr>
<td width="25%">ratings</td>
<td>Total rating received by object</td>
</tr>
<tr>
<td width="25%">total</td>
<td>Total Rating. It should be set to &#8217;10&#8242;</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/show_rating-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{show_flag_form } Function</title>
		<link>http://docs.clip-bucket.com/show_flag_form-function</link>
		<comments>http://docs.clip-bucket.com/show_flag_form-function#comments</comments>
		<pubDate>Tue, 21 Sep 2010 12:10:06 +0000</pubDate>
		<dc:creator>Fawaz</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[designers]]></category>
		<category><![CDATA[flag form]]></category>
		<category><![CDATA[report]]></category>
		<category><![CDATA[template functions]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=220</guid>
		<description><![CDATA[{show_flag_form } function is used to display playlist form. Usage {show_flag_form parameters} It uses following parameters Parameter Name Options id Object ID type Object Type video group user For styling, this function uses &#8216;/blocks/flag_form.html&#8216; file. Above two parameters are required to make flag form work properly. You can pass any new parameter you want. For [...]]]></description>
			<content:encoded><![CDATA[<p>{show_flag_form } function is used to display playlist form.</p>
<h5>Usage</h5>
<pre class="code">{show_flag_form <em>parameters</em>}</pre>
<p>It uses following parameters</p>
<div style="height:10px;"></div>
<table width="100%" border="0" cellpadding="3">
<tbody>
<tr>
<td width="25%">Parameter Name</td>
<td><strong>Options</strong></td>
</tr>
<tr>
<tr>
<td width="25%">id</td>
<td>Object ID</td>
</tr>
<tr>
<td width="25%">type</td>
<td>Object Type <br/>
<li>video</li>
<li>group</li>
<li>user</li>
</td>
</tr>
</tbody>
</table>
<div style="height:10px;"></div>
<p>For styling, this function uses &#8216;<em>/blocks/flag_form.html</em>&#8216; file. Above two parameters are required to make flag form work properly. You can pass any new parameter you want. For example</p>
<pre class="code">{show_flag_form id=object_id type=object_type new_param='This is new param'}</pre>
<p>To access your new_param, Open flag_form.html and use following</p>
<pre class="code">{$params.new_param}</pre>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/show_flag_form-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{show_playlist_form } Function</title>
		<link>http://docs.clip-bucket.com/show_playlist_form-function</link>
		<comments>http://docs.clip-bucket.com/show_playlist_form-function#comments</comments>
		<pubDate>Tue, 21 Sep 2010 12:05:56 +0000</pubDate>
		<dc:creator>Fawaz</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[designers]]></category>
		<category><![CDATA[playlist]]></category>
		<category><![CDATA[playlist form]]></category>
		<category><![CDATA[template functions]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=217</guid>
		<description><![CDATA[{show_playlist_form } function is used to display playlist form. Usage {show_playlist_form parameters} It uses following parameters Parameter Name Options id Object ID type Object Type Currently only &#8216;video&#8216; For styling, this function uses &#8216;/blocks/playlist_form.html&#8216; file. Above two parameters are required to make playlist form work properly. You can pass any new parameter you want. For [...]]]></description>
			<content:encoded><![CDATA[<p>{show_playlist_form } function is used to display playlist form.</p>
<h5>Usage</h5>
<pre class="code">{show_playlist_form <em>parameters</em>}</pre>
<p>It uses following parameters</p>
<div style="height:10px;"></div>
<table width="100%" border="0" cellpadding="3">
<tbody>
<tr>
<td width="25%">Parameter Name</td>
<td><strong>Options</strong></td>
</tr>
<tr>
<tr>
<td width="25%">id</td>
<td>Object ID</td>
</tr>
<tr>
<td width="25%">type</td>
<td>Object Type <br/>
<li>Currently only &#8216;<em>video</em>&#8216;</li>
</td>
</tr>
</tbody>
</table>
<div style="height:10px;"></div>
<p>For styling, this function uses &#8216;<em>/blocks/playlist_form.html</em>&#8216; file. Above two parameters are required to make playlist form work properly. You can pass any new parameter you want. For example</p>
<pre class="code">{show_playlist_form id=object_id type=object_type new_param='This is new param'}</pre>
<p>To access your new_param, Open playlist_form.html and use following</p>
<pre class="code">{$params.new_param}</pre>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/show_playlist_form-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{show_share_form } Function</title>
		<link>http://docs.clip-bucket.com/show_share_form-function</link>
		<comments>http://docs.clip-bucket.com/show_share_form-function#comments</comments>
		<pubDate>Tue, 21 Sep 2010 12:01:08 +0000</pubDate>
		<dc:creator>Fawaz</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[sharing form]]></category>
		<category><![CDATA[template functions]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=214</guid>
		<description><![CDATA[{show_share_form } function is used to display sharing form. Usage {show_share_form parameters} It uses following parameters Parameter Name Options id Object ID type Object Type Currently only &#8216;video&#8216; For styling, this function uses &#8216;/blocks/share_form.html&#8216; file. Above two parameters are required to make share form work properly. You can pass any new parameter you want. For [...]]]></description>
			<content:encoded><![CDATA[<p>{show_share_form } function is used to display sharing form.</p>
<h5>Usage</h5>
<pre class="code">{show_share_form <em>parameters</em>}</pre>
<p>It uses following parameters</p>
<div style="height:10px;"></div>
<table width="100%" border="0" cellpadding="3">
<tbody>
<tr>
<td width="25%">Parameter Name</td>
<td><strong>Options</strong></td>
</tr>
<tr>
<tr>
<td width="25%">id</td>
<td>Object ID</td>
</tr>
<tr>
<td width="25%">type</td>
<td>Object Type <br/>
<li>Currently only &#8216;<em>video</em>&#8216;</li>
</td>
</tr>
</tbody>
</table>
<div style="height:10px;"></div>
<p>For styling, this function uses &#8216;<em>/blocks/share_form.html</em>&#8216; file. Above two parameters are required to make share form work properly. You can pass any new parameter you want. For example</p>
<pre class="code">{show_share_form id=object_id type=object_type new_param='This is new param'}</pre>
<p>To access your new_param, Open share_form.html and use following</p>
<pre class="code">{$params.new_param}</pre>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/show_share_form-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{show_video_rating } Function</title>
		<link>http://docs.clip-bucket.com/show_video_rating-function</link>
		<comments>http://docs.clip-bucket.com/show_video_rating-function#comments</comments>
		<pubDate>Tue, 21 Sep 2010 11:58:52 +0000</pubDate>
		<dc:creator>Fawaz</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[designers]]></category>
		<category><![CDATA[rating]]></category>
		<category><![CDATA[template functions]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=211</guid>
		<description><![CDATA[{show_video_rating } function is used display rating object &#038;amp to rate a video. It is used on watch_video page. Usage {show_video_rating parameters} It uses following parameters id ID of the object rating Current rating of object ratings Total number of rating object has received type Object type Currently only &#8216;video&#8216; For styling, this function uses [...]]]></description>
			<content:encoded><![CDATA[<p>{show_video_rating } function is used display rating object &#038;amp to rate a video. It is used on watch_video page.</p>
<h5>Usage</h5>
<pre class="code">{show_video_rating <em>parameters</em>}</pre>
<p> It uses following parameters</p>
<div style="height:10px;"></div>
<table width="100%" border="0" cellpadding="3">
<tbody>
<tr>
<td width="25%">id</td>
<td>ID of the object</td>
</tr>
<tr>
<td width="25%">rating</td>
<td>Current rating of object</td>
</tr>
<tr>
<td width="25%">ratings</td>
<td>Total number of rating object has received</td>
</tr>
<tr>
<td width="25%">type</td>
<td>Object type <br /> 
<li>Currently only &#8216;<em>video</em>&#8216;</li>
</td>
</tr>
</tbody>
</table>
<div style="height:10px;"></div>
<p>For styling, this function uses &#8216;<em>/blocks/rating.html</em>&#8216; file.</p>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/show_video_rating-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{assign } Function</title>
		<link>http://docs.clip-bucket.com/assign-function</link>
		<comments>http://docs.clip-bucket.com/assign-function#comments</comments>
		<pubDate>Tue, 21 Sep 2010 11:55:40 +0000</pubDate>
		<dc:creator>Fawaz</dc:creator>
				<category><![CDATA[Template Functions]]></category>
		<category><![CDATA[assign]]></category>
		<category><![CDATA[assign function]]></category>
		<category><![CDATA[designers]]></category>
		<category><![CDATA[template functions]]></category>

		<guid isPermaLink="false">http://docs.clip-bucket.com/?p=209</guid>
		<description><![CDATA[Like name suggests it is used to assign some value to variable. Usage of assign fairly simple. Usage {assign var="var_name" value="some_value"} Example {assign var="variable" value="Some Value Here"} Some Value Here is now stored inside $variable. To display, simply write {$variable}.]]></description>
			<content:encoded><![CDATA[<p>Like name suggests it is used to assign some value to variable. Usage of assign fairly simple.</p>
<h5>Usage</h5>
<pre class="code">{assign var="var_name" value="some_value"}</pre>
<h4>Example</h4>
<pre class="code">{assign var="variable" value="Some Value Here"}</pre>
<p><strong>Some Value Here</strong> is now stored inside $variable. To display, simply write {$variable}.</p>
]]></content:encoded>
			<wfw:commentRss>http://docs.clip-bucket.com/assign-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

