heading

Validate email regular expression bug in WordPress and other CMSs

a ‘+’ symbol is a valid part of an email username, and can be used in debugging and SPAM control. I use username+websitepostedon@server.com (the real address being username@server.com) when I post my email on a site where it could get displayed for spam harvesters. However, most CMSs use this regular expression in their email address checking algorithms. “/^([a-z0-9_]|\-|\.)+@(([a-z0-9_]|\-)+\.)+[a-z]{2,4}\$/i” Please replace that line with this so the plus sign gets recognized. That is a much better practice. Thank you! “/^([a-z0-9_+]|\-|\.)+@(([a-z0-9_]|\-)+\.)+[a-z]{2,4}\$/i” Another option from Phil : I’ve always used these two in conjunction. The first one we don’t want, and the second one we do want. (@.*@)|(\.\.)|(@\.)|(\.@)|(^\.) ^.+\@(\[?)[-a-zA-Z0-9\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$

[Continue Reading...]

heading
by on
January 19th, 2004
in

While browsing through the WordPress forums, I came across a very nice site suggested by notthatugly (I dont know if notthatugly is the owner or not) but it deserves a mention on here. Web Design Tutorials has well written, lucid, versatile tutorials covering a variety of subjects, including HTML CSS JavaScript PHP Photoshop Illustrator ImageReady Paint Shop Pro Flash Miscellaneous And has a download section which includes Fonts Scans Templates: Buttons & Avatars Patterns Layouts Most of the stuff on there is very high class and is centered around code (which makes it a source for blog-friendly web design help) Thank them profusely if you use anything from on there.

[Continue Reading...]

by on
January 19th, 2004
in

I really liked the “Top 10 Posts” on Jeremy Zawodny’s Blog and wanted it for mine as well. So I wrote a small hack which keeps track of the number of times a particular post is clicked on (using the database) and then makes a list of these posts with the number of clickthroughs. You can see it in work on the sidebar. Here is a link to the hack instructions. This is WordPress 0.72 and 1.0+ compatible.

[Continue Reading...]

by on
January 18th, 2004
in

I was looking for a nice way to show how many people are looking at my site at a given time and I found a couple of different solutions, the easiest of which was not going to work in my case (because of caching and php accelerator). So I wrote a little hack for WordPress and other php based sites (using MySql) to tell “Who is Online right now?” Download the hack instructions here.

[Continue Reading...]

by on
January 15th, 2004
in

WordPress 1.01 Release Candidate is out. Get it here. It incorporates a lot of bugfixes and it addresses a lot of the installation and upgrade issues brought up in the last couple of weeks (since release of 1.0) Any help in testing this release candidate will be greatly appreciated.

[Continue Reading...]

WordPress hacks from Alex King updated for 1.0

Comments Off on WordPress hacks from Alex King updated for 1.0
by on
January 15th, 2004
in

Most of the WordPress hacks that Alex had written have been upgraded by him to support WordPress 1.0 Platinum (and later releases). These include: WordPress Mobile Edition – A PDA friendly interface for your blog. It’s (almost) XHTML compliant. Since Last Visit – Shows the number of new posts and comments (including indicators showing what posts and comments are new) since a visitor last came to your blog. WP Photos – This hack automates including photos with your blog posts. WP Group – This hack is lets you group a selection of posts on a single page. This hack is compatible with WordPress .72 as well. Send him a thank you if you use his work.

[Continue Reading...]

by on
January 14th, 2004
in

Matt (another Matt) has created a Photolog Hack for WordPress That gives MT another run for its’ money!

[Continue Reading...]

by on
January 14th, 2004
in

Glenn Slaven has a way to add RSS feeds directly to your FeedDemon installation through Internet Explorer. Good work and very useful. In case you havent checked out the 1.0 version of FeedDemon, download the trial. I LOVE the program but I cannot afford to buy it. (I was a beta tester, so I know)

[Continue Reading...]

Performance Tuning Moveable type

Comments Off on Performance Tuning Moveable type
by on
January 12th, 2004
in

Chris Cemper’s blog has a very detailed article on Performace Tuning Moveable Type. I was referred to this by Kevin Donahue So if you are an MT fan and would like your installation of MT to work a little harder and a little better, head over to Chris’ site. He has a lot of really good info to explore.

[Continue Reading...]

Obviously Powered by WordPress. © 2003-2013

css.php