https://www.icyphoenix.com/viewtopic.php?f=35&t=7429&p=50612#p50612 ----------------------------------- spydie Tue 02 Nov, 2010 14:52 Re: Page Permisions ----------------------------------- OK so you want it all done, is taht what you call the easy way?? this in your route chess.php [code linenumbers=false]. * ***************************************************************************/ /*************************************************************************** * * READ THIS! Wherever you see MY_TEMPLATE or My_Template or my_template, replace with whatever you * want to call your new page. * ***************************************************************************/ // CTracker_Ignore: File checked by human define('IN_ICYPHOENIX', true); if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './'); if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1)); include(IP_ROOT_PATH . 'common.' . PHP_EXT); /***** If you want to create VARS (Custom) that do not already exist in Icy Phoenix, you can add them to this page, or create the file "variables.php" for variable-transition of your own "Stand-Alone VARS" to the .tpl file(s). So you will need to uncomment the line below. *****/ // include(IP_ROOT_PATH . 'variables.' . PHP_EXT); // standard session management $userdata = session_pagestart($user_ip); init_userprefs($userdata); // Check if user is logged in if (!$userdata['session_logged_in']) { redirect(append_sid('login_ip.' . PHP_EXT . '?redirect=files/chess.' . PHP_EXT, true)); } // set the page title $page_title = 'Chess'; // The standard page header include(IP_ROOT_PATH . 'includes/page_header.' . PHP_EXT); // assign the template $template->set_filenames(array('body' => 'chess.tpl')); $template->assign_vars(array( // This is where you would add a new VARS Array and any of your own if you intend to use your OWN custom VARS with a variables.php file. )); $template->pparse('body'); // standard page footer include(IP_ROOT_PATH . 'includes/page_tail.' . PHP_EXT); ?> [/code] and this in templates/default/chess.tpl [code linenumbers=false]

Chess

The Macromedia player code, including path of your swf file

[/code] only thing you need to edit is the tpl file