How to Show “Upload” Tab to Logged in Users Only Using a Custom Template in Clip-Bucket v2
Last Updated on Thursday, 18 April 2013 02:34 Written by Richi González Friday, 19 April 2013 12:00
Hello,
Like I wrote in a previous article, How to Check if a User is Logged in When Uploading Videos in Clip-Bucket v2, I further saw that the Upload tab from the top navigation bar was still there, in some custom templates, even when users where not logged in, therefore I decided to write this article to show you how to add a check to see if the user is logged in, if not, don’t show the tab, otherwise, show it. Note, if you are using CB template cbv2new, you don’t need to add this modifications.
Learn MoreHow to Retrieve the ID of the Current Category in Clip-Bucket v2
Last Updated on Tuesday, 16 April 2013 09:08 Written by Richi González Wednesday, 17 April 2013 12:00
Hello,
As I’ve been asked two times already how to get the ID of the current category being browsed in Clip-Bucket v2, I decided to write an article for it so everyone can learn how do it by themselves. Knowing how to do this, you can display specific advertisement for each category, for example.
Learn MoreHow to Remove Contents of an Element (div, ul, etc) with jQuery
Last Updated on Friday, 21 December 2012 08:12 Written by Richi González Friday, 21 December 2012 12:00
Hello,
As I’ve been recently working with a website that has a lot of jQuery and AJAX, and my jQuery knowledge was small, I was wondering how to remove the content of a <div> with jQuery. The solution was pretty easy and with just a line of code.
The element we are going to affect will be called ‘Target’.
Learn MoreHow to Add an Extension to the php.ini Through a Terminal in Linux
Last Updated on Thursday, 12 July 2012 09:44 Written by Richi González Sunday, 22 July 2012 12:00
Hello,
I’ll show you how to easily add an extension to the php.ini with a simple line in a terminal.
1. Open up a terminal or console.
The code is:
Learn MoreHow to Find If an Extension Exists in the PHP Configuration Through Terminal
Last Updated on Thursday, 12 July 2012 09:44 Written by Richi González Thursday, 19 July 2012 12:00
Hello,
This article will show you how to search for functions inside the PHPinfo through a terminal or console. I will show you a simple line to execute that finds if a certain word is found in the PHP info. This is useful for searching for functions.
1. Open up a terminal or console.
2. Let’s say if you want to know if GD libraries are installed, you’d search for ‘gd’ with the code like this:
Learn More
Recent Comments