Archive for July 2007

ExpLists


This Plugin Breaks With WordPress 2.3!


About

A wordpress plugin that uses Geir Landrö’s excellent jTree javascript to generate persistant (via cookies), collapsable tree widgets for categories, pages, post archives, and links.

as indicated by the zero in the major version, this is a beta release. most of the bugs are out, but there will most likely be more still hiding, please comment on any you may find.

examples can be seen on this site.

Documentation

from explists-README in the package:

the plugin must be enabled in the admin plugins tab
the widgets must be enabled in the admin presentation>widgets tab

this package should contain the following:

explists-X.X.X
 +-explists-README            this file
 +-\explists                  folder for web-accessable content for plugin
     +-(lots of images)       images for dtree
     +-dtree.css              stylesheet for dtree
     +-dtree.js               javascript for dtree
 +-\wp-content                existing folder
     +-\plugins               existing folder
         +-\widgets           existing folder
             +-\explists      folder for plugin code
             +-explists.php   file for plugin init and rendering code

this package was designed for unrar deployment,
but can be manually installed as follows:
  copy explists-X.X.X/explists
       to WP_ROOT/explists
  copy explists-X.X.X/explists/wp-content/plugins/widgets/explists
       to WP_ROOT/explists/wp-content/plugins/widgets/explists
  copy explists-X.X.X/explists/wp-content/plugins/widgets/explists.php
       to WP_ROOT/explists/wp-content/plugins/widgets/explists.php

  where:
    WP_ROOT is the root of your wordpress installation.
    explists-X.X.X is the root of the unrared (or unzipped) package.

Download

ExpLists-0.1.3

To Do List

  • fix title in Admin>Options>ExpLists (wrong version)
  • add message for incorrect resource installation

WordPress IE CSS (or other content for that matter) Fixes

insert the following in one of your templates:

<?php
if( function_exists(’insert_ie_fixes’) ) {
  insert_ie_fixes();
}
?>

I put it at the bottom of footer.php to make sure it overrides prior declarations, but it may work in header.php as well.

then add the following to functions.php in the theme you are using:

function insert_ie_fixes() {
?>
<!–[if IE]>
<style>
RULES SPECIFIC TO IE GO HERE
</style>
<![endif]–>
<?php
}

this could also be used to insert general styles or scripts.

File Modifications

Change File Extention

echo “`echo TESTFILENAME.EXTENTION | perl -pe ’s/\.[^.]+$//’`.NEWEXTENTION”

User Modifications

Add a user for server/system procs

useradd -g GROUP -c “USERNAME” -s /sbin/nologin USERNAME

Directory Tree Modifications

Change the owner of just the dirs in the current tree

find . -type d -exec chown USER:GROUP {} \;

Change the owner of just the files in the current tree

find . -type f -exec chown USER:GROUP {} \;

Change the permissions of just the dirs in the current tree

find . -type d -exec chmod 0775 {} \;

Change the permissions of just the files in the current tree

find . -type f -exec chmod 0775 {} \;

Change the permissions of files and dirs in the current tree

find . -type d -exec chmod 0775 {} \; ; \
find . -type f -exec chmod 0664 {} \;

Spherical Heightmap Rendering

a video of the rendering series

a single image of the rendering
sphere-heightmap-earth-04.jpg

a single image of the rendering with some special effects
sphere-heightmap-earth-05.jpg

Dice Set Rendering

A series of dice sets rendered for an online dice roller on FireWaterPro.net.

feel free to use them, and send us a link or post a comment to show off what you’ve done.

Black

Blue

Green

Orange

Pink

Purple

Red

Heightmap Rendering

Rendering of maps using image heightmaps

Earth

Luna

Mars

Venus

thanks to JHT’s beautiful planet maps at planet texture maps

Biorythm Calculator

a Biorythm calculator based around Iztok Strzinar’s PHP script,
I made it more object based, added a UI and included the calculations needed for secondary and tertiary traits.

and yes, this is actually what I was doing on fourth of july evening.
Continue reading ‘Biorythm Calculator’ »

  • Categories

  • Need Code Written?

  • Need a Coding Job?

  • Tags

  • Archives