In the Woods » Screencasts http://blog.themeforest.net The ThemeForest Blog Fri, 12 Feb 2010 02:35:37 +0000 http://wordpress.org/?v=2.9.1 en hourly 1 Ask JW: A Plugin to Make Important Announcements http://blog.themeforest.net/screencasts/ask-jw-a-plugin-to-make-important-announcements/ http://blog.themeforest.net/screencasts/ask-jw-a-plugin-to-make-important-announcements/#comments Tue, 03 Nov 2009 10:19:54 +0000 Jeffrey http://blog.themeforest.net/?p=3037 Today’s Q&A comes courtesy of Frederico Gonzalez, from Twitter. He asked if there was an easy way to add announcement bars to the top of his site, much like the one on ActiveDen right now (assuming you’re not logged in). Luckily, as you’ll find, it’s quite simple to whip up a jQuery plugin that will make these announcements a cinch to add.

The Screencast

The Final Plugin

(function($) {
 
$.fn.jwAnnounce = function(options) {
 
	var options = $.extend({
		className : 'notice',
		text : null,
		siteWidth : null }, options);
 
	return this.each(function() {
		$(this).prepend('<div class="' + options.className + '" />');
 
		var $announceDiv = $('.' + options.className);
 
		$announceDiv
			.append('<div>' + options.text + '</div>')
			.children('div:last')
				.css({
					'width' : options.siteWidth,
					'margin' : 'auto'
				})
			.end()
			.prepend('<span class="close">X</span>')
			.children('.close')
				.css({
					'position' : 'absolute',
					'cursor' : 'pointer',
					'display' : 'none'
				})
			.end()
 
			.hover(function() {
				// over
				$(this)
					.children('.close')
					.show()
					.click(function() {
						$announceDiv.slideUp(250, function() {
							$(this).remove();
						});
					})
			}, function() {
				$('.close').hide();
			});
	}); // end each
 
}
 
})(jQuery);
]]>
http://blog.themeforest.net/screencasts/ask-jw-a-plugin-to-make-important-announcements/feed/ 0
Working with the New “Envato Marketplace Items” WordPress Plugin http://blog.themeforest.net/general/working-with-the-new-envato-marketplace-items-wordpress-plugin/ http://blog.themeforest.net/general/working-with-the-new-envato-marketplace-items-wordpress-plugin/#comments Fri, 09 Oct 2009 02:57:49 +0000 Jeffrey http://blog.themeforest.net/?p=2800 Just a few days ago, Envato’s very own WordPress ninja, Derek Herman, released a new “Envato Marketplace Items” plugin for WordPress. Now, with only a few minutes worth of work, you can display your recent files, popular files, and even files according to a specific category on your site. Not only that, but you can additionally attach your referral id to each item and earn 30% of your referred user’s first deposit!

In only a few steps, I’ll show you exactly how to implement this plugin into your own project.

Screencast Version

Written Version

Step 1: Install the Plugin

We begin by accessing the control panel of our WordPress installation. Next, within the sidebar, we choose “Add New”, under the “Plugins” widget.

Add New Plugin

Once the page loads, search for “Envato Marketplace Items.”

Envato Marketplace Item Option

Look far to the right, and click “Install.” A modal box will pop up where you can then officially install the plugin. Once the installation has completed, simply click “Activate!”

Step 2: The Settings

The next step is to choose your settings. Don’t worry, it’s simple. Refer back to the sidebar of your control panel, scroll to the bottom, and under “Settings,” choose “Envato Marketplace.”

Sidebar Option

Most of the options are self-explanatory. You have the ability to choose your marketplace, select which kinds of files to display, and the text for the heading of your widget. An additional nifty little feature is the ability to append your referral id to the end of every link. This means that you’ll receive 30% from your referred user’s first deposit! Please refer here for more details.

Settings

When choosing which files to display on your blog, you have three options:

  1. Files According to User
  2. Files by Category
  3. Popular Files

