TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,217
  • Total Topics: 21,351
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

SMFArcade on the frontpage with Tiny Portal

Started by desm0n, March 21, 2006, 05:54:57 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

desm0n

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 ?

Ray

#1
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

bloc

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.

Ray


bloc

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.

Ray

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..

Blue Steel

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

bloc

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. :)

This website is proudly hosted on Crocweb Cloud Website Hosting.