Archive for February, 2004

2/29/2004 ↓

A forum post that gets answered 0comments

If you like this post, please subscribe to our RSS feed to read our new posts every day.

I have long had a pet peeve with forums and discussion boards. People simply do not pay attention!!

There are a few simple rules that should be adhered to with every forum/BB posting (if you want your questions looked at/answered)

Numero Uno: Please search the forum first to see if your question has already been answered. Many people that want to answer your question will simply ignore it if your question has been answered succintly and the problem solved in the recent past. Almost every (caveat) forum has a stupid search button for just that purpose! The same questions appear over and over again, albeit with ridculous disclaimers like “Sorry if this is a repeat post, I was too lazy to look it up so I am posting again and again and again. Sorry again, please forgive me. I am new to all of this.” Who cares? It is common sense to look for a search and see if you can find what you need. About 7 calories…TOPS!

Numero Dos: Provide ALL, I repeat, ALL information about your problem. This has been said over and over again but does not seem to sink in. If you are getting a “Run Time Error”, simply mentioning that there is a run time error gives people no clue. (of course, if you are using Windows as a Desktop OS, try changing that first!) Give supporting information, people. If this is a web app, say you are using Internet Explorer, this is the URL of your app, the version number, what created the problem, what you think the problem might be. A single line post like “freaky error, very interesting, HELP HELP HELP” reminds me of my physics advisor in college. If you expect someone to spend time reading your post and find some more time to help you out, your one liner will get ignored. You dont care enough to type some words, people dont care enough to answer your questions! Please post code, links to stuff, information, browser, OS, server and anything else you deem pertinent. There can never be too much information in a BB question.

Numero Tres: If you are seeking help, or “participating in the community” in any way (such as submitting bugs, providing feedback, announcing your engagement to Elmo) QUIT BEING A FREAKING TROLL! Any community that you feel that strongly against, you should not be visiting anyways! In real life, that kind of action would land you in jail and worse, land you a job as someone’s princess! Come on. If you dislike something or someone that much, move on, go somewhere else. If you kick someone in the nuts, how do you expect them to turn around and help you get off your lazy ass? Trolls are unappreciated. Period.
PS: And if you think posting as anonymous is protecting you, think again. If you are connected to the Internet and are not posting “telepathically”, you are traceable and quite vulnerable (unless of course, you use an Amiga, then I give up!)

Numero Quatro: If you dont like an answer, instead of being a jackass, be respectful. Ignore it if the answer was a troll. That is hard to do, I concede. But that behaviour is necessary. Trolling is an occupation for many people (spammers). Your retort, however, can poison the discussion and the end result is that you dont get the answer you obviously wanted.

Numero Canc: Unless you are going to add ANYTHING to the dicussion, dont add to it! Sounds obvious doesn’t it? One liners that say “me too! I wish this would work!” are useless. Leave them out! They add traffic and confusion and people that want to help, are turned off by them. So if you want an answer to your question (and no-one has answered yet), leave it alone and check back in a few. Give it a few days. Rest your hiney. If there is no answer in a few days, then try your 2 bits. In extreme cases when you just cannot wait (not because you are itching to get your porn dialer working before you roommate, but more pressing reasons such as your pet rock dieing!!) find an IRC channel or email one of the people from the forum asking for quick help.

Numero Six: “Thank you” or “worked great, thanks for the response” are, on the other hand, welcome and greatly appreciated. Even people that help out on forums, BBs and email lists need feedback and a good pat on the back is always welcomed! Give some thanks for heaven’s sake. If you got your little doodad to work, go back to the forum that helped you and tell them that it worked well. Threads and emails that are left hanging add to the traffic of the forum but never authenticate the solution, leading to redundant posts (see Numero Uno). Spend another 7 calories, hit your back arrow a couple of time, and tell people that the solution suggested worked (or failed as the case may be, failed ones come back though) Dont be selfish. People are spending their time helping you, give some back.

Forums are like P2P (Kazaa, Bearshare etc. Free for all file sharing). If you dont give, dont expect a lot in return!

Tags:

WuhWuh 0.1 Demo 4comments

