revamping my site, learning time

so i’m always on an ongoing quest to make my site better (three or four times a year which i know is not enough but hey, it’s better than not at all) and i’m trying out some new plugins and a new theme as of tonight

this theme is CRAZY it’s so configurable. it has options for options that most themes ignore completely. check it out if you’re down for doing some heavy config. the theme name is Platform, and I found it as a featured theme in the WordPress Theme Directory. The company who created Platform is located here: http://www.pagelines.com

i’ll keep ya’ll updated as i find out more myself. peace

free windows software to help secure you

with how malicious people are online, it’s important to protect your data and protect your identity. these programs are our key tools in making windows safer.

AVG 2011

Free anti-virus just doens’t get better. This is the most basic version of the software that AVG offers, but it does an amazing job. the current verion of this software introduced an awesome anti-rootkit component (previously available as it’s own tool)

Advanced System Care

this replaces 30% of what i do when i clean computers. it fixes basic registry errors, cleans junk files and even file-by-file defrags – great to run in the background

Spybot S&D

this program has been a staple anti-spyware program for a long time. it’s resident protector monitors registry changes live, and it can immunize against 180,000 known problems

CCleaner

use this program to quickly remove temp files from your computer, and to fix many registry issues.

internet explorer is one of the worst things that has ever happened to browsing. it doesn’t honor code standards, it contains many vulnerabilities, and it’s not as fast as other options.

the two browsers below are my highly recommended alternatives (mac, win, lin compatible)

Chrome

google’s product….amazing

Firefox

mozilla corp’s baby that launched them into fame, a remake of the famous netscape navigator

Postbooks Remote Client Settings

so it’s not the most secure version at this moment (no ssl tunnel, no md5 passwords), but the basic settings required for a client on another machine to connect to our basic ubuntu postbooks server are as follows

edit the file /opt/xTuple/postgres/data/pg_hba.conf

in the IPv4 section add a new line below rgw localhost directive

# IPv4 local connections:

host all all 127.0.0.1/32 md5

host all all 192.168.xxx.xxx/24 md5

edit the file /opt/xTuple/postrges/data/postgresql.conf

set the listen address (line 59) to *

listen_addresses = ‘*’ # what IP address(es) to listen on;

# comma-separated list of addresses;

# defaults to ‘localhost’, ‘*’ = all

double check ports and other settings while you are in the files

restart the server

/opt/xTuple/postgres/bin/pg_ctl stop

/opt/xTuple/postgres/bin/pg_ctl start

Artisteer UL scrollbar issue

When your lists show up with scroll bars on the items, change the overflow to visible from auto and the fix is complete

.art-post ul li, .art-post ol ul li
{
background-image: url(‘images/postbullets.png’);
background-repeat: no-repeat;
background-position:left center;
padding: 16px;/* makes “ul li” not to align behind the image if they are in the same line */
overflow: visible;
background-color: #CCCCCC;
}

Lekhonee Desktop WordPress Client

This is officially my first post via the Lekhonee client for publishing to WordPress sites. The hardest part was setting up the site address, but once I actually RTFM-ed I realized I had to double check a setting in WordPress->Writing to make sure the XML-RPC protocol was enabled. Check it out if you are looking for lightweight ways of making simple osts. anything with major pictures or custom layoout should probably be done through the WordPress WYSIWYG. At Original Computing, we use Lekhonee in low bandwidth situations for clients to make sure they have a stable post-writing environment.

and its free (as in beer)!

https://fedorahosted.org/lekhonee/

Sorry for windows and mac users, this is a KDE and GNome project only for now

HL Twitter Long URL Link Wrap Fix

With some helpful info I found at Perishable Press, I was able to fix two issues I had with the HL Twitter plugin for WordPress 3.0.x.

For me these were:

  1. Long URLs were breaking themes in the sidebar widget (if you are guilty of tweeting long URLs like me)
  2. links from URLs were opening in the same window. Now they open in a new one.

To do this just two files have to be changed, hl_twitter/functions.php and hl_twitter/hl_twitter_widget.php.

Easy one first: hl_twitter/hl_twitter_widget.php

  • copy the hl_twitter_widget.php file into the root of your themes folder.
  • open the newly created copy in an editor (vi is preferred)
  • find the CSS section labeled “.hl_recent_tweets p”
  • add in the following to that section of CSS
white-space: pre;           /* CSS 2.0 */
white-space: pre-wrap;      /* CSS 2.1 */
white-space: pre-line;      /* CSS 3.0 */
white-space: -pre-wrap;     /* Opera 4-6 */
white-space: -o-pre-wrap;   /* Opera 7 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap;  /* HP Printers */
word-wrap: break-word;      /* IE 5+ */
  • save the file
  • done! the url overflow is fixed

Now onto the other easy one: hl_twitter/functions.php

  • enter the plugins/hl_twitter folder
  • open functions.php in my favorite editor, VI
  • change line 178, which should read $tweet = preg_replace(“#(^|[\n ])([\w]+?://[\w]+[^ \”\n\r\t< ]*)#”, “\\1<a href=\”\\2\”>\\2</a>”, $tweet) to the following

$tweet = preg_replace(“#(^|[\n ])([\w]+?://[\w]+[^ \”\n\r\t< ]*)#”, “\\1<a href=\”\\2\” target=\”_blank\”>\\2</a>”, $tweet);

  • Save the file and you have completed this part (opens links in new windows)!