How to Remove Flagged Users in Clip-Bucket v2
Last Updated on Wednesday, 19 September 2012 07:11 Written by Richi González Friday, 28 September 2012 12:00
Hello,
Nobody likes to have users disturbing and molesting other users in our site, therefore, today, I’ll show you how to remove the users that have been reported for misbehaving. Works for the whole Clip-Bucket v2 branch.
Difficulty level: Easy
1. Login to your admin_area (yoursite.tld/admin_area)
Learn MoreHow to Loop Through an Array in Clip-Bucket with {section}{/section}
Last Updated on Wednesday, 19 September 2012 07:18 Written by Richi González Thursday, 27 September 2012 12:00
Hello,
When you dynamically need to output records from a database inside your Clip-Bucket, by this moment, you may have noticed that Clip-Bucket is powered by Smarty template engine, therefore, you cannot use a while() loop, for example, like you would normally do in native PHP. In this article we will review the use of {section}{/section} to loop through a MySQL records array.
Difficulty level: Medium (if you know how to use loops in PHP, you’ll find it easier)
1. Create the query to retrieve records from your database (in this example I’ll use queries for MySQL, but you can use any database)
Learn MoreHow to Add New Tabs with Elements in the admin_area of Clip-Bucket v2
Last Updated on Wednesday, 19 September 2012 07:17 Written by Richi González Tuesday, 25 September 2012 12:00
Hello,
Recently I’ve been creating several custom modifications for different clients, and they often ask me to create an area to administer configurations for it or other things. The easiest way for me to create the tab for the mod in the left column, will be shown in this article (Scroll to the bottom to see an image of what I’m talking about). Feel free to comment if you have an optimization for my method. Works for the Clip-Bucket v2 branch.
Difficulty level: Easy
1. Open left_menu.html, located in ./admin_area/styles/cbv2/layout/*
Learn MoreHow to Change Any Displayed Text Length in Clip-Bucket or Any Smarty Powered Script
Last Updated on Wednesday, 19 September 2012 07:11 Written by Richi González Sunday, 23 September 2012 12:00
Hello,
If you are now going through the making of your own Clip-Bucket (or Smarty powered script) template, you may want to decrease or increase different texts sizes. If so, I have the solution for you. As said in the preceding line, this works for any Smarty powered script.
Difficulty level: Easy
1. Find the file where the variable that outputs the text you want to change is located. For this example, I will use Clip-Bucket v2.6 cbv2new template’s watch_video.html (./styles/cbv2new/layout/*) file.
Learn MoreHow to Enable the Debugging Console in Clip-Bucket and Any Smarty Powered Script
Last Updated on Wednesday, 19 September 2012 07:07 Written by Richi González Friday, 21 September 2012 12:00
Hello,
When you are coding custom modifications or integrating other scripts, plus you’re not very experienced with Smarty, you may get to some point where there is something wrong, but you don’t know what. This article will guide you through the easy steps of enabling the debugging console in any Smarty powered template.
Difficulty level: Easy
1. Open the HTML (for Clip-Bucket) or TPL file you are using
Learn More
Recent Comments