Simple Machines Forum

March 4th, 2008 by Phil Hughes in

Your rating: None

I remember when I was a Jr. Geek and could focus on one programming task at a time. Today, besides having all too many Linux-related tasks, I have an assortment of other things to deal with. This last week, one of my distractions turned into a new programming project.

Those of you who have been following my posts know my current goal is to create the Geek Ranch. What I have been writing about has been how Linux fits into that project. Well, a peripheral need of the project created a new Linux project for me last week.

When you move to a new place, one of the things you need to do is figure out where to get things. That starts with food but then expands as you get settled. In my four years in Estelí, Nicaragua I have figured out where to get most anything you would need to live here. That includes car parts, appliances, building materials, clothing, computer supplies and pretty much everything else a person would need.

Enter the Geek Ranch project. All of a sudden I am looking for well pumps, electrical contractors, big electric generators, civil engineers, bulk plant nurseries, and a lot more. To make it a bit more interesting, Estelí is a smaller city (about 100,000) in a primarily agrarian region of Nicaragua so lots of things need to come from Managua, the capital and only particularly large city in the country.

Gixia (my business partner) and I have been spending a lot of time looking for sources for various things, figuring out how to deal with importing goods, trying to get our bank to understand what a real business needs and such. I have used NicaLiving.com as a place to get help searching for things but I realized it doesn't do that job really well. It is designed so people can find answers about living in Nicaragua but, because it is not focused on finding things and services, you end up with a major search task.

After talking to a few people, I realized that having a "where do I get X" site would be very useful. I had tried to establish such a site with a business directory but Nicaragua (as well as Costa Rica) is not ready for a vendor-driven site. That is, businesses don't yet understand that marketing is important. So, I realized I needed something that would allow consumers to ask for what they needed and get focused answers.

Let me confess that I consider this idea an experiment so I didn't want to put a lot of time into development. If it seems to be headed in the right direction, I am willing to invest more time. (Right now, I just want some answers and to get to work on the Geek Ranch.) Thus, my criteria was to find something that seemed to do the basics with little configuration or programming.

One choice was Simple Machines Forum. It was one of two choices I had on an auto-install menu (Fantastico) where NicaPlaza is hosted. The other is phpBB. I can't say I did an extensive comparison. I guess the word Simple had a lot of appeal.

The install was uneventful meaning it just worked. The default theme was far from what I wanted but there are lots of options. I found one that I liked and loaded it. It was advertised as multi-color but it was orange and I wanted blue. It wasn't clear how to change it.

Well, it turns out there is a relatively funky interface in SMF where you edit the various template files in a GUI that is smart enough to separate different PHP functions into different blocks. It works and I got blue. Also changed the header to be something closer to what I wanted.

Next comes ads. NicaPlaza and NicaLiving are paid for using Google Adsense. Let me clarify that—Adsense pays for real expenses, my time is free. SMF has an ads module so I loaded it. I never saw the admin interface for it. Reading the forums, I found that it only automatically works with the default theme. Groan. So, I switched back to the default theme and still didn't see anything.

Looking in the error log, it seems that the database table didn't get created. The good news is that while looking through the forums I found someone that was trying to get Adsense running. The suggested solution was to toss the ads module and just insert the Adsense code into the template.

Made sense to me. I tossed it, added the Adsense code and all worked with no problems. That gave me the site that you can see here. Note that this will soon be a "production site" but it hasn't been announced to anyone or linked to yet.

With a working site, the fun starts. It is useless without content. I decided on a top-level structure with three categories. They are:

  • Information—A place to put site information and general information about Nicaragua.
  • Products—Posts from people looking for products.
  • Services—Posts from people looking for services.

These categories will then be divided into various areas such as legal for services and vehicles for products. Users can then start a thread for a particular request or requirement. Hopefully, followups in a thread will address the request.

Now, the biggest problem with sites such as this is maintenance. That is, threads get created in the wrong place or quickly get off topic. SMF has permissions allowing you to create moderators. You can then give them the ability to move posts between threads. While I haven't done this yet, if the site takes off, this ability will be needed so it is important that it is included.

That's it for this week. Now I just need to put a bunch of posts out there, point NicaLiving members at the site and get back to designing the water system for the Geek Ranch.

__________________________

Phil Hughes


Special Magazine Offer -- 2 Free Trial Issues!
Receive 2 free trial issues of Linux Journal as well as instant online access to current and past issues. There's NO RISK and NO OBLIGATION to buy. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Sorry, offer available in the US only. International orders, click here.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Karl Grant's picture

Seems like a good idea that

On June 4th, 2008 Karl Grant (not verified) says:

Seems like a good idea that I've thought of in the past (in terms of creating a forum type site for people to find what they need). My problem was I thought I wouldn't be able to moderate the site, and finding reliable moderators could be a bit of hassle. I'd be interested in finding out how you get on, but good luck, I hope it goes well.

Karl
(Lawn mower review webmaster)

Sadecebirdost's picture

As long as you make research

On June 28th, 2008 Sadecebirdost says:

As long as you make research on this subject you can create a forum why not

__________________________

SohbetMuhabbetprogramsoru

kredyt's picture

nice text and helpfull info.

On March 21st, 2008 kredyt (not verified) says:

nice text and helpfull info. thanks

mrben's picture

SMF

On March 16th, 2008 mrben (not verified) says:

SMF _is_ a great looking forum; I used it a while ago and it was nice to administer too. I gave up on it mainly because it's not open source - they pretend it is, but if you look at their license it's quite obviously not (mainly because you are not free to distribute any changes).

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Featured Videos

The November 13, 2008 edition of Linux Journal Live! Shawn Powers and special guest, Linux Journal Author Daniel Bartholomew, talk e-book readers and Daniel's Kindle, DRM, and other goodness.

From the Magazine

December 2008, #176

The Oxford English Dictionary says the word "gadget" is a placeholder name for a technical item whose precise name one can't remember. Like that book-reader thingy from Amazon...what's it called? Spindle, Gindle...Kindle, that's it. Check it out in this month's gadget issue.

Other gadgets covered include the Nokia tablets, the BlackBerry, the Neo FreeRunner, the Dash Express, the Roku Netflix Player, the Kangaroo TV, The TomTom GO 930 and the MooBella Ice Cream System. On the larger hardware front, read the reviews of the Acer Aspire One and the YDL PowerStation. On the software front, check out the articles and columns on memcached, Samba security, Mutt, desktop gadgets, bash and Puppet. To wrap it all up, read Doc's thoughts on Google and the browser platform.

Read this issue

Sign up for our Email Newsletter