Integrating Data Streams

General Links
General Sections
affCAFF Manager - The Basics
affCAFF Manager - Advanced
affCAFF Content Providers
Displaying The Data (Full Version)
When you install affCAFF, the affCAFF Manager utility is also installed which gives you access to a variety of functions such as setting up your own affiliate links and creating the data streams for display. The affCAFF Manager makes life very easy: open the "acManager.php" page in your browser, create a password and log in.

You will then see a menu of options which includes setting up your affiliate links and creating the data/code you need. The affCAFF Manager also updates property lists and files when new stuff is added to the affCAFF system from content providers.

The data streams themselves are very simple: just a few lines of code added to each page where you want to display the news, promos or offers from specific casinos, poker rooms, sportsbooks or other participating gaming sites (Adding the code). It is a very flexible system that you can configure (again via affCAFF Manager) to look exactly how you want.

Using affCAFF On an HTML Website
You may have noticed by now that affCAFF is written to use PHP. Most servers support PHP, but many webmasters use HTML and the ".html" or ".htm" extension for their pages. If it's possible, you can simply rename your pages with ".php" extensions, but obviously this has a knock-on effect with navigation so you may prefer not to. But there are other ways and you can probably still run affCAFF so long as your server supports PHP version 3 or higher (How to check PHP compatibility and affCAFF system requirements).

For those of you on UNIX, below is the basic method which should work in most instances. If not, there is a good explanation here on other methods.

To use affCAFF on an HTML site, edit the .htaccess file in your top-level (homepage) directory to include the following line:

AddType application/x-httpd-php .html .htm

There is a sample .htaccess file containing this line above in your affCAFF installation folder. You can simply upload that to your website homepage directory if you do not have an .htaccess file there already.

If the above line fails to fix the issue, which would be unusual, you could try adding the following line instead:

AddHandler application/x-httpd-php .php5 .php4 .php3 .php2 .php .phtml .html

If you don't know what an .htaccess file is, or you don't have one, there is a good htaccess tutorial here. There's lots more you can do with htaccess so it's worth a read, even if you are familiar with it.

If your web server is Microsoft IIS, then go into the properties tab of the IIS web server and register ".php" as a valid file extension. If you've already mapped the php .dll to parse php files in the same IIS properties area then you should be done after adding the extension map.

Copyright © 2008-2019