<?php if (!isset($_SESSION)) { session_start(); } require_once 'define.php'; @(include_once NSS_CONFIG_PROXY); if (defined('NSS_WP_PATH')) { NSS_DEBUG ? error_reporting(E_NOTICE | E_ERROR) : error_reporting(0); } else { NSS_DEBUG ? error_reporting(E_ALL) : error_reporting(0); } require_once NSS_ABSPATH . 'nss-includes/twitter/OAuth.php'; require_once NSS_ABSPATH . 'nss-includes/twitter/twitteroauth.php'; require_once NSS_ABSPATH . "nss-core/NeosmartStream.php"; $nss = new NeosmartStream(); @(include NSS_CONFIG_CONFIG); @(include NSS_CONFIG_THEME); @(include NSS_CONFIG_CHANNELS); @(include NSS_CONFIG_GROUPS); @(include NSS_CONFIG_TRANSLATE); @(include NSS_CONFIG_CODE); @(include NSS_CONFIG_LICENSE); @(include NSS_CONFIG_BASE_URL); @(include NSS_CONFIG_PASSWORD); @(include NSS_CONFIG_PLUGIN); @(include NSS_CONFIG_ERROR); @(include NSS_CONFIG_FEEDBACK); $nss->init();
<?php if (!isset($_SESSION)) { session_start(); } /**************************************************************************** * Includes *****************************************************************************/ include 'define.php'; include NSS_ABSPATH . "nss-core/NeosmartStream.php"; include NSS_ABSPATH . "nss-admin/functions.php"; $nss = new NeosmartStream(); $permissionError = testFilePermissions(); $serverError = testServerSettings(); @(include NSS_CONFIG_BASE_URL); @(include NSS_CONFIG_LICENSE); @(include NSS_CONFIG_PASSWORD); @(include NSS_CONFIG_PLUGIN); @(include NSS_CONFIG_ERROR); $nss_root = $nss->get('nss_root'); /**************************************************************************** * Auto-Fill Base URL *****************************************************************************/ if (!$nss_root && !$permissionError) { $statusSaveBaseURL = saveBaseURL(); } /**************************************************************************** * Globals *****************************************************************************/ //Password $admin_password = $nss->get('admin_password');
<?php $nss = new NeosmartStream(); //print_r($nss); /************************************************************************** * Config **************************************************************************/ //$nss->set('cache_time',120); //$nss->set('date_time_format','iso'); //$nss->set('theme','custom'); /************************************************************************** * Add Channels to display **************************************************************************/ //Twitter //$nss->addChannel('twitter','neosmart_gmbh'); //Custom XML - Path should be relative to NeosmartStream.php //$nss->addChannel('custom','../../channel_example.xml'); //Facebook $nss->addChannel('facebook', '67350357036', '263139357137396|9c374a0c03ddaa0db5a9125112d9ddb9');