The Designspace http://thedesignspace.net/ My daily explorations, troubleshooting, solutions and discoveries. en-us ellen@thedesignspace.net Thu, 20 Jun 2013 23:08:07 -0500 Movable Type: How to emulate an MTEntryIfNotExtended tag http://thedesignspace.net/MT2archives/001040.html Wordpress: SimpleLDAP plugin updated to work with v3.5 http://thedesignspace.net/MT2archives/001035.html The SimpleLDAP plugin by Cliff Griffin is exactly what I needed for a proof-of-concept WordPress site I'm working on, but it hasn't been officially updated in a while and was not entirely compatible with WordPress v.3.5. I've updated the plugin to eliminate the errors I was getting, and it now works fine on my site, but it could probably use... Mandelbulb 3D Parameter: Metallic Fountains http://thedesignspace.net/MT2archives/001005.html For the Mandelbulb 3D enthusiasts out there, I'm putting up some of my best images along with their formulas. Click here to see the complete list. Parameters for this one are below the fold.... Use BBEdit to replace the entire contents of multiple files http://thedesignspace.net/MT2archives/000971.html A few months ago, I needed to revise an HTML file that is used many times across a large website. Most of the key code associated with this file is contained in centrally-located includes, but as luck would have it, this time the entire file needed to be revised - even the user-customized bits. That meant that almost a thousand... .htaccess tricks Allow public access to a subdirectory http://thedesignspace.net/MT2archives/000855.html I run a little site that is mostly access-protected. If it is viewed from a location within the company IP, no password is needed. If viewed from outside the company firewall, it will ask for a user-id and password. However we wanted to make one subdirectory public.... JW FLV player with Javascript playlist http://thedesignspace.net/MT2archives/000734.html This is an example of how to create a javascript-based Playlist selector for a JW FLV player. The playlist selector menu has 3 sections that toggle open and closed when you click on them. This allows the user to switch playlists, choosing from various topics. The source code has not been cleaned up, but you should be able to... .htaccess: allow anyone from one IP but require password from everywhere else http://thedesignspace.net/MT2archives/000725.html If you want your linux-hosted site to be accessible by anyone coming from a particular IP address, as say from within a corporate firewall, but also accessible from anywhere else as long as they authenticate with username and password, use this formula in the .htaccess file for the directory: #this section may need to be modified to suit your password... JW FLV Player and Red5 apparent buffering bug http://thedesignspace.net/MT2archives/000700.html Update 12-18-09: Longtailvideo has apparently resolved this bug with its player v.4.7beta. At this time v. 5 does NOT have the fix in it. The code changes that fixed the bug can be seen here: [Changes to RTMPModel.as] A few months ago, we installed Red5 0.7.0 on a Windows server to stream Flash video inside the firewall. This server... Using toggle javascripts to build an FAQ page. http://thedesignspace.net/MT2archives/000699.html FAQ pages are sometimes requested in our learning modules so we've built in the scripts to create an easy- to-read, easy-to-use FAQ by applying simple CSS classes to elements on the page. When the FAQ page loads, all the questions appear in a collapsed view which can be quickly scanned. On clicking any question, its associated answer expands and pushes... A better way to make a custom Wordpress-style Flickr badge http://thedesignspace.net/MT2archives/000696.html I just found this while experimenting with the Flickr badgemaker. It's a much more customizable way to get nice results than the method I posted earlier. Go to: Create your own Flickr badge and make the selections as specified: Choose HTML badge Select the content you want to show. Would you like to include your buddy icon & screen name... JW FLV player that switches playlists on the fly http://thedesignspace.net/MT2archives/000690.html The JW FLV player is a versatile, customizable and scriptable flash video player, available from Longtailvideo.com. The player was recently upgraded, and many details in the scripting and playlists had to change to remain compatible. I'm posting examples of some of the players I've created lately, using the latest version of the player and SWFObject. Versions Player: JW FLV player... JW FLV player 4.6: Two or more players on a page http://thedesignspace.net/MT2archives/000689.html The JW FLV player is a versatile, customizable and scriptable flash video player, available from Longtailvideo.com. The player was recently upgraded, and many details in the scripting and playlists had to change to remain compatible. Since it can be difficult to figure out the details of the necessary changes, I'm posting examples of some of the players I've created lately,... Create buttons for your site using nothing but Glossy.js http://thedesignspace.net/MT2archives/000606.html Glossy.js is one of a collection of scripts written by Christian Effenberger that exploit the power of Javascript, Canvas and vml to create effects previously available only in Flash. In this demo, I use the programmable version of Glossy (cvi_glossy_lib) to generate button-bars. In this demo, I use the programmable version of Glossy (cvi_glossy_lib.js) to generate the buttons using nothing... Make your own custom code for a Wordpress-style Flickr badge http://thedesignspace.net/MT2archives/000603.html NOTE: This post has been superceded by a better method to create a custom badge posted here To create a nicer looking Flickr badge, use Flickr's badge creation tool to get the right user code and content codes for your badge. Go to: Create your own Flickr badge and make the selections as specified:... Execute an asp function within an HTML page using #exec http://thedesignspace.net/MT2archives/000597.html