Jul 7, 2012

Create an animated line

Filled under: ,

Create an animated line

The tag < marquee > creates a moving
Create an animated lineobject on the screen on the basis of the marquee. Initially, the tag was created for Internet Explorer. Today we remember this (probably forgotten by many) tag, and learn how to use it to create an animated line on pure css3.

* Before beginning the lesson, we recommend reading on CSS animation masterclass
Problem

One of the problems with the <marquee> that the text is in constant motion, so it is very difficult to read. At this time, we will try to create our own version of <marquee> and make it more usability. For example, instead of continuously moving the text, we will stop it at the moment when it is fully visible, so that the user can fully read it.
Getting Started

All creative solutions begin with a sketch. In the field of animation, this is done with storyboards. Before you start writing code, we must first create a kind of storyboard to help us visualize the animation.

Create an animated line

To understand how this is implemented, see the following display:

Demo1 | Demo2

HTML markup

<div class="marquee">
        <p>How to add WordPress Related Posts Without Plugins</p>
        <p>Automate Your <a href="http://www.hongkiat.com/blog/out/dropbox" style=""  rel="nofollow" onmouseover="self.status='http://www.hongkiat.com/blog/out/dropbox';return true;" onmouseout="self.status=''">Dropbox</a> Files With Actions</p>
    </div>

Since our animation is fairly simple, then the markup accordingly too.

Basic styles

Before you create the animation, let's add some basic styles. Start by adding a background for the HTML-elements.

html {
        background: url('../images/skewed_print.png');
    }

Now we will place our line in the middle of the browser window and add some details, such as the inner shadow, background color and contours.

.marquee {
        width: 500px;
        height: 50px;
        margin: 25px auto;
        overflow: hidden;
        position: relative;
        border: 1px solid #000;
        margin: 25px auto;
        background-color: #222;
      -webkit-border-radius: 5px;
      border-radius: 5px;
      -webkit-box-shadow: inset 0px 2px 2px rgba(0, 0, 0, .5), 0px 1px 0px rgba(250, 250, 250, .2);
      box-shadow: inset 0px 2px 2px rgba(0, 0, 0, .5), 0px 1px 0px rgba(250, 250, 250, .2);
    }

Now align our text - add absolute positioning and set 100% width and height.