If working with one of the first two options listed above, you’ll need to fill out the following textbox, “API Set Parameter.” The value within this box should reflect your desired outcome. For example, if I wanted to display only WordPress templates, I would type “wordpress.” Alternatively, if I only wanted to display my personal items, I would simply type in my username.

Step 3: Add the Code Snippet

The final step is to place the provided code snippet (available in the “Envato Marketplace” settings page) anywhere within our project:

<?php if (function_exists('envato_marketplace_items')) { envato_marketplace_items(); } ?>

Most likely, you’ll choose to place this snippet somewhere within your sidebar, as I have.

Coda Example

Once you’ve added this snippet, save it, and upload the revised file to your server! That’s all! It’s as easy as that.

Final Product

Questions?

As always, if you have any questions, feel free to leave a comment and we’ll try help you as soon as possible!

Please note that this tutorial assumes that you’re using WordPress 2.8 or newer. If you happen to be using an older installation, you’ll need to manually download the files, and then upload them to the “Plugins” folder of your WordPress installation.

]]>
http://blog.themeforest.net/general/working-with-the-new-envato-marketplace-items-wordpress-plugin/feed/ 0
New Marketplace Features Screencast http://blog.themeforest.net/site-news/new-marketplace-features-screencast/ http://blog.themeforest.net/site-news/new-marketplace-features-screencast/#comments Mon, 28 Sep 2009 21:00:23 +0000 Cyan http://blog.themeforest.net/?p=2660 A lot has happened within the last twenty four hours, and, understandably, there's a lot to take in! If you have a few moments, why not set aside five minutes to view this screencast and learn about some of the new features in the marketplace redesign that we're all really excited about? When finished viewing, don't forget to leave a comment, via the forums, and let us know your thoughts!

]]>
A lot has happened within the last twenty four hours, and, understandably, there’s a lot to take in! If you have a few moments, why not view this screencast and learn about some of the new features in the marketplace redesign that we’re all really excited about? When finished viewing, don’t forget to leave a comment, via the forums, and let us know your thoughts!

]]>
http://blog.themeforest.net/site-news/new-marketplace-features-screencast/feed/ 0
New Twitter-Exclusive Quick-Tip Video Series http://blog.themeforest.net/screencasts/new-twitter-exclusive-quick-tip-video-series/ http://blog.themeforest.net/screencasts/new-twitter-exclusive-quick-tip-video-series/#comments Tue, 01 Sep 2009 16:07:00 +0000 Jeffrey http://blog.themeforest.net/?p=2470 Last week, I launched a new exclusive quick-tip series for our
Twitter followers. What makes this screencast series unique is that they’re all five minutes or less, and the topic for each entry comes straight from the community! As these will not be posted on the blogs, the only way to stay up to date is to follow Nettuts+ and ThemeForest!

Just for a one-time sample, here are the first two quick tips.

How to Make Rounded Corners with CSS and JavaScript.

How to Add a Drop-Shadow Across All Browsers

]]> http://blog.themeforest.net/screencasts/new-twitter-exclusive-quick-tip-video-series/feed/ 18 WordPress for Designers: Day 18 http://blog.themeforest.net/wordpress/wordpress-for-designers-day-18/ http://blog.themeforest.net/wordpress/wordpress-for-designers-day-18/#comments Mon, 24 Aug 2009 22:44:07 +0000 Drew Douglass http://blog.themeforest.net/?p=2407 I’ll bet that many of you have used or have been searching for a WordPress contact form to you for yourself or a client. Plugins can be great and very convenient, but your also relying on the plugin developer to make sure it works and does what you want. Today, we are going to build our contact page, complete with a working AJAX/php contact form! We will use the jQuery library to pull off the AJAX call and animation effects. It’s a day you won’t want to miss if you have ever wondered how to build an AJAX contact form with WordPress.

Day 18: Creating an AJAX Contact Form

