23 Feb, 2003
Posted by: kristine In: Bookmarks
Tubedogg at Geeksblog put together a PHP script for MT which will close comments on old entries based on a date/time: Close Comments. Requires MT 2.6 or higher running the MySQL backend. There's been a lot of requests for this type of thing at the MT Forums in the past, and now that MT2.6 has the option to close comments instead of just having them on or off, this is possible
23 Feb, 2003
Posted by: Jennifer In: Scripts
One of the reasons I had taken smilies off my site was because I didn't like the look of all these smilies on my comment form. Pruning my list of smilies was difficult, but the more smilies I had, the more "messy" the form. Also, with tons and tons of smilies, that meant writing a TON of code to make each one "clickable." Well, I think I've come up with a solution…
This script will launch a "smilie palette" that will update the comments form on the "parent" window with the smilie.
To take it one step further, I also created a php script that will load all the images from your (smilie) folder on the page… so you can have as many smilies on that palette as you can fill in your folder, and you don't have to sit there writing the code for each one as noted in the original javascript smilie script.
(also – a side note: Jason's (of Jason's Smilies) moved. Please update your bookmarks.)
Read the rest of this entry »
23 Feb, 2003
Posted by: kristine In: How to's
Oscar Hills put together a tutorial at the MT Forums about using the Live Preview script from over here together with clickable smilies which show up in the Preview. With all the talk about smilies lately, I thought it was worth linking over here too
21 Feb, 2003
Posted by: Jennifer In: Bookmarks
21 Feb, 2003
Posted by: Jennifer In: Bookmarks
Hello – my name is Amy – and I am a font snob. I spent a bit too long in professional print design for my own good, and learned the hard way to tell good fonts from bad ones.
When I saw some referers in my logs to txgraphics.net, I took one look at that header and fired off an email to the person who owned the site to find out what that font was.
It turns out that font's name is Scriptina, and the designers knew what they were doing – the original scriptina comes with accented characters, and there is an 'alternates' scriptina font which has all of the common ligatures (fi, ff, tt, etc.). It's available in both PC and Mac format.
The rest of the fonts are available at hardcovermedia.com/lab/, and they're looking just as promising. They're freeware, but it's difficult to find freeware fonts of this quality – or quantity.
I'm just flabbergasted by these fonts – as someone whose name contains a non-alphanumeric character, I'm always tickled to death when I can actually use a font to display my name. I will now go back to my little corner and squeal happily for a few more minutes. Thank you.
I stumbled across opensourceCMS via MetaFilter, earlier this evening. Although it focuses completely, as its name suggests, Open Source content management systems, it does include access to working installations of pMachine, Nucleus and b2.
The site also includes installations of a number of groupware, forums, portal (slashdot-style) CMSs, and eLearning software.
If you are comparison shopping for a CMS, this is definitely a site to visit.
19 Feb, 2003
Posted by: Jennifer In: Bookmarks
The post below brought up some questions about how to protect your site/images, etc. One request was to prevent right clicking. So here's a script that does that: Disable Right Clicking. (Please note: that script is not "fool-proof" – there IS a fairly easy way around it). Also requested was a way to prevent images from being downloaded or linked to directly. I haven't tried this out (I will tonight) but I found this script that may do the trick: php script that protects your images.
If it works, I'll post the "demo" link here so you can see them in action. (If it doesn't – then I'll either yank this post or keep it up if there's some useful commentary)
Update: Ok, it works, sort of. You won't have people linking to your images directly, they can't type the image path directly into their browser… BUT they CAN download the image if they get past the right-clicking thing…
Here's a demo
Update 2: Jason came up with a better way (see comments of this post) Rather than disabling right clicking, make a table of one cell the same size as your image, with a 1 pix transparent gif, set to the same size as the image. place the image in the background of the cell by using the php script above: background="chimage.php?image=file.gif". Modify the chimage.php script (get the full code from the link above) as such: Look for this line: if (empty($referrer) || isreferrerokay( $referrer, $validprefixes )) { and change it to this: if (isreferrerokay( $referrer, $validprefixes )) {. Here's a demo of that.
18 Feb, 2003
Posted by: Jennifer In: Bookmarks
There's already a few posts on here about htaccess – but here's one more.
Blocking linking URLs
Essentially the link above says this:
SetEnvIfNoCase Referer "^http://www.google.com/" BadReferrer
order deny,allow
deny from env=BadReferrer
That will forward anyone linking to your site to a 403 access denied error page.
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.google.com/
RewriteRule /* http://www.yoursite.com/restricted_url.html [R,L]
That will forward anyone linking to your site to the http://www.yoursite.com/restricted_url.html page.
If you are using MT2.6 or 2.61, you'll want to go over to the MovableType page and upgrade to 2.62, as it is an urgent issue being fixed. If you are in 2.51 or lower, you can go ahead and upgrade to 2.62 without any problems.
Comments Off on MT2.6 upgrade