I have put together a “hacked version” of WordPress 1.1 alpha and would like to get some feedback on it before I package it for release. Here is the link to “WuhWuh” version 0.1 (pronounced woo’aah woo’aah) ;)
Some of the prominent features include simple 3 step installation and a built in theme manager.

Username for login: admin
Password: password

I have a long functional document (explaining all the hacks, functions and ways to use them as well as the changelog and other explanations) along with a wish list and upcoming enhancements. If this does catch on, expect a seperate set of forums (to prevent confusion the original WP forums) and a release cycle of once per major release of WordPress.

And ummm…people…dont change the password! That is just stupid to do. It is my database, my server, my control. It just makes life a little more difficult for other people trying to log on. So…ummm….grow up!
Still needs coded: an importer for older WordPress entries.

Tags:

2/27/2004 ↓

Amazon Media Manager Hack for WordPress 3comments

Denyer has released the Amazon Media Manager hack for WordPress. There are lots of cool built-in features, they include:
* Associate ID support
* Display by media type: Book, DVD, Music or any combination
* Display Most recent, recommended or random items
* Filter items by personal recommendation
* Customisable output similar to standard WP template functions

In case you do not want to use your own associate ID, you could use Denyer’s (which would make him a few extra bucks for his effort). The source code is, of course, open source and can be used with other PHP based weblogging systems and PHP enabled webpages (with a little modification). Denyer is an engineer by education (though he chooses not to work in that field) and writes very clean and well commented code. To add to his laurels, he is a wonderful photographer! If you use his hack, find a way to thank him for his work.

You can see it at work on the blog the blog of prolific and pretty Kitta from down under.
You can download the hack and get further information about it here.

Tags:

2/23/2004 ↓

Updated Post Counter and Top 10 Posts for WordPress available 3comments

As before, this hack lets you count down the top 10 posts in WordPress (any version) but there is now the added feature of being able to display the number of times a single post is clicked on. You can download the instructions for the hack from here. Look below the comments link for each post on this blog to see what this might look like.

Tags:

Tasks Pro 1.0 Released by Alex King 0comments

As noted on his blog, Alex King has released an updated version of Tasks Pro (1.0 now). He has worked very hard on this project and it really is a gem! Tasks management on the web does not have to be bloatware and this set of scripts proves just that.
Some of the features of 1.0 include multiuser functionality and a list of changes from previous versions can be found here. You can demo Tasks Pro 1.0 here and read more about it here.

Good job Alex (as always) !

Tags:

WordPress MySql dump files 3comments

In response to recent queries about an existing MySql dump file for WordPress, I have created a couple.
To use these MySql dump files, the wp-config.php file should show the db perfix to be ‘wp_’ Create a database (and make sure your database connection options are setup in wp-config.php) and then import in the sql file through a command line MySql client or through a tool like phpMyAdmin. The admin username is ‘admin’ and password is set to ‘password’. Remember to change the admin password after you login. Look for further instructions here:http://wiki.wordpress.org/index.php/Restore%20Instructions

Here is a link to the WordPress 1.01 Miles dump file:
http://weblogtoolscollection.com/b2-img/wp1_0_1_miles_sqldump.sql

Here is a link to the WordPress 1.1 Beta (latest nightly) dump file:
http://weblogtoolscollection.com/b2-img/wp_1_1_beta_sqldump.sql

Please read the next part before downloading
:
There is an item that I did not think about and that is my mistake. Once you download these files, before you import them (applies to both the dumps) open the text file and do a search for
http://dinki.mine.nu/wp
and replace that link with the siteurl for your WP installation (leave the single quotes intact)
Again, sorry for that oversight.

Tags:

2/22/2004 ↓

Weather Hack for php enabled Weblogs 0comments

This is a very cool hack from SonincPling.net. It uses the latest weather information to post the weather of the blog writers’ city (?) Looks very nice and is well written. I was going to wait till it was valid XHTML, but in myopinion, it does not matter.
Here is the quote from SonicPling.

It displays the current weather conditions for a specified station with a pretty icon.
See it in action here: http://www.sonicpling.net
With all options enabled: http://www.sonicpling.net/weather/weather-full.php
Get the zip file here: http://www.sonicpling.net/weather/weather.zip
there’s a csv file included that list stations

Tags:

2/18/2004 ↓

