Demo Site Download
FOSLACS

Free Open Source Live Aggregated Cams Script

This script builds a website by using multiple APIs from different live webcam sites. These sites pay you for each user that joins from your website.

The sites that pay you and provide the content API are often called sponsors; and you will be called an affilate after signing up to promote their webcams.

Once this script is installed on your web server, it only takes seconds for the script to build your entire website automatically.

No SQL. This script does not require an SQL database.
Open source code so you can build your own custom themes
Written in PHP 8.2.11
Safe and secure script


Installing this script on your website



Editing the site_config.php values

Test theme option allows you to preview your custom built themes as you work on them.

$run_test_themes = "yes";

(yes or no) use yes to select your desired theme.

You must add any new theme name to the allowed themes array below.

$allowed_themes = array("white",
"green"
);
Also includes video playing capabilities. Upload your video files and set the parameters in the script to use them.
Install the script in any directory on your site. This is good if you have a main site and want to add live cams. The directory will set in the site confiruration file as follows :

$site_directory = "";

Use "" for root or
"/some_directory_you_created"

The blank value above sets up your cam site in your domain's root directory.
The live cam feed API updates based on the number of seconds you chose

$update_secs = 120; how many seconds between update of live feed
Chose the number of Thumbnails per page on your web site.

$thumbs_per_page = 24;
Chose the number of realted thumbs to appear on model profiles and video pages.

$num_related_models = 6;
Select one cam feed as the site default and set the media type to "cams".

$default_feed = "camsoda";

$default_media_type = "cams";
Select a default video supplier if using video

$defaultvideopage = "dogfart";
Create a site title

$site_title = "yourcams.com";
If you desire to use a side bar then select "yes" and which side the sidebar will float

$use_sidebar = "no";

(yes or no)

$sidebar_float = "left";

Enter left or right
Show multiple feed providers mixed together throughout your website

$mix_all_feeds = array('allcams'=>'xml', 'camsoda'=>"xml", 'chaturbate'=>"xml", 'imlive'=>'xml', 'stripchat'=>'xml');

The above example mixes camsoda,chaturbate,imlive and stripchat together. The $mix_all_feeds array must contain feed value 'allcams' for this to work correctly. And 'allcams' must be removed in not mixing feeds. All values must have "xml", even though the feed may be in JSON.
Tell the script the path to your logo

$site_logo = "logo.png";

The above path means your logo in inside the theme folder you selected