
Adding Extra Registration Fields | Development | Jeff Farthing Web Solutions Adding extra registration fields with Theme My Login is extremely simple. It can be accomplished using the following three simple steps. 1. Add the new fields First, copy /wp-content/plugins/theme-my-login/templates/register-form.php into your current theme’s directory. 2. If you wish to require a field or perform any other kind of validation, you will do so using the registration_errors filter. 3. You will save the new fields by creating a callback function for the user_register action. The following is an example of adding first name and last name to the registration form. Add the new fields Add the following to your copy of register-form.php anywhere between the <form> and </form> tags. <p><label for="first_name<? Validate the new fields
ThemeRoller Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Lorem ipsum dolor sit amet, Nulla nec tortor. Nam congue semper tellus. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam congue semper tellus. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse scelerisque dui nec velit. Tooltips can be attached to any element.
7 Resources Every JavaScript Developer Should Know | Accidental Technologist A web developer today is expected to be an expert in every aspect of their craft and JavaScript is no exception. Years ago JavaScript seemed to be more of an annoyance, producing those trailers at the bottom of the browser. This has changed and JavaScript is a first-class citizen as a functional programming language and what seems like an unlimited number of resources covering the language. I have been doing more and more JavaScript lately, both on the front-end and some node.js on the back end. I wanted to share some great resources I use for what’s new with regards to JavaScript libraries, projects and general reference. 1. I am a fan of listening to good podcasts when I take a daily hike. This podcast is put together by the same creator of Ruby Rogues, another great podcast but instead talking about Ruby. Each episode covers a particular topic and goes into detail about the pros and cons of using the technology. 2. 3. This is a weekly newsletter put out by Peter Cooper. 4. 5. 6. 7.
soundjs Recent Updates Follow @CreateJS December 2013 SoundJS 0.5.2 available. November 2013 SoundJS 0.5.1 available, which addresses webaudio issues introduced in FF25 September 2013 SoundJS 0.5.0 available.HTMLAudioPlugin - fixed an issue with not removing tags from DOM when removing src from SoundJS using removeAllSounds etcDate: April 10th The Story Why we built SoundJS About SoundJS Consistant cross-browser support for audio is currently a mess in HTML5, but SoundJS works to abstract away the problems and makes adding sound to your games or rich experiences much easier. Video for Everybody! Video for Everybody is simply a chunk of HTML code that embeds a video into a website using the HTML5 <video> element, falling back to Flash automatically without the use of JavaScript or browser-sniffing. It therefore works in RSS readers (no JavaScript), on the iPhone / iPad (don’t support Flash) and on many browsers and platforms. Thanks to the rapid adoption of HTML5 video happening right now, Video for Everybody isn’t the only solution around. How It Works If your browser supports it, HTML5 video is used. If HTML5 video is not supported, Adobe Flash is used. Finally, if all else fails, a placeholder image is shown and the user can download the video using the links provided. VfE different than any other Flash video embedding method. This is all done without JavaScript and requires two video encodes, one Ogg file, and one MP4 file. It’s compatible with HTML 4, HTML5 (valid markup), XHTML 1 and additionally also works when served as application/xhtml+xml. The Code IMPORTANT Notes Using
Add Local Avatar An example of the main avatars administration page. Manage users global and local avatars etc. The avatars options configuration section of the main avatars administration page. The WordPress profile page shows the new floating section showing the current avatar. Example of the optional simple sidebar widget allowing users to manage their own avatar. jQuery: The Write Less, Do More, JavaScript Library The Basics of jQuery ↩ Andrée So, a while back I had an internal presentation at work about this topic. A few good friends in the community took a look at my slides, and they thought it would make a nice blog post because “there can’t be too many good posts about jQuery introduction and best-practices.” Whether this post is going to be good or not, is up to you but I’ll try to outline what jQuery is, and how you can start working with it. For most of you, this will just be a re-cap and probably not provide much new information but can perhaps serve as a reference post if you ever need one. What is jQuery? jQuery is a client-side JavaScript library that abstracts away browsers’ different implementations into an easy-to-use API. Recently, it also set a new usage record with being used on 54 per cent of Alexa’s top 17,000 most visited websites, while Flash was “only” at 47 per cent. How do I use jQuery? First off, you should learn some basics. jQuery, like many other libraries, uses the global $ variable as a shortcut.
videolink HTML5 Video - The Developer Community and HTML5 Video Library The Open Video Conference is an annual event that brings together video creators, intellectual property scholars, and developers for a weekend of creating, remixing, and hacking. The conference was combined with the Foundations of Open Media Software workshop which attracted the developers of Opera, Firefox, and Webkit (Perhaps Microsoft should keep an eye out for next year’s conference?). 2011’s OVC departed from last year’s monolithic format of session on top of session, opting for a smaller crowd with tracks devoted to getting things done. This post focuses on the development sessions at #ovc2011. Popcorn.js Popcorn.js was the focus of a few working groups. Fork Popcorn.js on GitHub. Popcorn Maker Butter, the Popcorn authoring tool is being rewritten by Bobby Richter from the ground up and rebranded as the Popcorn Maker. Try it now, or Fork the Popcorn Maker on GitHub. Remixer Popcorn Kernel Join the discussion on freenode channel #popcorn-kernel WebRTC read more … webGL In Closing
How to Quickly and Easily Customize the WordPress Comments Form Many WordPress themes utilize the standard WordPress comments form. Introduced in WordPress 3.0, it’s meant to be a simple tag to output a complete commenting form within a theme template. Making minor changes to the form might seem baffling at first, but it’s really not too difficult. Step 1: Don’t hack the core. Here’s the most important tip: Don’t edit the /wp-includes/comment-template.php file. Step 2: Edit the Comment Form Tag. Open the file containing the comment form tag. More than likely the theme file that you’re looking for is going to be comments.php. There are some some different parameters you can pass to the function for modifying the form. If you want to remove the HTML text that follows the form (“You may use these HTML tags and attributes…”), here’s how to modify the tag: Not so difficult, right? You can change the text to be something more creative than “Comment”, such as “Discuss this post” or “Have something to say?”
Fancybox - Fancy jQuery lightbox alternative