Styling link titles - Dunstan Orchard 1976design.com 0comments

I have to post a link to this because I lose it all the time. This is Dunstan Orchard’s Nicer Titles CSS code. Very pretty, useful and aesthetically pleasing. Think of them this way, before you click on a link, as soon as you point to it, the page provides a nicely formed description of what the link points to. Pretty? Sure! Useful? Heck Yeah!

Nice Titles Link

Tags:

2/17/2004 ↓

Nicer archives with sorting by category for WordPress 17comments

I had modified Codegurl’s nicer archives to work with 1.0+ but had forgotten about the mutiple categories stuff. I tried to work around it today to no avail and it was bothering me enough that I finally gave up and redid the archives to work with mutiple categories.
You can see it at work at http://weblogtoolscollection.com/wordpress/narchives.php

Since posts have multiple categories, they show up under multiple times in archives. In other words, a post listed under “general” and under “code” will show up twice in these archives. There is a sort option for ascending and descending, sort by author, date, title, category (of course). I also took the libery of integerating it into the WP framework of pages so it follows the same CSS file and shows the menu.

Please post bugs on here.

Peace

Download the source here: http://dinki.mine.nu/weblog/b2-img/narchives.phps

Tags:

2/15/2004 ↓

Simple news feed for links list in WordPress 6comments

I had a question in the WordPress forums about my links list RSS feed reader and I wrote up a little tutorial for it. Check out the links list in Mindful Musings for a better idea of what I mean. So here goes.

I added the RSS 2.0 feed with each of my link manager links (updated them manually, look inside each link under link manager). Then in links.php (in wp-includes folder) I found this line (inside the get_links() function) that shows the updated links:
if ($show_updated && $row->recently_updated) {
echo get_settings(’links_recently_updated_append’);
}

