scriptygoddess

Long title. Sorry. 😀
Someone wanted to use the show/hide comments script but have more than just the "show comments"/"hide comments" text in the same line. Basically – what they wanted was :

Permalink | Show Comments(3) | Add Comment | Trackback(2)

Where the "Show Comments" would drop down and do the show/hide comments – and it would only be there IF there had been comments to display. (for this last part, to use this script, you need to be running PHP on your page)

I know this is a very particular case – but there's pieces in here you could probably cut, mix, and match.
Read the rest of this entry »

(Sort of inline with the previous moblog post) All of Sam's posts are accompanied by a few lines of text that the phone automatically adds. (There's probably a setting to remove it, but we can't find it at the moment). So I used the following script to hide the text using php.
Read the rest of this entry »

30 Dec, 2003

How to set up a moblog?

Posted by: Jennifer In: Bookmarks

Sam (my better half) recently got a new phone with a camera – and asked me to set up a moblog for him. Having seen many moblogs – but never having the capability myself, I thought there must be many tutorials/services/scripts out there to set one up. I found a few (not as many as I thought) – and ended up deciding to go with MfOP2. It was a pretty simple setup – now he can just email the photos from his phone, and they appear on his site. (No, I'm not linking to it, because at the moment, there's a scary picture of me on there!) 😉

I know there's a few other services out there – have any of you tried them? What were your thoughts? Which one do you recommend?

(Yes, I'm aware that there's some promise of mobile blogging in MT 3.0 – but I'm impatient)

28 Dec, 2003

Spoof Check bookmarklet

Posted by: Jennifer In: Bookmarks

Several new scams are making their way around the internet (most recently a PayPal scam) that direct users to "spoofed" websites. These websites take advantage of a known flaw in Internet Explorer to display a fake URL in the address & status bar.

One of the suggestions from Microsoft to verify "suspicious" websites is to type in a Javascript string to verify that the page is hosted that URL displayed in the address bar. Given the length of the code needed to verify the address, this is a well-intended suggestion, but it's just not practical.

Kevin Donahue has created a quick and easy bookmarklet to help prevent spoofed URLs in Internet Explorer using the Microsoft suggested code. If you're an IE user this bookmarklet is a great way to verify the page you're viewing isn't spoofed, especially if you arrived there from an email message.

Visit Kevin's website for the Spoof Check Bookmarklet.

28 Dec, 2003

Calendar modification

Posted by: Jennifer In: MT Tips n Tricks

This is very basic – but I wanted to save the code somewhere. The default "Calendar" template has the dates linked to the last entry on that calendar day (mtpermalink) – but it would make more sense to have those links point to the DAILY ARCHIVE page (this assumes you have "daily" checked off as one of your archiving types in your weblog settings/archiving)
Read the rest of this entry »

Comments Off on Calendar modification

23 Dec, 2003

Yearly Comment Leader Script

Posted by: Jennifer In: MT hacks

I just implemented the comment leaderboard script available here, but I wanted to feature the *yearly* comment leaders as opposed to the monthlies. I tinkered with it and lo and behold, it actually worked!
Read the rest of this entry »

22 Dec, 2003

MT 3.0 coming soon…

Posted by: Jennifer In: Announcements

I'm sure this will quickly be making the rounds…
After a long time of no news about an MT upgrade – they say the beta of MT 3.0 is due in early Q1 2004… (and it will be a free download and upgrade)

11 Dec, 2003

Javascript: Pull-down menus with pop-up links

Posted by: Jennifer In: Script snippet

  • Original Script: The JavaScript Source
  • Corrections: The original was incorrectly pasted on the source page, so it failed to execute properly. I fixed that problem and also added an option for background and text colors on the pull-down menu. Scrollbars and toolbars were added to the pop-up links.
  • Instructions: Change the bold code to meet your site's needs.
  • Customizations: Go for it! The menu font size is set at 10pt by default, but I use 9pt on BB. The background color is white and text is black, but delete the options or change to meet your needs.
    Read the rest of this entry »
  • A line break can be created by either a new line (ie. "\n") or a carriage return (ie. "\r"). (more info here)

    In my particular use, I had a field that could take several email address that would be seperated by either a comma, semicolon or line break:
    Read the rest of this entry »

    Comments Off on Javascript: Removing new lines ("\n" or "\r") from text

    Featured Sponsors

    Genesis Framework for WordPress

    Advertise Here


    • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
    • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
    • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

    About


    Advertisements