How-To’s

Sometimes you have a slower server and video conversion just takes too much time or you want to have better video quality but faster conversion is causing quality lost. In such case, you can manually modify FFMPEG presets and increase or decrease conversion speed. These are available presets. veryslow (slowest possible speed yet best possible […]

Continue Reading

If you are creating a plugin and you would like to create a new table in MySQL database upon installation, follow the steps below. Step 1: Create a new PHP file in plugin folder and name it install_plugin_name.php Step 2: Paste following code into that file. <?php require_once(‘../includes/common.php’); function install_plugin_name() { global $db; $db->Execute( ‘CREATE […]

Continue Reading

If your plugin creates a new table on installation to store its data, you must drop that table when plugin is uninstalled because when plugin is not working, that table is not required at all. Here is how you can do it. Step 1: Create new php file in your plugin folder and name it […]

Continue Reading

Sometimes you want to treat users differently when certain plugin is installed but that plugin has no options to do so. If that is the case, you don’t need to worry because it is fairly easy to do this simple task in couple of lines of code. Step 1: Pick the plugin for which you […]

Continue Reading

If you are building a plugin that will let users choose some options or go through some settings then you’ll need a new admin area menu. Now you can easily create that by editing core ClipBucket files but that is not the right thing. By doing that you might end up screwing some things and […]

Continue Reading

Sometimes you want to display a message or perform an action on more than one pages. In that case you can either go and edit files regarding all those pages or you can simply write code at one place and have that action work on all those pages. For this tutorial we will show you […]

Continue Reading

Sometimes you need to add multiple users for testing purpose or some other reason. By default ClipBucket would not allow you to do that but you can do with a single MySQL query. If you are unfamiliar with programming, don’t worry because this tutorial will give you step by step guidance to get it done. […]

Continue Reading

Replace the whole body.html with below code. {include file=”$style_dir/global_header.html”} <body> {include file=”$style_dir/header.html” } {if userid()} <div id=”container”> <!– Message –> {include file=”$style_dir/message.html”} {foreach from=$template_files item=file} {include_template_file file=$file} {/foreach} </div> {include file=”$style_dir/footer.html” } </body> {elseif !userid()} <div id=”container”> <div class=”alert alert-danger” role=”alert”>This page content is for logged in users only. Kindly login by pressing button in […]

Continue Reading

Speed is a crucial thing for any website because there are millions of websites available on the internet and if yours is not loading quickly, user will have no reason to wait or to come back because they can go somewhere else. Hence, you must take all measures to ensure that it loads in fastest […]

Continue Reading

It is good to have a button on website which users can click to watch a random video. It comes in handy when users are bored and don’t know what to watch. With help of this button you can decrease bounce rate and make user stay for longer on website. Step 1: Go to your […]

Continue Reading