Archive for May, 2011

Infobrink: Starting Out

Posted in All, Entrepreneurship on May 30th, 2011 by Jarred – Comments Off on Infobrink: Starting Out

I am not not necessarily starting from scratch on this one.  I have had the domain infobrink.com for several years now. Years ago I tried creating a online directory with the domain that promoted reciprocal linking, but abandoned the project long ago as unprofitable.  I continued to renew the domain over the years hoping that someday I might find a use for it.  Despite years of neglect the domain had still had a google page rank of 2 as well as lots of back-links.  Hopefully the extra links/pagerank will give the site a jump-start.

I decided to use wordpress for the blog, but I have only limited experience with it and have already I have run into a few hicups trying to customize the software and getting it to do what I want. I have never really blogged before either so that is new ground for me as well.

In the past I have tried to monetize various websites I created(including the old infobrink directory). However I never really realized and significant income through my efforts much less anything that was sustainable. In short, I have no experience with “successfully” monetizing a website.  I have read many blogs on bloggers monetizing their blogs so I assume it is very possible.  I plan on giving the blog a few weeks/months to see if it generates any significant traffic before spending the time effort to monitize the blog.

I started a few days ago on 5/27 and so far I have spent around 10 hours getting the site up and running and customizing the look.

 

WordPress Page IDs

Posted in All, Geekdom on May 30th, 2011 by Jarred – Comments Off on WordPress Page IDs

Using the wordpress “page” widget for the side bar works wonderfully for displaying a list of static pages on your blog.  However by default it displays all of your pages and you may not want this. Luckily the widget comes with the ability to excluded pages.  Less lucky is that in order to exclude the pages you need to know the “page ID”.  As far as I can tell the “page ID” is not displayed anywhere and requires a bit of digging to find.   After logging into the admin dashboard area select the “pages” link.  From there you will be given a list of all the current pages you have created.  An easy way to find the “page ID” is to mouse over (hover not click) the page in question.  If you look at your browser status bar you will notice a link in which you will see “post=” some number.  This post number is the page ID.

For example – If your status bar displayed this:

http://yourpage.com/wp-admin/post.php?post=57&action=edit

 

Your page ID would be 57

 

Source: http://www.techtrot.com/wordpress-page-id/

WordPress captcha problems

Posted in All, Geekdom on May 27th, 2011 by Jarred – 1 Comment

On the web one of the most useful tools to combat spam and reduce abuse is a captcha. For this blog I felt that a captcha system was a “must have” as I intend on letting users input comments. I found a free wordpress captcha plug-in made by bestwebsoft (http://wordpress.org/extend/plugins/captcha/)that looked very promising. However to my dismay after installing and activating the captcha plugin, the system did not work. I tried installing other captcha plugins, but they all required API keys and this was unacceptable to me. So I decided to try and get the bestwebsoft plugin to work.

I could tell that the captcha system was activated because it would give me an error if I tried to submit a comment, however the catcha form itself was not showing up in the comments section. To trouble shoot I reactivated the default theme that came with wordpress and the captcha form worked perfectly, so I knew it was a theme issue. It appears that whoever designed the theme I am using didn’t use the default wordpress “comments form” and was manually creating the form from scratch. In order to get the form to show up all I needed to do was include the following line of code in themes comments.php file where I wanted the form to show up.

<?php echo cptch_comment_form();?>

The next problem was that a mysterious “1” was being generated after the captcha form. To solve this problem I had to edit the function “cptch_comment_form()” in the captcha.php plugin file to not return anything. (i.e. from “return true;” to just “return;”). To be truthful I am not entirely certain what all the implications of doing this will be, but the captcha system appears to be working fine.

I imagine other wordpress themes will also be designed this way and will require a similar work-around to get the captcha plugin working.

 

****UPDATE
It appears this problem has been fixed in the most recent version, so if you are still having this issue try updating the plugin

Customizing WordPress Headers

Posted in All, Geekdom on May 27th, 2011 by Jarred – Comments Off on Customizing WordPress Headers

Word press is simply amazing…I’m constantly amazed by the quality of open source software, but that is another topic for another day

As I was setting up my installation for this blog I wanted to customize the header image and style.  I turns out this tasked proved to be a bit more tricky than I had first imagined.  I spent more time then I care to admit trying to edit the header div and image using the appearance editor tool in the admin area.  What took me so long to figure out was that there are multiple css files and the properties I was trying to change were in a different css file altogether.  Even more tricky was that this file was not available in the appearance editor tool.  I found it  in the  “wp-content/themes/” folder.

Now I know that this may be a no-brainer for some, but for me it was a bit tricky because it was not what I was expecting. Here is a trick I learned that might make this easier in the future to help identify the location of the correct css file. In many modern web-browsers you can right click and choose to inspect the element.  This will give you a run down of all the css properties that are currently being applied to that element along with the name/location of the css file (In Chrome you have to mouse over the file name to get the location).

So, if you want the customize the header for your word-press blog just right click on the header somewhere and select “inspect element”.  From here it is simple to figure out the location of the files with the properties you want changed.  After that use your favorite FTP program to download the file and make the desired changes.

 

Unwanted Border around an Image Link

Posted in All, Geekdom on May 27th, 2011 by Jarred – Comments Off on Unwanted Border around an Image Link

Turns out I am having a harder time customizing this wordpress installation than I imagined. The theme I chose has a default css mouse rollover effect applied to all the anchor tags. I like the effect for the text, but this same effect was applied to the border image and it looked awful. I tried setting the border to 0 with the HTML but this did not work. What I had to do was create a completely new class setting all the attributes to none and then apply this class to the anchor tag around the header image. Like this…

a.headerImage {color: none;border: none;}
a.headerImage:hover {color: none;background: none;border: none;}

and then use the following html to assign the class to your anchor tag

<a href=’http://yoursitehere.com’ class=’headerImage’>

 

Source: http://www.ssi-developer.net/css/link-colours.shtml