Author Archive

WordPress 1.0+ “blog with right click in IE” fix

2
responses
by
on
January 21st, 2004
in
General

Here is a small temporary fix as emulated from the Nucleus site (one of their answers is flawed and their own code has bugs, oh well) Create a new file on the root of your blog called rightclick.php and put the following in there (replace open(‘http://… with your own servername): <script type=”text/javascript” defer=”defer”> doc=external.menuArguments.document; lt=escape(doc.selection.createRange().text); loglink=escape(external.menuArguments.location.href); loglinktitle=escape(document.title); open(‘http://yourserver.com/yourweblogdirectory/wp-admin/bookmarklet.php?text=’+lt+ ‘&trackback=1&pingback=1&popupurl=’+loglink+’&popuptitle=’+loglinktitle,’bookmarklet’,’ scrollbars=no,width=480,height=590,left=100,top=150,status=yes’) </script> Now create another file on your desktop called wordpress.reg and put the following in there (again replace the varibles please): REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &WP : Mindful Musings] @=”http://yourserver.com/yourwordpressdirectory/rightclick.php” “contexts”=hex:31” Now double click on the wordpress.reg file to add the information to the registry and the right click in IE should work at that point.

[Continue Reading...]

Validate email regular expression bug in WordPress and other CMSs

4
responses
by
on
January 19th, 2004
in
Code

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...]

Web Design Tutorials

2
responses
by
on
January 19th, 2004
in
Weblog Add-Ons

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...]

Top 10 Posts hack for WordPress

9
responses
by
on
January 19th, 2004
in
WordPress Hack

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...]

” Who is Online ” hack for WordPress and other PHP based sites

4
responses
by
on
January 18th, 2004
in
WordPress Hack

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...]

WordPress 1.01 Release Candidate

1
response

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

No
responses
by
on
January 15th, 2004
in
WordPress Hack

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...]

Photo Log Hack for WordPress

1
response
by
on
January 14th, 2004
in
WordPress Hack

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

[Continue Reading...]

Add an RSS feed to FeedDemon through Internet Explorer

1
response
by
on
January 14th, 2004
in
Cool Scripts

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...]



Obviously Powered by WordPress. © 2003-2013

css.php