.marquee p {
        position: absolute;
        font-family: Tahoma, Arial, sans-serif;
        width: 100%;
        height: 100%;
        margin: 0;
        line-height: 50px;
        text-align: center;
        color: #fff;
      text-shadow: 1px 1px 0px #000000;
      filter: dropshadow(color=#000000, offx=1, offy=1);
    }

We should get the following result:

Create an animated line

Animation

When you create an animation you need to answer the following questions:
  • When will start the animation?
  • How long will peremaschatsya object from one point to another?
  • How long should be the object at this point?

In CSS3-animation, time will be set using the syntax @ Keyframe . But let's first define a starting position of the text.

We decided that the text will appear on the right and move to the right, so he set the following value

.marquee p {
        transform:translateX(100%);
    }

Keyframes

The syntax of the key personnel (@ keyframes) can be a bit puzzling to some people, so we created a simple visual guide to help you easily understand what is happening:

Create an animated line

Click to enlarge .

All the animation will last about 20 seconds, and is divided into two events for 10 seconds each.

In the first act, the first text appears on the right and remains visible for a moment that the user can read the text, and the second text will be hidden. In the second act, the first text will be displayed on the left and the second text will gradually appear on the right side.

But all the code for the key personnel that we need to use to start the animation.

@keyframes left-one {
        0%  {
            transform:translateX(100%);
        }
        10% {
            transform:translateX(0);
        }
        40% {
            transform:translateX(0);
        }
        50% {
            transform:translateX(-100%);
        }
        100%{
            transform:translateX(-100%);
        }
    }
    @keyframes left-two {
        0% {
            transform:translateX(100%);
        }
        50% {
            transform:translateX(100%);
        }
        60% {
            transform:translateX(0);
        }
        90% {
            transform:translateX(0);
        }
        100%{
            transform:translateX(-100%);
        }
    }

The use of animation to the elements

The first sequence is applied to the first text (in this case, the first paragraph) and the second sequence is applied to the second paragraph.

.marquee p:nth-child(1) {
        animation: left-one 20s ease infinite;
    }
    .marquee p:nth-child(2) {
        animation: left-two 20s ease infinite;
    }

Demo

Bonus

We can also change the direction of the text scrolling text, such as top to bottom or vice versa. Here's how you can implement:

.marquee p {
        transform:translateY(-100%);
    }
    @keyframes down-one {
        0%  {
            transform:translateY(-100%);
        }
        10% {
            transform:translateY(0);
        }
        40% {
            transform:translateY(0);
        }
        50% {
            transform:translateY(100%);
        }
        100%{
            transform:translateY(100%);
        }
    }
    @keyframes down-two {
        0% {
            transform:translateY(-100%);
        }
        50% {
            transform:translateY(-100%);
        }
        60% {
            transform:translateY(0);
        }
        90% {
            transform:translateY(0);
        }
        100%{
            transform:translateY(100%);
        }
    }

In addition, we have renamed our animation, so we must re-apply the name of the animation in the paragraph element.

.marquee p:nth-child(1) {
        animation: down-one 20s ease infinite;
    }
    .marquee p:nth-child(2) {
        animation: down-two 20s ease infinite;
    }

And finally, here is the entire code:

.marquee.up p {
        transform:translateY(100%);
    }
    .marquee.up p:nth-child(1) {
        animation: up-one 20s ease infinite;
    }
    .marquee.up p:nth-child(2) {
        animation: up-two 20s ease infinite;
    }
    @keyframes up-one {
        0%  {
            transform:translateY(100%);
        }
        10% {
            transform:translateY(0);
        }
        40% {
            transform:translateY(0);
        }
        50% {
            transform:translateY(-100%);
        }
        100%{
            transform:translateY(-100%);
        }
    }
    @keyframes up-two {
        0% {
            transform:translateY(100%);
        }
        50% {
            transform:translateY(100%);
        }
        60% {
            transform:translateY(0);
        }
        90% {
            transform:translateY(0);
        }
        100%{
            transform:translateY(-100%);
        }
    }

Demo

Conclusion

Despite the lack of support for current browsers, CSS3 animation (if done correctly) will undoubtedly solve many usability issues in the future. If we only have a short animation designed for modern browsers use CSS3-animation, probably better than loading JQuery-script.

Author - hongkiat

Posted By Unknown10:40 PM

Workshop on CSS animations

Filled under:

Workshop on CSS animations
you need to know to quick start and full use of excellent technology CSS3 animation key frames from the basics to tips for creating animations that will save you a lot of time and nerves.

"Animation" in the CSS has always boiled down to a hover-effects. With the pseudo: hover and: focus, we can change the color, size and position, background color and other properties of CSS, based on user actions. Using a: hover, you get only two positions: with the cursor and nenavedennym, in other words, only two keyframes: the start and end, there are no intermediate states Mezhuyev these provisions, and as a result, a sharp and sudden transition between them. In fact, it has no animation.

Transitions of CSS3 transitions have solved the problem of intermediate states, allowing the move from state to nenavedennogo the induced within a certain period of time. Transitions from the vendor prefixes are supported by excellent modern browsers (since IE10 and Firefox 4.0). With transitions, you can create simple animations, limited to two keyframes - start and end points - and a single repetition. Most developers overcome these limitations by using animation JavaScript. Since then, the situation with support for CSS3 animations, browser improved, it's time to rely less on JavaScript and create the animation is directly in the CSS.

In this article you will learn everything you need to create an animation by means of CSS. I draw your attention that you will need to use prefixes-webkit-and-moz-, to support your animation, Chrome, Safari 4 +, Firefox 5 +, Android Chrome, and iOS.

Keyframes

To animate the elements, you first need to describe the animation keyframes. Then you apply the animation to the elements. So, first of all describe the animation, which can be connected to an unlimited number of items. Animations are similar to transitions, except for the fact that they allow you to control the process step by step. To determine the animation you, as a minimum, you must specify the name of the animation and extreme keyframes - start and end points.


@ Keyframes flapping {
from {
Background-size: 100px 100px;
}
to {
Background-size: 20px 100px;
}
}


So, we have determined the name of the animation, the starting and ending keyframes. If you use one of the browsers listed above, click on the butterfly to see this animation in action.

Workshop on CSS animations

In this animation, we used the terms from and to. We may also use interest rate that is usually required.


@ Keyframes flapping {
0% {
Background-size: 100px 100px;
}
100% {
Background-size: 20px 100px;
}
}


Announcing the animation, you need to remember the following:

Do not forget to put the% sign
when it comes to long, it does not matter specified in pixels or em, 0 is 0. But not when determining the animation. Do not forget to add the% sign when specifying units of measurement.
Do not forget to mention 100% or to declare the final keyframe animation.
Although the specification and does not require specifying 0% and 100%, but it is necessary for today's browsers.
Do not take the name of the animation in quotation marks
Although it would seem, the code becomes legible when you take the name in quotes, but it is not true with respect to the W3C, and will not work, the animation in Firefox.

One of the properties that make animation wins before the transition - is the ability to thoroughly control the animation. For example, the "rainbow" animation consists of 11 units of key personnel.

Workshop on CSS animations


@ Keyframes rainbow {
0% {background-color: # FF0000;}
10% {background-color: # FF8000;}
20% {background-color: # FFFF00;}
30% {background-color: # 80FF00;}
40% {background-color: # 00FF00;}
50% {background-color: # 00FF80;}
60% {background-color: # 00FFFF;}
70% {background-color: # 0080FF;}
80% {background-color: # 0000FF;}
90% {background-color: # 8000FF;}
100% {Background-Color: # FF0080;}
}


If we used this transition, moving from the initial to the final # FF0000 # FF0080, we would simply have a transition from red to pink, passing only through the shades of red. Thanks to the same phase-control animation, we have the same transition, but through all the colors of the spectrum.

You can add any desired number of animatable properties in any block of keyframes. Watch the following example .


@ Keyframes rainbowdimmer {
0% {background-color: # FF0000; opacity: 1;}
20% {background-color: # FFFF00;}
40% {background-color: # 00FF00;}
50% {opacity: 0;}
60 % {background-color: # 00FFFF;}
80% {background-color: # 0000FF;}
100% {background-color: # FF0080; opacity: 1;}
}


This level of transparency varies from opaque to transparent, and then again to the opaque, while the color changes from one to another across the entire spectrum. Please note that not all properties need obyavlyat in each block of keyframes. Instead, we only add a property when it is needed.

Note also that the duplication of key personnel selectors are not supported:


<s> 100% {background-color: # FF0080;} </ s>
100% {opacity: 1;}


If two blocks of the same selectors, the subsequent block supersedes the previous ones.

On the other cancellation if your animation contains duplicate key frames, you will not have to declare the same block twice. Instead, the selectors are the same list of key frames, separated by commas. The announcement does not matter (100% can stand in front of 0%).
In the following example, a butterfly initial and final position of the same. Instead of declaring two separate blocks, we rrazmeschaem first and last selections, separated by commas:


@ Keyframes movement {
0%, 100% {
top: 0;
left: 0;
}
25% {
top: 0;
left: 100px;
}
50% {
top: 100px;
left: 100px;
}
75% {
top: 100px;
left: 0;
}
}


In the next animation with the ball bouncing a ball, jumping up again at the bottom of the container okazyvaestsya:

Workshop on CSS animations

We announce with three of the four key frames in which the ball is at the bottom, because the last frame contains more than one property. You can apply the separation of duplicate frames separated only if all their properties, the values ​​are identical.


@-Webkit-keyframes bouncing {
40%, 70%, 90% {
animation-timing-function: ease-out;
bottom: 0;
}
0% {
bottom: 200px;
left: 0;
animation-timing-function: ease- in;
}
55% {
bottom: 50px;
animation-timing-function: ease-in;
}
80% {
bottom: 25px;
animation-timing-function: ease-in;
}
95% {
bottom: 10px;
animation-timing- function: ease-in;
}
100% {
left: 110px;
bottom: 0;
animation-timing-function: ease-out;
}
}


Please note that we have animated the two properties. We moved the ball up and down several times, using a phase-control. However, the movement from left to right was smooth, and, therefore, declaration terbovalo only two keyframes. We also changed the animation-timing-function, jumping to look smooth and natural. We will return to a discussion of animation-timing-function, but now most importantly, remember that animation-timing-function - this is the only property of the animation, which can be included in the description of the key frame. W3C offers an incomplete list of properties , can be animation kotoroye. We can apply the animation-timing-function, to indicate how the animation should move to the next keyframe. Without it, our ball was too bouncy.


/ * For browsers, Webkit * /
@-webkit-keyframes Flitter {
0% {
-webkit-transform: scale (1.1);
}
100% {
-webkit-transform: scale (0.2,1);
}
}
/ * for firefox * /
@-moz-keyframes Flitter {
0% {
-moz-transform: scale (1.1);
}
100% {
-moz-transform: scale (0.2,1);
}
}
/ * reserve for the future: for browsers poddezhivayuschih bezvendorny syntax * /
@ keyframes Flitter {
0% {
transform: scale (1.1);
}
100% {
transform: scale (0.2,1);
}
}


Vendor prefixes

All of these animations, but not all will work. At the time of this writing, the only browsers that support this animation, require the vendor prefix. We will have to declare a @ keyframes three times, with the prefix-moz-in for Firefox 5 +, with-webkit-prefix for Safari, Chrome and various mobile browsers, and, finally, without any prefix for browsers poddezhivayuschih vendor-neutral syntax.

Animating the elements

So, our animation obyavleny, and we can move on to animating elements of our pages, adding to his animation. We at least need to specify the name of the animation and its prodozhitelnost. There are many additional features that govern the animation, but the name and prodozhitelnost are required.

Let's start with our butterfly.


. Butterfly {
height: 100px;
width: 100px;
position: absolute;
top: 50px; left: 50px;
Background-Image: url (butterfly.png);
}


Name and prodozhitelnost animation

Our first goal is to make a butterfly flap its wings. To apply an animation, we specify the element name to use animation and its duration. To do this, we have two properties: animation-name, and animation-duration. In the animation-name property you can specify a list of names of animation, separated by commas, without kavychek.Eto your names defined in Rule @ keyframes. Thus, on the basis of our examples, we can use clapping and flapping wings, iridescent play and play with the change of transparency, as well as jumping.

In addition to specifying the name of the animation, we need to specify how long the animation lasts in seconds (s) or milliseconds (ms). Pointing to the property of the animation-duration prodozhitelnost animation, we will make the animation povotryatsya from 0% to 100%. Minimum prodozhitelnost - 1 millisecond counts. In our first example, with clapping wings, we took the value of 500ms, or 0,5 s


. Butterfly {
-webkit-animation-name: Flitter;
-webkit-animation-duration: 500ms;
-moz-animation-name: Flitter;
-moz-animation-duration: 500ms;
animation-name: Flitter;
animation-duration: 500ms ;
}


Retry count animation-iteration-count

We are not a butterfly flaps its wings (and not even clap)? By default, the animation is repeated once.For the same to run it several times , we add a property animation-iteration-count. Its acceptable value can be either an integer or 'infinite' - indefinitely. The default value is 1.


. Butterfly {
-webkit-animation-name: Flitter;
-webkit-animation-duration: 500ms;
-webkit-animation-iteration-count: Infinite;
-moz-animation-name: Flitter;
-moz-animation-duration: 500ms;
-moz-animation-iteration-count: Infinite;
animation-name: Flitter;
animation-duration: 500ms;
animation-iteration-count: Infinite;
}


The direction of animation animation-direction

Previous animation is not so much annoyed by the fact that does not stop, but the fact that moving from a 0% to 100% frame for 500 ms, and then jumps back to 0%. It turns out that for some time, it changes the width of 100px to 20px, and then sharply increasing to 100% during the transition to the next repetition.

Sometimes you need to animate transitions behave like transition, when the cursor hovers over the animation is played back .
With the help of animation-direction properties of each subsequent animation can be played to get from 100% to 0%, ie in the opposite direction. Bouncing the ball is moving in one and the de direction, from 0% to 100%, but a butterfly flapping wing is just right as an example to demonstrate the change in the direction of the animation. Let's add this feature to our butterfly:


. Butterfly {
-webkit-animation-name: Flitter;
-webkit-animation-duration: 500ms;
-webkit-animation-iteration-count: 40;
-webkit-animation-direction: Alternate;
-moz-animation-name: Flitter;
-moz-animation-duration: 500ms;
-moz-animation-iteration-count: 40;
-moz-animation-direction: Alternate;
animation-name: Flitter;
animation-duration: 500ms;
animation-iteration-count: 40;
animation -direction: Alternate;
}


Acceleration and deceleration 'animation-timing-function'

We can even fine tune our animation, pointing to the animation-timing-function, the values ​​must be computed over time. The default value - 'ease' (slow), but most of the movements in the wild is slow, then accelerating. Let's add value ease-in-out our animation-timing-function.


. Butterfly {
-webkit-animation-name: Flitter;
-webkit-animation-duration: 500ms;
-webkit-animation-iteration-count: 40;
-webkit-animation-direction: Alternate;
-webkit-animation-timing-function: ease-in-out;
-moz-animation-name: Flitter;
-moz-animation-duration: 500ms;
-moz-animation-iteration-count: 40;
-moz-animation-direction: Alternate;
-moz-animation-timing -function: ease-in-out;
animation-name: Flitter;
animation-duration: 500ms;
animation-iteration-count: 40;
animation-direction: Alternate;
animation-timing-function: ease-in-out
}


We have already added ease-in and ease-out at different stages, animating the bouncing ball. We repeat that the animation-timing-function - this is the only property of the animation, which can be included in the description of the key frame. Use animation-timing-function, to indicate how the animation should move to the next keyframe. Without it, our ball would too bouncy.

Delay 'animation-delay'

By default, read too many at once anmatsiya pomle application. This can be changed using the properties of the animation-delay. Although at first glance, it is very simple, there is a trick that is worth to know. If you need to start the animation c middle, specify a negative value animation-delay. For example, if a 10-second animation to indicate the value of the delay-5s, your animation will begin immediately, but in the middle.

'Animation' (shorthand)

Properties and detailed animations wordy. Even too. Especially with a vendor prefix. Fortunately, there is a brief account. It should include the name and duration of the animation. If you specify a delay, enter it first. Here's the general order of entry:


animation: <name> <duration> <timing -function> <delay> <iteration -count>
    <direction> <fill -mode>;


Thus, we can write the previous animation is much simpler:


. Butterfly {
-webkit-animation: Flitter 500ms ease-in-out 5S 40 Alternate;
-moz-animation: Flitter 500ms ease-in-out 5S 40 Alternate;
animation: Flitter 500ms ease-in-out 5S 40 Alternate;
}


The same elemeni can have multiple animations odnovremenno.nasha butterfly flaps its wings, but it will not fly. Let's send her to move in the container , as if she was indeed flying.


. Butterfly {
-webkit-animation: Flitter 300ms ease-in-1s out 40 Alternate, 5S Movement 2s linear;
-moz-animation: Flitter 300ms ease-in-1s out 40 Alternate, 5S Movement 2s linear;
animation: 300ms ease Flitter -in-out 1s 40 Alternate, linear 5S Movement 2s;
}


Always consider the length and number of interactions, animations, to correctly set the animation. Also, be careful what properties will be animated. Although we can apply an unlimited number of animations to the element, but each property may be applied at the same time only once. In other words, we can assign an element four animations, but also can use only one transformation and one position to the top / left.


. Butterfly {
-webkit-transform-origin:-20px-20px;
-moz-transform-origin:-20px-20px;
-webkit-animation:
Flitter 300ms ease-in-1s out 40 Alternate,
bouncing 10s ease-in-out 1s,
0.5s ease Rotation 24 1s;
-moz-animation:
Flitter 300ms ease-in-1s out 40 Alternate,
bouncing 10s in ease-out-1s,
0.5s ease Rotation 24 1s;
animation:
Flitter 300ms ease-in-out 40 Alternate 1s,
10s bouncing in ease-out-1s,
0.5s ease Rotation 24 1s;
}


We've added a transform-origin, so that the rotation looks more casual and natural . Also note that we have three animations that end at 13, 11 and 13 seconds respectively. By adding more animations, to relate the timing of their actions with each other.

Animation-fill-mode

Our lovely butterfly flits across the page, but the convulsive twitches in the upper left corner, when completed, "bouncing" animation. Due to the property animation-fill-mode, we may ask for a butterflyStavan in the lower right hand corner when finished animation.

Animation-fill-mode can be one of four values: backwards, forwards, none or both. By default - none.

The value makes the element to move backwards after loading the page frame to 0%, even if the delay is set animation-delay, and stay there until you start the animation.

The value of forwards tells the browser what to stop the animation on the last frame at the end of the last repeat and wind off of the original sosttoyaniyu.

The value includes both the two values, remaining in the first keyframe before the start of the animation (despite the possible positive value of delay), and late on the last frame before the end of the last animation. Just what we need for our "bouncing":


. Butterfly {
-webkit-transform-origin:-20px-20px;
-moz-transform-origin:-20px-20px;
-webkit-animation:
Flitter 300ms ease-in-1s out 40 Alternate,
bouncing 10s ease-in-out Both 1s,
0.5s ease Rotation 24 1s forwards;
-moz-animation:
Flitter 300ms ease-in-1s out 40 Alternate,
bouncing 10s ease-in-1s out Both,
Rotation 24 0.5s 1s ease forwards;
animation:
300ms ease Flitter -in-out 1s 40 Alternate,
bouncing 10s ease-in-1s out Both,
Rotation 24 0.5s 1s ease forwards;
}


Stopping and starting the animation

In addition to stops the animation in the first and last frames we can octanavlivat it in the process of using animation-play-state. By default, all animations are set to 'running', but it can be changed to 'paused':


. Butterfly: hover {
-webkit-animation-play-State: PAUSED;
-moz-animation-play-State: PAUSED;
animation-play-State: PAUSED;
}


To see how this works, just hover your cursor over any of the previously animated butterflies.

We are dismantled simple animation, only to show what is possible. Effective CSS animations provide the ability to animate without using JavaScript. It is, however, do not forget that the possibility of animation does not mean that their use would be a good idea everywhere. Use animation judiciously. We would not want to go back to the situation with animated gif in the late 90s or outbursts of indiscriminate Flash-saver in the early 2000s

Remember, if you can, it does not mean that you should!



According to the materials articles Estelle Ueyl

Posted By Unknown10:31 PM

Jul 6, 2012

Reasons for not using WordPress

Filled under:

Reasons for not using WordPress

Although I always think how the default WordPress tackle any project , when I do work Web consulting is not always the final recommendation for a client is to use WordPress, because sometimes it is not the best choice .

There are several reasons why it is not always recommended or best option to use WordPress for web development , and these are some that do not recommend to a client to trust my judgment ... 

  1. Registration systems or events
  2. - Although there are plugins that use WordPress to create sites and event management including registration of hotels, are often difficult to configure and do not address all the needs that need this type of web. There are solutions for this type of applications that offer the best option for the customer. 
  3. Webs without updates - If a customer is not going to frequently update your site, if you will only use it as a portfolio of products or corporate presentation, a WordPress installation, requiring minimal maintenance and updates involves a series of unnecessary work for, and therefore would not recommend it. 
  4. Software as a web service - If this site will be a service that does not require content management system, not based on pages, posts and comments, but a specific framework, say, like Twitter, MailChimp or any of its kind comes to mind, then WordPress is not even an option, as are projects that require custom development. 
  5. Electronic commerce - Although fairly complete solutions, mixtures of theme and plugins authorities, or simply offering solutions ecommerce plugins for WordPress, if a business will depend exclusively or main e-commerce solution, then I recommend customized solutions and more specialized as Magento, for example. Furthermore, if the client wants to use the many advantages of WordPress for your business can always integrate Magento with WordPress , and have the best of both worlds. 

Apart from these specific needs and particular WordPress usually brings both in terms of positioning, content management and robustness where feasible my thought is " how I can do this with WordPress . " 

Of course, you may have another opinion and your reasons, we would like to know and comment.

Posted By Unknown4:35 AM

Jul 5, 2012

Uploadify, including new security threat in WordPress plugins and themes

Filled under: ,

Uploadify, including new security threat in WordPress plugins and themes
If you already warned about the danger of Timthumb used as thumbnails management system for many WordPress themes, is now another script, that to facilitate uploading files , and used both as plugins WordPress themes, which threatens the integrity of any installation of WordPress unaware of its danger.

According to several reports from the web specializing in computer security Sucuri , Uploadify , a script that allows unregistered users without credentials in WordPress, upload files to the server, is a potential security threat, it can be used to open backdoors, inserting Trojans or whatever.

It is true that it is very useful and easy actions like anonymous users to participate in a community created for WordPress by uploading pictures or the like, but this same facility is its danger .

Popular subjects such as WooThemes , or used as plugins so Uploader , WP Symposium or 1 Flash Gallery , use this script for this task, so it would likely open doors to unwanted code injections . 

Find out if your subject or a WordPress plugin uses this script searches the entire directory " / wp-content / "folder and any subdirectories named" Uploadify "or file" uploadify.php "and if you're not sure use or you can dispense with it, turn it off immediately , and seek another solution for your visitors.

 You can also do a check using a script that created Sucuri. Download this file (sucuri_wp_check.txt), rename it by changing the extension txt to php and upload it to the root directory of your WordPress install and run it like this:

http://tudominio.com/sucuri_wp_check.php 


The script tells you aware of potential vulnerabilities as Uploadify Timthumb.

Posted By Unknown3:49 AM

Jul 4, 2012

free vector backgrounds images

Filled under:

free vector backgrounds images


Valentines day background - Stock Vectors
5 EPS | + JPG Preview | 31 Mb rar 

Valentines Day Background - Stock Vectors


Stock Vectors - Abstract Colorful Background 3
5 EPS l +JPEG Preview l 48.52 MB 

Stock Vectors - Abstract Colorful Background 3


Stock Vectors - Stylish Nature Background
5 EPS | 14.54 Mb 

Stock Vectors - Stylish Nature Background


SS Frame Vectors Background 4
4 EPS | JPG Preview | 12.6 Mb 

SS Frame Vectors Background 4


Mosaic Background 2 -Stock Vectors
5 EPS | + JPEG Preview | 23.1 MB 

Mosaic Background 2 -Stock Vectors


Stock Vectors-Vintage Floral Background
5 EPS | 29 Mb 

Stock Vectors-Vintage Floral Background


Stock Vectors - Red Background
5 EPS | + JPG Preview | 12 Mb 

Stock Vectors - Red Background


EPS | 4 files | 11 MB 

Sun Vector Background Vectors 2


SS Frame Vectors Background 8
5 EPS | JPG Preview | 31.0 Mb 

SS Frame Vectors Background 8


Vectors background #1615
5 EPS | JPG Preview | 19 Mb rar 

Vectors Background #1615


Vectors Background #1503 
JPG Preview | 11 Mb rar 

Vectors Background #1503


Vectors Background #1479
5 EPS | JPG Preview | 12 Mb rar 

Vectors Background #1479


Street Background Vectors
1 CDR | +JPEG Preview | 10 MB 

Street Background Vectors


Vectors -Background #1478
5 EPS | JPG Preview | 15 Mb rar 

Vectors -Background #1478


SS Frame Vectors Background 5
5 EPS | JPG Preview | 11.5 Mb 

SS Frame Vectors Background 5


Background vectors
11EPS | 5.31MB

Background Vectors

Stock Vectors - Card Background 216
EPS & JPEG Preview | 6 Mb
Stock Vectors - Card Background 216


Floral Background Vectors
10 EPS | +JPEG Preview | 10 MB

Floral Background Vectors

Posted By Unknown2:04 PM

Jul 3, 2012

Google opens the code Bob Moog Google Doodle

Filled under:

Bob Moog Google Doodle

No matter what they think some, it is clear that many issues are learned programming code written for another viewing. This makes sense, because if someone already wrote a routine on how to do something in particular, what is the point of inventing more and the black wire? In fact, it is clear to see third-party code help, not only do not waste time trying to do what others have already solved, but to learn to do things which at first had no idea how to program. Therefore, knowing that Google is putting the source code of any of your doodles is good news.

The doodles are those images that replace the sign 'Google' on the home page of the browser. Often they are simply the same sign is stylized in some way when it meets the birth of a character  or in honor of some of the things that made ​​a celebrity . It must be said that not only are images, but programs that run in your browser. We have seen remarkable things, a close, for example, that when swung open in the Google (named DDEL inventor of the zipper or zipper ). Thus, it is often interesting to understand how they work and how they are programmed.

Recently became doodle a moog synthesizer and could create ringtones. The good news is that it is now open source, so you can play with the software and modify (and improve) as much as you want or can. The idea is to give a complex example of how to use web audio technology.

One of the problems with using HTML is that technology does not work in all browsers, so that the doodle has the original parallel code written in Flash for the audio issues, which are not open source. This causes a problem in the layer corresponding to the interface to work with either audio or audio web flash, which is now redundant.

In practice, generally doodles work better with Chrome, clearly, until other web browsers incorporate audio technology. The Javascript code is not the easiest to understand. It was written using the compiler libraries Closure and uses some of that system. In other words, anything can be a simple task to understand this doodle.

Reference:  bob-moog-google-doodle .

Posted By Unknown9:00 PM

WordPress Backup to Google Drive

Filled under: ,

WordPress Backup to Google Drive

One of the most anticipated new Google service has been its storage in the cloud Google Drive , which after years of begging have finally become available to us, even if it was a mixture of Google Docs and storage space .

With 5 GB available for documents and files , either from the Web interface or from the desktop application (much better this) you can use those gigabytes to store whatever you want and have it wherever you are.

Well, just use that you want to give is to use Google Drive to backup WordPress .

What I use to use Google Drive as backup space for our wallets and WordPress database is the Google plugin for WordPress Drive .


The steps are:

(01) Install and activate the plugin

(02) In the settings screen, which has its own icon under the Check-called "Google Options", the first thing you ask a customer ID and a password client. For this go to this address from the Google APIs console .

Install and activate the plugin

(03) Follow the steps, the first register the ID project, APIs console until you get the IDs that you need the plugin. The steps are these:
Register the application ID where it says " Register "

Register the application ID


  • Once you have click " API Access "


Once you have click " API Access


  • There click the big blue button to connect via oAuth


There click the big blue button to connect via oAuth


  • In the popup choose an application name and if you give it a logo. Clicking " Next "


application name and if you give it a logo


  • The next screen leave it as is, " Web application "and open down the part where it says" More options "and in the first box ( Authorized Redirect urls ) put the URL you provided the first plugin settings screen, and second, in " Origins Javascript Authorized "the URL of your site


Origins Javascript Authorized


  • Clicking the button labeled " Create client ID "


  • And you have requested IDs, now you just have to paste them into the plugin configuration screen and click the login button


  • The following is a screen where Google asks you to confirm that give access to the new application to Google Drive

application to Google Drive

(04) Enter the IDs in the settings of the plugin

Enter the IDs in the settings of the plugin

(05) Configure the settings for backup, defining which folders you want to backup and if you do also backup the database on Google Drive. Also on this screen you can configure scheduled backups , daily, weekly, etc..

Configure the settings for backup

(06) Finally, it is good idea to backup first.

Actually, the plugin is simple to use, it takes you longer is to record the console API Google, but once done you dont need to configure more there, just copy and live programming quieter .

The result will be stored in compressed ZIP folder to your choice of Google Drive.

Posted By Unknown4:56 AM