Quantcast
   
Titan CMS online support, find help and get answers

Integrating a Snitz Forum

  • Published: January 20, 2009
  • |
  • Updated: April 01, 2013
  • |
  • Version: 3
 Summary

This article will provide an overview for how to integrate a Snitz forum onto your Titan CMS site. Snitz is a free, third-party implementation of an internet discussion forum, written in classic ASP. While there are different ways to implement and configure your Snitz forum, this article will discuss the simplest and most common way.

 Background

Discussion forums are a popular way to allow users of your website to connect and share thoughts. While there are many third-party solutions to choose from, implementing a Snitz forum allows you to host all resources directly on your server. This allows for greater control when administering the forum, allows you to integrate the solution seamlessly with your website, and removes independence on another service to host your forum. In addition, the Snitz forum solution is completely free, and distributed under the terms of the GNU General Public License, as published by the Free Software Foundation.

 Instructions

Note: The work required to integrate a Snitz forum must be performed on the web server, rather than the Titan CMS workstation. This article assumes the reader has administrative access to the web server.

  1. Download the Snitz Forums 2000 code from the Snitz website
  2. Create a new folder named Snitz in the Titan CMS display folder. Then unzip the contents of the .zip file you download to this location. This is typically something like C:\inetpub\wwwroot\Titan\Display. If you are unsure of where the Titan CMS display folder is located, contact your site’s administrator or the Titan CMS support team. After extracting all of the files, the code should be located in a location similar to C:\inetpub\wwwroot\Titan\Display\Snitz.
  3. Find the snitz_forums_2000.mdb file. While not required, it is recommended that you change the name of this file to a meaningful name. It is also recommended for security purposes.
  4. It is also recommended that you move the snitz_forums_2000.mdb file to a location outside of the web root of your site. This is not required, but once again it is advised for security purposes. This .mdb file is where all of the data for your forum is stored. If it remains inside the web root of your site, anyone can download the file and view its contents.
  5. Find the config.asp file in the folder you extracted, and open it.
  6. On line 43 of this file, find a section that looks like the following:

    '################################################################
    '## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE... '################################################################
    'strDBType = "sqlserver"
    'strDBType = "access"
    'strDBType = "mysql"

  7. Remove the ' (apostrophe) before the line that reads strDBType = "access". This effectively tells the forum code that you want to use a Microsoft Access database to store the forum data. While the Snitz forums support SQL Server and MySql databases, this document will assume you are using the Microsoft Access database that shipped with the forum code (snitz_forums_2000.mdb). Do NOT remove the apostrophe before the other two lines.
  8. You must now modify the config.asp file to set the connection string to your Microsoft Access database. In a section starting on line 50, you will see a number of lines starting with: 'strConnString = … Find the line with a comment after it that says '## MS Access 2000 (typically, this is the third line in that section). Remove the ' (apostrophe) at the start of that line. You must now update the Data Source attribute to point to your database. For example, let's say you moved your database to C:\Snitz, and named it snitzdata.mdb. Then, your connection string would look like this:

    strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Snitz\snitzdata.mdb" '## MS Access 2000

    Do NOT remove the apostrophe before any of the other lines in this section.
  9. Modify the NTFS permissions on the database file such that the local IIS_WPG group has Read/Write privileges on the database. You can do this by setting the permission on the parent folder and propagating them down, or by setting the permission on the file itself. This is required so the code can write data to your DB file.
  10. Open IIS (Internet Information Services) on your server. Expand the Web Sites node in the left pane. Find your website in the list, and click on it.
  11. In the right pane, you should see a list of files and folders in the web root of that website. Find the one into which you extracted the snitz code. In this example, it will be named Snitz. Right click on the folder, and click on properties.
  12. Go to the "Home Directory" tab. In the Application Settings section of this tab, type a meaningful name into the "Application name" field. Then, hit the Create button next to the field.
  13. Go to the "Documents" tab. Make sure the box labeled "Enable default content page" is checked. Remove all entries in the box below. Then hit the Add button, and type default.asp into the dialog box that appears. Hit OK twice to leave the properties dialog.
  14. You are now ready to access the forums on your website. Before they are fully functional, you must complete some additional setup tasks. In your browser, navigate to http://<website url>/Snitz/setup.asp, and follow the instructions on your screen. For example, if your website was www.Titan CMS.com, you would navigation to http://www.Titan CMS.com/Snitz/setup.asp.
  15. Once you've completed these setup tasks, you will able to start using your forum by going to http://<website url>/Snitz/.

 

 References

Snitz Forums 2000 Official Website
forum.snitz.com

Snitz Forums 2000 Installation Readme File
Readme