TinyPortal
Development => Support => Topic started by: Timid on May 26, 2009, 07:20:16 AM
Yaa I know there is a setting to go directly to forum index under Settings and Frontpage ==> Frontpage, but what I was wondering if there is away that I could set it to go directly to arcade instead of forum index in tinyportal. Maybe edit a file?
Yaa.. I suggest you ask at the Arcade site, or http://www.simplemachines.org
Although TinyPortal does enable a front page, it has nothing to do with arcade pages.
If you set your TP to go to boardindex, then in the index.php file in the root of the SMF folder you could change this code to goto Arcade.
// Action and board are still both empty...and no portal startpage - BoardIndex!
elseif (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex')
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
I think that should make your board automatically go to the arcade if you set TP like I said. TP will be going to board index still, but you're changing the boardindex code to go to arcade. If you don't know what the arcade settings are, you'll have to ask them.
You could do this as a re-direct instead of editing code. This could save you some headaches when tring to update your forum at a later date and would be eaisly removed if you change your mind about it.
yourdomain.com - redirected to yourdomain.com/index.php?action=arcade
:)