Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / Archives for How To

Jan 9, 2012 By Jared Heinrichs Leave a Comment

How to FIX outlook cannot log on. Verify you are connected to the network error

Are you having the “outlook cannot log on. verify you are connected to the network” error? Did you just recently have a DNS or Active Directory issue?

One of the reasons why you might get the “outlook cannot log on. verify you are connected to the network” error is when there is a setting missing in the “Microsoft Management Console”. I recently worked at a client who’s PDC went south big time. Long story short they were getting the “outlook cannot log on. verify you are connected to the network” error every time they tried setting up a new user in outlook. Also if they selected a group from the Outlook Address Book (OAB) non of the contact of the groups would display.

The item that resolved this error for me was:

In Exchange Management Console, Right Click “Organization Configuration”and select “Modify Configuration Domain Controller”… setting.

image

A new window will open. Browse for the proper info. Active directory will need to be working as well as some kind of name resolution (namely DNS) in order to select the domain and domain controller properly.

image

Once done hit OK. You will need to restart the services or restart the whole server. I restarted the services and that was all that I needed to do. Some people have had to do a full reboot of the exchange server after applying these settings.

This was done on a Microsoft Exchange Server 2007 running on Windows 2008 64bit.

Filed Under: Microsoft Exchange Server Tagged With: How To

Sep 25, 2011 By Jared Heinrichs Leave a Comment

WordPress – How to fix next_posts_link() doesn’t work

I first off want to thank Chris Coyier of css-tricks.com! If you’ve never seen or heard of Chris you don’t know what you are missing. My answer to this question came from watching the 31:14 minute video on css-tricks called “the WordPress Loop”.

The most likely reason why next_post_link() doesn’t work in your theme is mostly do to how you setup the loop. The part of the loop that is most likely not setup is the “paging” part of it. Because paging isn’t setup you display the same content OVER and OVER each time you click on the “Newer Entries”. By setting up paging you are telling WordPress to display “X” amount of posts per page. The “offset” tells WordPress where to start on the next page.

I will post a screenshot of some code and go over what you need to do:

Wordpress - How to fix next_posts_link() doesn’t work

We need to use the “query_posts()” function (Line 15). In order to get the query that you want you should make a few variables first.

  • On line 12 we create a variable called “ppp” (Posts Per Page) and give it a number.
  • On line 13 we create the offset variable. This will help with a term called “Paging”.

Now that we have the variables setup we are going to create a custom WordPress Loop. To do this we need to make a new query.

  • On line 15 I show you how to make a custom query using the variables we created earlier.

The query basically says: Go out and get me all the posts. I know I am going to be displaying “2” posts per page. Each time I go and click on “Newer Entries” start at the “offset” and then display another set of posts equaling whatever you set the “ppp” to be.

You might be asking yourself is there another way of doing this? Actually there is if you are using this as the only loop on a page and you want just spit out the blog entries.

Create a page template file and name it “pagetemplate.php” and put it into your theme directory. If you are using the same info in the screenshot the template name you will be able to select in the next step is going to be called “Playing with Loop”. *NOTE* – You won’t need lines 12 to 16!

Create a new page in WordPress and open it. I’m going to call my page “Blog”. On the right hand side under “Page Attributes” you see “Template”. Select “Playing with Loop” and hit update. You must now go and make some changes in the WP Admin area. Go to “settings” and “reading” and select the page that you want to be the default “Posts” page. Since as I previously mentioned I called my page “Blog” I am going to select “Blog” and voila. WordPress now knows that since this page is going to be displaying the posts, the paging will already be setup.

Wordpress - How to fix next_posts_link() doesn’t work

Filed Under: Wordpress Tagged With: How To

Feb 10, 2011 By Jared Heinrichs Leave a Comment

How to re-brand Zarafa by changing images

I just setup my own Zarafa webmail server. For those that aren’t in the know Zarafa is Linux’s equivalent to Outlook Web Access (OWA). I like all the hard work that Zarafa has put into the software. Their name however is scattered all over the place. Companies also like to rebrand items with their own logo etc.

Let’s say you want to re-brand Zarafa with your own images. Can this be done? Sure! It’s opensource!

In this “How to” article on Zarafa I am using Zentyal as the distribution. These files may be located in another directory if you are using a different distro. For you that are using a different distro and have it working then you should check your apache virtual server config files.

On my server the files needed are located in this directory:

how to re-brand Zarafa 01

There are 3 main files that need editing:

  1. login.jpg (Full Webmail Client)
  2. zarafa_top_logo.gif (Full Webmail Client)
  3. favicon.ico (Icon displayed in the URL Bar)

Here’s some example of how I changed mine.

imagehow to re-brand Zarafa 02how to re-brand Zarafa 03