and replaced it with this:
if ($show_updated && $row->recently_updated) {
echo get_settings(’links_recently_updated_append’);
if ($row->link_rss!=”") echo “  <span style=\”border-bottom: 1px dashed #ccc;
padding-bottom: 0px; font-size: 85%\”><a href=\”newsreader.php?url=$row->link_rss\”>RSS</a></span>\n”;
}

I find this line in the same file:
$sql = “SELECT link_url, link_name, link_image, link_target,
link_description, link_rating, link_rel,
$length $recently_updated_test $get_updated
FROM $tablelinks
WHERE link_visible = ‘Y’ ” .
$category_query;

and replace it with:
$sql = “SELECT link_url, link_name, link_image, link_target,
link_description, link_rating, link_rel, link_rss $length $recently_updated_test $get_updated
FROM $tablelinks
WHERE link_visible = ‘Y’ ” .
$category_query;

Finally, I uploaded this file to the root of my blog. http://weblogtoolscollection.com/b2-img/newsreader.phps

This is a very simple newsreader I wrote for educational purposes (Figuring out an ultra liberal feed parser for php). It takes one variable for now. The variable is ‘url’ and it is the RSS (2.0 preferred) feed of the blog. For example, here is the news feed to my own blog. Notice how the url works:
http://dinki.mine.nu/weblog/newsreader.php?url=http://dinki.mine.nu/weblog/wp-rss2.php

The final product shows all the rss feed links for recently updated blogs alongside the links list. I use it as my own “blogroll” news reader.

Tags:

Finished some preliminary work on WordPress Caching 4comments

Here are some examples:
Here is a WordPress 1.1 beta blog showing 300 posts.
Here is the same blog, cached with my method

Take a quick look at the bottom of the page for the generation times. The number in small letters in the center is for the main entries to be generated and displayed and the larger number to the left is the time for the whole blog to be generated.

A little more work is required to make this a functional hack. The categories and comments sections (along with archives and others) do not use the cache at this point to display the pages. Only the index page uses the cached entries and produces all the right links. Consequently, some more work is required to update the cache when some information is edited or added. This could include adding or editing a post or addition of comments and/or trackbacks. However, with a larger numbers of posts and links, this cache speeds things up quite a bit from what I can tell. I had to mess around with quite a few of the functions to get them to work correctly with storing a variable instead of echoing them. If someone is interested in the code, leave a comment or email me.

What do you think? Is this something worth investigating further?

Tags:

2/14/2004 ↓

WordPress Backup/Restore new version available 20comments

There is a new version of Wp Backup and Restore available which is completely integerated into the WordPress admin interface and controlled by user levels.

Features include, as before, backup and restore of your WordPress database on the fly and backup of your WordPress directory for local storage. Very easy install. Please post bugs on here.

Peace

Download location: http://weblogtoolscollection.com/b2-img/wp_backup.zip

There is an update for users that have “passthru” disabled on their servers for security reasons.
You can download it from here:
http://weblogtoolscollection.com/b2-img/wp_backup11.zip

Tags:

WP Blacklist Comment Spam Filter Update 3comments

This update has a more inclusive (read updated, more entries) list of spammer domains and is compeltely integerated into the wp-admin interface.
The updated script allow a user to import new blacklists both from exported WP blacklists as well as MT Blacklists without fear of having multiple entries.
There is also a new export feature that exports your blacklist to a text file which can be shared with other users.
Another new feature allows you to add single domains and regular expressions from new spam comments that the blacklist did not catch.

Download the updated zip file containing the whole WP Blacklist application from:
http://weblogtoolscollection.com/b2-img/wpblacklist.zip

Tags:

2/10/2004 ↓

Ping PubSub from your WordPress or Moveable Type blog 3comments

Due to popular demand, here is the function to ping the PubSub RSS crawler from WordPress. (MT follows)
Add this function to your my-hacks.php:

// pings PubSub.com RSS Crawler
function pingPubSub($blog_ID = 1) {
// original function by Dries Buytaert for Drupal
global $blogname,$siteurl,$blogfilename;
if ((!(($blogname==”my weblog”) && ($siteurl==”http://example.com”) && ($blogfilename==”wp.php”))) && (!preg_match(”/localhost\//”,$siteurl))) {
$client = new xmlrpc_client(”/ping”, “xping.pubsub.com”, 80);
$message = new xmlrpcmsg(”weblogUpdates.ping”, array(new xmlrpcval($blogname), new xmlrpcval($siteurl.”/”.$blogfilename)));
$result = $client->send($message);
if (!$result || $result->faultCode()) {
return false;
}
return true;
} else {
return false;
}
}

Find these lines in your post.php (inside wp-admin folder) :
pingWeblogs($blog_ID);
pingBlogs($blog_ID);

And add this right after that:
pingPubSub($blog_ID);

All done and pingin (in WordPress)!

From Moveable Type:
From your main blog admin, click on Weblog config on the left hand column and then preferences on top (next to core setup).
Click on Publicity/Remote Interfaces/Trackback in the main list that shows on the page.
In the text area that follows, add this line:
http://xping.pubsub.com/ping

Thats it!

Tags:

Make your markup more user friendly 2comments

This is a wonderful tool written by Tony Bierman (an accomplished software architect and manager, I might add) which lets a webmaster add flavor to any HTML markup page. It is of course, of great use to us bloggers who are looking to make our pages more quality sensitive. Basically it is a combination of filters for various acronyms, links, search terms etc. In the words of Tony,

phpGiggle locates user-defined keywords and phrases in an HTML document or string and subsequently replaces the keywords or phrases with anchor tags linking to user-defined URLs. As well, pre-defined ‘template’ anchor tags are included for Google.com, Dictionary.com, Webopedia.com, Vivisimo.com, CPAN.org, Freshmeat.net and others. With phpGiggle, anchor tags for an entire website can be contained in a single file, with links being dynamically generated when the HTML is displayed to vistor’s browser. This is particulary useful for sites with dynamically generated content, such as Blogs, News sites, etc. Content creators need-not worry about creating links when posting new content, as phpGiggle will auto link the keywords and phrases at runtime. phpGiggle performs dynamic anchor tag generation very quickly and with no noticeable impact to the browser, providing a pleasant user experience that includes plentiful links to additional content which the reader may find useful.

Frankly, it is pretty cool, is always in development (so expect newer cooler features all the time) and is a great addition to ANY webpage!
Here is the link to phpGiggle-1.1.0 Download Page
phpGiggle has also been listed on FreshMeat (version tracking will be easier from there, so try the download from Freshmeat to get the latest version)

Tags:

Friends

Translate

Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

S2