scriptygoddess

13 Jul, 2004

In Context/Full Page preview

Posted by: Jennifer In: WordPress Bookmarks

Shelley posted all her wordpress hacks – and one that I've been particularly interested in (and desperately needing) is the in context/full page preview (ie. preview your post – as it would appear on your site – before publishing).

(I still have to read through the rest of that post – I'm sure there's more I'm going to be doing)

[via Photomatt]

Comments Off on In Context/Full Page preview

08 Jul, 2004

Recent Commenters and Commented on posts

Posted by: Jennifer In: WordPress Plugins

UPDATE There's been a bit of debate about the need for a central database of plugins. There's a lot of developers now developing plugins, and it's quite a task to find them as a user, as well as a developer to see if something you want to do has already been done. In any case – this plugin has apparently already been done by coffee2code.com (with only some minimal differences).

I'll leave my post up in case it's still of value to anyone….

Christine asked for a plugin so that she could have a list of recent commenters on her blog (and the list needed to exclude herself) – as well, she wanted a way to show the posts that have been commented on most recently. While the two requests are different, I still put them in one plugin. (I want to note that this plugin was based heavily on the recent comments plugin by mtdewvirus.com)

Current Version: v 1.0

So here's the plugin – installation and use are pretty simple:
Read the rest of this entry »

Another find from weblogtoolscollection – This plugin grabs custom content like "moods" and "listening to".

Get Custom plugin

There's a few other plugins on that site I want to take note of:

Text Replace Plugin (for making shortcuts – like always having :wp: show up on your site like: WordPress

Category Images – displays an image for each category associated with a post.

05 Jul, 2004

Password protect entire blog

Posted by: Jennifer In: WordPress Bookmarks to Plugins

This plugin will password protect your entire blog so that only registered viewers can see it.

Registered Users Only

[via Weblog Tools Collection]

04 Jul, 2004

DaveSource Marginal Hacks

Posted by: Jennifer In: Bookmarks

DaveSource Marginal Hacks

[via Weblog Tools Collection]

Looks like there are a ton of scripts on there. Not the easiest interfact to read through, though.

04 Jul, 2004

Auto-Shut Off Comments Plugin

Posted by: Jennifer In: WordPress Bookmarks to Plugins

I looked around for a plugin that would automatically set comments to closed after a set number of days. I didn't find any, but I did find some code at the WordPress wiki that was useful, so I turned it into my own plugin.

It checks for posts to be closed every time the database is updated, so it doesn't require a cronjob.

04 Jul, 2004

Google Hi-Lite fix

Posted by: Jennifer In: WordPress Hacks

Peggy emailed me about a problem I was having on this site with the Google Hi-Lite plugin that's included with 1.2. She did all the searching to find the fix the problem (which was posted on huddledmasses.org here ) (So all credit for finding this goes to her) Certain searches (I think ones that contain a backslash – you know how WP eats these for breakfast) 😉 will cause errors on the page.

Here's what you need to do to fix it. Look for these lines (should be Orig lines 104, 105, 106, 107)

if (!preg_match('/<.+>/',$text)) {
$text = preg_replace('/(b'.$term.'b)/i','<span
class="hilite">$1</span>',$text);
} else {
$text = preg_replace('/(?<=>)([^<]+)?(b'.$term.'b)/i','$1<span
class="hilite">$2</span>',$text);

Change those lines to this:

if (!preg_match('«<.+>«',$text)) {
$text = preg_replace('«(b'.$term.'b)«i','<span
class="hilite">$1</span>',$text);
} else {
$text = preg_replace('«(?<=>)([^<]+)?(b'.$term.'b)«i','$1<span
class="hilite">$2</span>',$text);

Comments Off on Google Hi-Lite fix

02 Jul, 2004

Force Valid Email Addresses

Posted by: Jennifer In: WordPress my-hacks additions

In WordPress, you can enable an option that requires commenters to supply a name and an email address, but oddly enough, it doesn't validate the email address submitted. This is simple enough to add, as WordPress already has a function for validating email addresses, and because it can be done via a REALLY simple plugin.
Read the rest of this entry »

02 Jul, 2004

WP Moblog hack

Posted by: Jennifer In: WordPress Bookmarks to Plugins

Got a new PC-Phone – this one comes with a camera. So I've been looking for a way to do moblogs with WP – and found this:

Space Monkey Mafia – Moblog Hack

(Haven't tested it out yet – but probably will tonight) Works like a charm! 😀 One note if you try to use this script (a mistake I made, someone else might make the same…) in smm-getPop.php, there's a line you're supposed to edit for $tmp_folder – it doesn't say this – but this is the server path to the temp folder… :)

Neil had asked about adding a "remember me" checkbox to the login form. The idea here is that if you're really forgetful (like me! Ack!) and you know you're really forgetful – and you know you're probably going to forget to "logout" before closing your browser – if you don't click the "remember me" checkbox – then when you close your browser, you will be automatically logged out of WordPress. (This is good when you're working on a shared computer)

It does require some core WP editing – minor tweaks to just the wp-login.php page – but wanted to warn you up front (I have to apologize for the core edits. I'm more than welcome to hear suggestions of how one can do this WITHOUT doing the core editing – but I just can't come up with it)
Read the rest of this entry »

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