Ok now really a tiny portal question but i'll ask anyway (i may get lucky).
My idea is to take the core of SMF, Tiny Portal and SMFArcade and create an arcade only site similair to
http://www.gamesitescript.com/demosite/category/Arcade/1.html
I think all the components are there as it stands but the first stumbling block is how do i make the Arcade mod default as the frontpage alongside tiny portal ?
I thought maybe a center block with an include for php but for the life of me i can't seem to see how to do this ...
Anyone any suggestions on my first steps down a long path ?
Use iframes in a article and set the article to use frontpage?? Umm lol think I will try it on my site.
Nope-- that will not work right -- wants to show the whole site in the iframe -- will have to find the code
For a fast solution, open up index.php of your forum and find this line:
// 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';
}
Now, i am not sure what the arcade page is..that is what actio=xx it is. And aslo what source file it is. But it should be something like this:
// Action and board are still both empty...and no portal startpage - Arcade!
elseif (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex')
{
require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
You still need to set frontpage to "go directly to forum", but it will then go to the arcade section upon entering your site.
Tested it for you and that code works fine ;)
Great. :)
Maybe this could be another option for frontpage in fact. Specifying what action should start instead of forum or TP front. Like PM page..or recent posts even. It could be a custom action or a mod - or just a part of the forum.
Having the option would be a good idea. along with that having the option to use the sidebars in each page would be good -- like have them with the arcade but not the forum..
Yes that would be great... to be able to state which columns / blocks / articles to show on which individual pages.. and maybe even further down the track allow the user (Viewer ) to select which blocks / articles / columns they'd like to see and where
Blocks will be page-specific..but i am not sure about every user having her/his own placement of blocks or even frontpage choice. That will be more towards a CMS, or even a expanded blog..I think that TP is foremost a portal. :)