Hi,
How to set TinyPortal to show the forum on my front? I mean that if sb types http://mysite.com he will see all forums, as before install TP. (Not only posts from ONE forum). In fact, it would be better for me to full disable 'home page' for now - only have forum page. Is it possible?
Thx in advance
Excumbed
Not currently...but I will add this option in the next release.
Hmm... isn't it possible to do it... manually? I really need it :)
Couldn't you just set the forum to display on the front page in the "front page settings" in TPAdmin? You can also set the sidebars to not display while in the forum. Is that what you're looking for?
Nevermind, I forgot that it displays posts, and not the forum....
how about simply redirect to ur forum...
you mean ie. by header() in php?
uhm. tried that earlier and it just got in a loop on some severs, resulting in a 500 error.
What i am going to do, is actually set the emtpy action value (that will just go to the frontpage) to either TP frontpage(which it is now) or to the SMf forum(before TP) based on what the setting is at. That way its ensured the desired action is made, and no redirect is needed.
So how could I do it now, manually? Is it set in any file, so that I could change it?
Hi,
create a .htaccess in your homedir to make a redirector:
RewriteEngine on
RewriteRule (.*).html$ /forum/index.php?action=forum
Fel
Its set in index.php..look for this code:
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/TPortal.php');
return 'TPortal';
}
and set it to SMF normal state:
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
This will always show the forum first. The frontpage of TP can still be reached at index.php?action=tportal instead. So you might need to adjust any links for that.
Hi
1. THX Bloc, it's working propertly :)
2. I don't want to create new topic so here:
My site is: http://hamachi.pl
Why when I'm clicking at arrow in the left top cornet (what should make the left panel invisible) nothing's done?
In Internet Ex. I'm getting such an error message (translated from Polish):
- Line: 74
- Error: There is no definition "current_leftbar".
What is wrong?
It seems some code is missing from the index.template - or left out by me. Is it a un-modified Mercury theme?
Yes, directly downloaded from Your site (Mercury_TP) and installed by admin panel in SMF
hm, any ideas?