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,236
  • Total Topics: 21,353
  • Online today: 340
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 200
  • Total: 200

GO DIRECTLY TO FORUM INDEX option does not remove FORUM button

Started by ogmios, April 26, 2012, 07:26:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ogmios

i searched and searched and couldn't find anyone needing the same resolution i need...

i recently upgraded to smf 2.0 and installed tinyportal and while everything is fine and working good, i have one 'quirk' that i can't seem to figure out... i can't find any information on it as well...

when running smf 1.1.x with tinyportal 0.9.8, i would check mark 'go directly to forum index' and this in turn would remove the FORUM button and visitors would be taken directly to the forum index as the home page... this is how i like it :)

after installing smf 2.0 and tinyportal 1.0, i incorporated the same settings, but the FORUM button does not get removed...

i can select the option to show the tinyportal panels on the frontpage, but then i am still stuck with the HOME button and FORUM button both showing... i would like to get it to work as it did with the older version where once i select 'go directly to forum index', it will remove the FORUM button...

Link to my OLD installation working how i like: http://www.beatnip.org/waveforum
Link to my NEW installation where both buttons show: http://www.beatnip.org/waveforum2
Default Forum Language: english
Theme name and version: old: default, new: default/curve
Browser Name and Version: Browser name/version here


IchBin

In Subs.php find this section:

'forum' => array(
                                'title' => isset($txt['tp-forum']) ? $txt['tp-forum'] : 'Forum',
                                'href' => $scripturl . '?action=forum',
                                'show' => true,


Change with this:
'forum' => array(
                                'title' => isset($txt['tp-forum']) ? $txt['tp-forum'] : 'Forum',
                                'href' => $scripturl . '?action=forum',
                                'show' => ($context['TPortal']['front_type'] != 'boardindex') ? true : false,

ogmios

bee-yoo-tee-full  O0 --- many thanks IchBin™!

(solved.)

This website is proudly hosted on Crocweb Cloud Website Hosting.