RSS
 

Inside Pages

02 May

 
 

Running WordPress on GoDaddy Free Hosting Account

08 Dec

Well a few months back I set our to get WordPress running on my free GoDaddy hosting account. The install seemed fine, but iframes inserted by GoDaddy badly butchered my dashboard. It looked like this:

Broken Dashboard

Broken Dashboard

I spent about 5 hours trying to fix the darn thing.  After a lot of searching, I found a comment by stefano.torricelli on one of the WordPress forums.  I can’t believe that this information isn’t more readily available…

FIX DASHBOARD

All you need to do to get your dashboard working is:

Open the file /wp-includes/script-loader.php and apply the changes. Find the following:

echo “<link rel=’stylesheet’ href=’” . esc_attr($href) . “‘ type=’text/css’ media=’all’>n”;

and replace with:

// ***************************************************************
// godaddy ads fix
$st_data = file_get_contents( $href );
$st_data = substr( $st_data, 0, strpos( $st_data, ‘</iframe></noscript>’ ) );
echo “<style type=’text/css’ media=’all’>n”;
echo $st_data . “n”;
echo “#conash3D0 { display:none; }n”;
echo “</style><!– /wp-includes/script-load.php –>n”;
// ***************************************************************

ALSO

Find:

echo "<script type='text/javascript' src='" . esc_attr($src) . "'></script>n";

And replace with:


// ***************************************************************
// godaddy ads fix
$st_data = file_get_contents( $src );
$st_data = substr( $st_data, 0, strpos( $st_data, '</iframe></noscript>' ) );
echo "<script type='text/javascript'>n";
echo $st_data;
echo "</script><!-- /wp-includes/script-load.php -->n";
// ***************************************************************

That will repair your Dashboard.

REMOVE ADS


If you want to remove the ads from any pages hosted on your free GoDaddy account add:
#conash3D0{display:none;}
to your css style sheet, which in the case of WordPress will be in:
/wp-admin/css/login.css.
 

Thanksgiving

25 Nov

Well I just had my first Thanksgiving with Lisa and Patrice. Tomorrow I will have Thanksgiving dinner with my family. Family is in town for the holiday. There is so much that I am thankful for…

I have some time off this week, which is great, but sadly I had to spend a lot of time these last two days trying to fix an external hard drive that decided to corrupt out of the blue. Luckily the vast majority of that data was backed up, but there were a couple of things I recently added that weren’t backed up yet. I almost called it quits and just reformatted the drive (it still works, something just corrupted it) when I realized that the photos from Patrice’s bridal shower are on that drive and my aunt deleted them from her memory card. So, continue to try to fix the drive I shall. I am able to rescue the data, but I don’t want to sift through hundreds of thousands of files looking for the 40 I actually want… Hopefully I can get the drive to a state where those files can be easily identified and backed up.

Anyways, on a Thanksgiving note, it’s almost Black Friday, time to buy super cheap movies and completely deprive myself of sleep. It should be fun, it always is :-) Speaking of backing up data, I think I am going to buy a few more hard drives on Friday.

Well that’s all for now, thanks for reading…

 
 

Thank You stefano.torricelli

06 Nov

Well it looks like I finally have my WordPress admin panel working again, some genius who goes by stefano.torricelli solved it for me. I searched for hours trying to figure out what was messing it up. I read his post the other night, but it didn’t work, I must have replaced too much of the code. So I used find/replace just now using his suggestion and it cleaned up the code and everything is working. :-)

 
 

blog.brandonharter.com

04 Nov

Well, I got my blog set up at blog.brandonharter.com. For some reason however, my admin page is rendering way wrong and I can’t seem to figure out why. It is almost as if the css isn’t loading and the HTML is smushing every together. I have been searching through the forums and trying many suggestions, but nothing is doing it… I configured my blog to work with my iPod, so I guess I’ll blog this way until I figure it out…

 

Textbook Time

30 Jul

It’s time to buy textbooks again… I usually buy on amazon and half.com, but this semester I am considering buying on eBay, maybe some international version, it seems to be a lot cheaper and they claim it’s the same content. If that is so, I will be able to save quite a bit of money. Let’s hope all goes well, time to do some searching…

 
No Comments

Posted in School

 

$10 Car Ride

11 Jun

I was driving home and saw a car on the side of the road.  I stopped to ask them if they needed help.  They eagerly said that they did.  I assumed it would be a simple jump, but they had a blown hose.  I didn’t know what I could do for them.  They were trying to get to the mortuary right down road.  I told them I knew where it was and they asked if I could take them there.  I agreed.  They pulled their car into the nearby parking lot and got into my car.  I am always cautious though, I had my knife easily assessable because there are so many scammers and crazy people now-a-days.  I was happy that this guy and two older ladies were friendly.  The one lady handed me some money, but I told her it was fine and I didn’t want it.  She insisted, saying it was the least she could do since I saved them from missing their chance to say goodbye to their loved one.  They were pretty grateful and I headed home.  The irony of the situation was that I was listening to The Funeral by Band of Horses as I drove up to their car and minutes later I was driving them to a funeral.  Life is full of surprises and today has been a very busy and eventful day.

 
 

$500 machine

11 Jun

Today has been an interesting day. I have had our 7 disc duplicator sitting in my office for a little while. It was broken and would cost about $500 to replace. I’ve spent some time looking at new ones, but I wanted to try to fix it before we coughed up the cash. I started by ripping the machine apart (I void a lot of warrenties, but it’s usually worth it).

Anyways, I ripped some of the drives out and determined that one of them has gone bad, it is just no longer usable. However after changing a ton of settings and swapping drives I had 6 of the 7 drives fully functional. Now all I have to do is buy a $30 DVD-RW Drive and we’ll be fully functional again. So looks like I saved about $500 :-)

 
 

DropBox

29 Apr

Well DropBox is pretty legit, I like it a lot.  I have been using it a lot and I suggest you try it out :)  It is very useful for sending files back and forth from work.  I have been using it to send sermons home and announcements to church.  It is pretty great.  Give it a try, you will get 2 GB for free and if you complete their tutorial you will get an extra 250 MB.

Sign up with my link and we’ll both get another extra 250 MB.
Their iPhone/iPod app is pretty legit too, check it out!
 

Restore apps, music, movies, etc from iphone/ipod touch

25 Apr

Well I reformatted my hard drive the other day, reinstalled OS X and was up and running again.

Background info

I had a hard drive failing and was still under apple care.  I took it in, they gave me a new hard drive and upgraded me for free to Snow Leopard.  I was happy and restored from my Leopard Time Machine backup.  All was not well.  It ran poorly and continued to get worse, when I couldn’t take it anymore I erased the hard drive and started a new.  I had already backed up my music, but it turned out I hadn’t backed up my apps.

Solution:

This solutions is actually pretty simple, it took me a little while to find it, but now that I did, it is transferring them as I write this:

All you have to do is right click your iDevice and click on Transfer Purchases:

This will transfer anything you have purchased from iTunes, apps, music, movies, music videos.  Even the free ones.

Now this is great and all, but what about music you didn’t buy from iTunes, well for this I suggest turning to a third party app, like Music Rescue, Senuti, PodtoMac, or PodtoPC.  There are not as many free ones as there used to be but some offer fully functional trials.  I have been a fan of Music Rescue since it’s beginning, it is paid but fully functional free, just it has some nags.

I hope this solves your problem.  If only Apple made it easier to backup and restore your iTunes data.