How you go about changing those files is up to you. The easiest way to do that is to create a Samba share directly pointing @ the directory noted above. Make sure to remove the permissions once you have finished editing the files.

You could also copy it to another share on the server. Using the copy command “sudo cp” you could copy the files from the share you copied the files to, to the folder that was mentioned above.

Here’s a few screenshots of the new files in action:

how to re-brand Zarafa 04

how to re-brand Zarafa 05

Hope this helped you figure out how to re-brand Zarafa to your liking.

Filed Under: Zarafa Tagged With: How To

Jan 10, 2011 By Jared Heinrichs Leave a Comment

How to backup your disk to an ISO for FREE

If you do a search on the net on how to backup a disk and save it as an ISO file you will find MagicISO and similar software scattered throughout the search. The issue with MagicISO and such programs is that they all cost money for something that is fairly trivial.

Enter CDBurnerXP

CDBurnerXP is an amazing product. Don’t let the name discourage you. It works on pretty much any Windows computer all the way up to Windows 7. If you are sick of how bloated Easy CD Creator or Nero has becom you will love CDBurnerXP. CDBurnerXP reminds me of what NERO was like but even more optimized. Anyways this post is about creating ISO files from a disk so here’s the how to:

  1. Download CDBurnerXP
  2. Install CDBurnerXP
  3. Put in the Disk you want to make the image of in the machine.
  4. Open CDBurnerXP
  5. Select “Copy Data disk”
  6. Change the default selection of the “TO” drive to “Hard drive”. This means that instead of cloning the drive from one drive to the next it will make an ISO file for you that you can then burn later at any time.

Filed Under: Programs Tagged With: How To

Dec 16, 2010 By Jared Heinrichs 1 Comment

My recommend programing workflow when programing jQuery’s animate function

I didn’t realize just how powerful jQuery’s animate function is. In fact I can almost bet that functions like "slideDown()” actually use it in the background. The one things about animate is that when you start using it the code can become much more complex then one would like. Personally I recommend using Netbeans IDE as I find it to be the best editor for most web programming. (PS – It’s FREE!!!!)

One thing I have found that helps me is I build out the shell of what I want to do and then fill in the details later. While this might seem like a waste of time or slower I find with the auto complete in Netbeans that I spend much less time later troubleshooting things when I make a mistake typing.

The first thing I do with animate is start with the basic by programming out the shell of the code.

First hit “$” and then “(“. Netbeans will automatically fill in the “)”. Great!. Now hit ‘ and a second ‘ will be entered automatically for you in Netbeans. Keep typing. Enter your jQuery Selector which is normally the DOM element that you want to select. Hit the “right arrow twice and hit the “.” key. Great you are on your way.

You should have something that looks like this:

image

You really want to see this drop down box as it will save you a lot of time. You can either manually go through it or keep typing to narrow your results. In our case we are wanting to use animate. Let’s type animate and see what happens.

image

As you can see I’ve only typed “ani” and Netbeans is smart enough to grab the functions from the jQuery file. Just hit enter and Netbeans will start to build out the template for you. You will see something like this:

Netbeans is smart enough to tell you were the parameters go and where the option go. At this time I recommend just typing “{“ in both the params section as well as the options section. When you hit “{“ the right “}” will automatically be entered. After entering the “{“ just hit enter to move on to the “options section”. Hit “{“ and again the second “}” will auto complete. Hit Enter and the cursor will automatically move to the end of the line. Hit “;” and you are now done making the shell of the animate function. It should look like this:

image

Now some people might not agree with this next step. WHEN programing I like making my code easy to read even if it means that the file that the code is in is larger! When I am done everything I normally run a minifier on all my code that goes up to the server.

Let’s make the code more readable. Doesn’t this look more like something you see in other languages?

image

Let’s go and enter the code that will actually do something.

image

In the above code example notice how I entered what I want the animate to do. jQuery is VERY tied to CSS. If you don’t know CSS then you should really become a CSS Ninja before heading in jQuery. One thing to note on line 3. If the CSS element has “-“ in it you should use camelCase. If you aren’t sure what that is search my site for “camelCase”. Notice on line 3 that there is NO trailing “;”. With so much of jQuery requiring a trailing “;” I like to point that out since I find I get in such a habit of close everything off. If we needed to do a second animation we would hover end the line with a “’,”. You will see in the next section called “options”.

image

In the above code example I have added two options to the command. I have put them on separate lines for easy reading and put a “,” at the end of the duration. This code is now very easy to read, the chances for error has gone down dramatically which means you have more time to code.

I mentioned about minifying the code so once that is done it might look more like this:

image

Filed Under: jQuery Tagged With: How To

  • 1
  • 2
  • 3
  • …
  • 26
  • Next Page »

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design