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,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 388
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 321
  • Total: 321

Forum on the fron page?

Started by excumbed, November 17, 2005, 06:30:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bloc

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.

excumbed

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?

bloc

It seems some code is missing from the index.template - or left out by me. Is it a un-modified Mercury theme?

excumbed

Yes, directly downloaded from Your site (Mercury_TP) and installed by admin panel in SMF

excumbed


This website is proudly hosted on Crocweb Cloud Website Hosting.