Resources you May Enjoy…


]]>
http://blog.themeforest.net/wordpress/wordpress-for-designers-day-18/feed/ 36
WordPress for Designers: Day 17 http://blog.themeforest.net/screencasts/wordpress-for-designers-day-17/ http://blog.themeforest.net/screencasts/wordpress-for-designers-day-17/#comments Fri, 14 Aug 2009 16:29:25 +0000 Drew Douglass http://blog.themeforest.net/?p=2338 Did someone call for an integrated back end slider? Well, if you did, we heard you! After much anticipation from our readers, today is the day we integrate our slider with the backend of WordPress. We will learn all about how to use the WordPress media manager to let users setup, add, and edit the slider, all from the convenient backend of WordPress. This is a day you don’t want to miss, so fire up your server and let’s do this!

Day 17: Slider

Resources you May Enjoy.

What’s Next?

It’s your call. Now that we have completely covered the slider, what section of the theme would you like to tackle next? The choice is yours!


]]>
http://blog.themeforest.net/screencasts/wordpress-for-designers-day-17/feed/ 34
WordPress for Designers: Day 16 http://blog.themeforest.net/wordpress/wordpress-for-designers-day-16/ http://blog.themeforest.net/wordpress/wordpress-for-designers-day-16/#comments Tue, 07 Jul 2009 07:42:12 +0000 Drew Douglass http://blog.themeforest.net/?p=2117 Have you missed us? We’re back and ready for more action with our WordPress for Designers series! We are currently on day sixteen and each fay we are getting closer to completing our goal. Today, we go over creating and styling an entire page from scratch, including the sidebar. Furthermore, we will learn how to use multiple custom fields and text area inputs to take full advantage of the power of WordPress from the backend admin panel. Servers on, text editor running, Hanson playing on iTunes, let’s go!

Day 16

Resources you may enjoy:


]]>
http://blog.themeforest.net/wordpress/wordpress-for-designers-day-16/feed/ 46
Ask JW: How Do I Work On My Server in TextMate? http://blog.themeforest.net/screencasts/ask-jw-how-do-i-work-on-my-server-in-textmate/ http://blog.themeforest.net/screencasts/ask-jw-how-do-i-work-on-my-server-in-textmate/#comments Mon, 15 Jun 2009 22:12:46 +0000 Jeffrey http://blog.themeforest.net/?p=1992 The greatest advantage that Coda has over TextMate is that you can work directly on your server. Obviously, by removing the middle-man, we can work much more quickly. This is a bit unfortunate, as TextMate is a much more powerful platform. Thanks to Twitter, I’ve just learned how to work around this. We’ll use a program, for Mac and PC, called ExpanDrive. For more information, check out this quick screencast.

What do you think? I love it.


]]>
http://blog.themeforest.net/screencasts/ask-jw-how-do-i-work-on-my-server-in-textmate/feed/ 24
Diving into PHP: Day 16 http://blog.themeforest.net/screencasts/diving-into-php-day-16/ http://blog.themeforest.net/screencasts/diving-into-php-day-16/#comments Thu, 28 May 2009 01:37:57 +0000 Jeffrey http://blog.themeforest.net/?p=1907 Continuing on with our OOP review, we’ll begin to build a real-world database abstraction class. We’ll review the __construct magic method, as well as the mysqli object.

Day 16: Database Abstraction Class

Download the Source Code


]]>
http://blog.themeforest.net/screencasts/diving-into-php-day-16/feed/ 68
WordPress for Designers: Day 15 http://blog.themeforest.net/wordpress/wordpress-for-designers-day-15/ http://blog.themeforest.net/wordpress/wordpress-for-designers-day-15/#comments Tue, 26 May 2009 08:36:32 +0000 Drew Douglass http://blog.themeforest.net/?p=1900 We’re back with our Wordpress for Designers series! Moving on with our ‘Paper Business’ theme, it’s time to bring in the slider. Today, we will build and implement a jQuery slider plugin into WordPress, style it properly, and discuss how we will pull out the information from the admin panel. Let’s get our slide on!

Day 15: The Slider

Resources You May Enjoy

Custom queries coming!

On day 16 of our series, we will take the slider we have created and learn how to pull out the information the user has entered. No need for the end user to hard code anything, stay tuned!


]]>
http://blog.themeforest.net/wordpress/wordpress-for-designers-day-15/feed/ 50