‘WordPress Hack’ Category

Admin based WordPress CSS Style Manager Hack

12
responses
by
on
March 6th, 2004
in
WordPress Hack

This hack adds a style/theme manager to the WordPress admin panel and allows a blog owner to choose a style to be displayed. Addition of styles is as simple as creating new folder for styles and copying them to a wp-style folder in your WordPress folder. This hack is also Alex’s Style switcher compatible, though the tutorial is not updated with that info. It will be in a future release. This hack comes with 2 styles from the CSS styles competition. Here is the link to the hack http://weblogtoolscollection.com/b2-img/wp_styles.zip You can see it on display here http://dinki.mine.nu/wp/ Please post bugs and feedback here.

[Continue Reading...]

Amazon Media Manager Hack for WordPress

3
responses
by
on
February 27th, 2004
in
WordPress Hack

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 […]

[Continue Reading...]

Updated Post Counter and Top 10 Posts for WordPress available

3
responses
by
on
February 23rd, 2004
in
WordPress Hack

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.

[Continue Reading...]

Nicer archives with sorting by category for WordPress

17
responses
by
on
February 17th, 2004
in
WordPress Hack

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

[Continue Reading...]

Simple news feed for links list in WordPress

6
responses
by
on
February 15th, 2004
in
WordPress Hack

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 […]

[Continue Reading...]

Finished some preliminary work on WordPress Caching

4
responses
by
on
February 15th, 2004
in
WordPress Hack

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 […]

[Continue Reading...]

WordPress Backup/Restore new version available

20
responses
by
on
February 14th, 2004
in
WordPress Hack

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

[Continue Reading...]

WP Blacklist Comment Spam Filter Update

3
responses
by
on
February 14th, 2004
in
WordPress Hack

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

[Continue Reading...]

Ping PubSub from your WordPress or Moveable Type blog

3
responses
by
on
February 10th, 2004
in
WordPress Hack

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 […]

[Continue Reading...]



Obviously Powered by WordPress. © 2003-2013

css.php