Feeder/Upstream Fairs

Feeder Fairs are fairs that provide this fair with students. This fair may export awards to feeder fairs, retrieve winners for those awards, and download fair statistics.

Upstream Fairs are fairs that this fair can send students to. This fair can upload winners (of awards downloaded from the upstream fair) back to the upstream fair.

Youth Science Canada is a special type of upstream fair that uses a different communication protocol. Winners uploaded to this fair are registered for the CWSF. &$f) { if($f['type'] == 'sfiab_feeder') { $q = $mysqli->query("SELECT * FROM log WHERE `year`='{$config['year']}' AND `type`='sync_stats' AND `result`='1' AND fair_id='$fid' ORDER BY `time` DESC LIMIT 1"); if($q->num_rows != 1) { $last_sync = 'never'; } else { $r = $q->fetch_assoc(); $last_sync = date("F j, Y h:ia", strtotime($r['time'])); } } else { $last_sync = '--'; } ?>
Fair NameTypeLast Stats Sync

Statistics Synchronization

SFIAB does three types of synchronization. The last two (awards and winners) are automatic. Before generating reports with statistics from feeder fairs, they should all be synchronized. It may take a minute or two for all feeder fairs to respond.