Archive for the 'SMF' Category

Simple Machine Forums User tracking with Google Analytics

Google Analytics gives you the ability to track visitors by custom variables, but I couldn’t seem to find much information on it until I knew the right term to search on – hint, it’s “__utmSetVar”. The __utmSetVar javascript function lets you set a variable that Analytics will then use in the statistics it keeps. Say [...]

Displaying AdSense ads to visitors only in SMF

This is a spin off of a previous post that I did on displaying a message to guests on a Simple Machines forum. A commenter asked a question that I assume was looking for a way to wrap ad code the same way I was wrapping the welcome message.

How to create a welcome message for SMF

If you’ve spent much time on forums you’ve no doubt noticed that many forums will display a message to guests welcoming them and often displaying a link to the registration page. Not having found a simple solution to do this in my two Simple Machines Forums I looked at the code to see if it [...]

How to install a theme in Simple Machines Forums

The basic SMF theme is fairly good. Heck, I’m using a slightly modified version of it on two different forums. But if you’re looking for something a little different then there are hundreds of themes available at the Simple Machines Theme Site. Finding one you like Below is the basic theme. Not too bad, but [...]

My robots.txt file for Simple Machines

What follows is the robots.txt file that I’m using for a photography forum I’m an admin on. The idea is to tell robots not to crawl pages that I think shouldn’t be indexed, or that I feel may be causing duplicate content problems.