Advertisement:

Author Topic: TinyPortal  (Read 762942 times)

Online @rjen

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
Re: TinyPortal
« Reply #2500 on: August 08, 2019, 01:33:02 AM »
Hmm I see what you mean.

Can you check what happens if you allow guests to see the forum (SMF setting)?
Running SMF 2.0 with Tinyportal 1.6.4 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal at http://test2.fjr-club.nl/

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,507
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2501 on: August 08, 2019, 01:42:31 AM »
Working on a forum running TP 1.6.3 in 2.0.15, just did clean install and owner installed/configed TP.  Main menu is a bit wonky, TinyPortal menu button is visible to guests, shouldn't be (doesn't work), and there is no Forum button.  Don't see any settings for these.

Forum button not showing probably due to front page setting = Go directly to forum index.  Change that to something else and it should come back.

Downloads not doing anything because guests don't have permission to view anything by the looks of it.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2502 on: August 08, 2019, 01:55:19 AM »
Yeah, got the button back.  I'd like to have portal blocks display only on front page, Forum link to display forum without blocks.

Guests have no permissions (well, just one, to view staff list).  Are there additional permissions for TP?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2503 on: August 08, 2019, 02:01:02 AM »
Can you check what happens if you allow guests to see the forum (SMF setting)?

If I allow guests to browse forum, they don't see board index, just info center.  TP Downloads link allows them to view downloads.

Online @rjen

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
Re: TinyPortal
« Reply #2504 on: August 08, 2019, 02:04:49 AM »
Yeah, got the button back.  I'd like to have portal blocks display only on front page, Forum link to display forum without blocks

That’s easy: suppress the panels on the forum index

Quote
Guests have no permissions (well, just one, to view staff list).  Are there additional permissions for TP?

Check the permissions : TP adds permissions: guests are allowed to view downloads by default
Running SMF 2.0 with Tinyportal 1.6.4 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal at http://test2.fjr-club.nl/

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2505 on: August 08, 2019, 02:14:28 AM »
That’s easy: suppress the panels on the forum index

Ok, got that.

Quote
Check the permissions : TP adds permissions: guests are allowed to view downloads by default

Not seeing that, only permissions for Downloads System mod.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,507
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2506 on: August 08, 2019, 02:28:04 AM »
Go to that downloads "General" category and edit the permission for it. (Untick Guests).

Online @rjen

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
Re: TinyPortal
« Reply #2507 on: August 08, 2019, 02:30:44 AM »
You are right , sorry it’s early... there are no guest permissions (they are on the categories, but that may not solve your problem)

Need to look into that. For the time being (if you are not using the Tpdowloads module) switching it off in the TP modules setting should remove the unwanted menu option...
Running SMF 2.0 with Tinyportal 1.6.4 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal at http://test2.fjr-club.nl/

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2508 on: August 08, 2019, 02:46:07 AM »
I'm beat, it's getting to be 0300 here and eyes are shot.  Don't see any way to disable TP downloads.  The board index is broken in guest view, nothing to do with TP.  Think I'll dump this install tomorrow and start clean (again), install TP first.

Online @rjen

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
Re: TinyPortal
« Reply #2509 on: August 08, 2019, 02:50:07 AM »
TinyPortal > modules > download manager : switch to Off
Running SMF 2.0 with Tinyportal 1.6.4 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal at http://test2.fjr-club.nl/

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,507
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2510 on: August 08, 2019, 02:52:14 AM »
I'm beat, it's getting to be 0300 here and eyes are shot.  Don't see any way to disable TP downloads.  The board index is broken in guest view, nothing to do with TP.  Think I'll dump this install tomorrow and start clean (again), install TP first.

Ok, hopefully we'll get you there eventually.  As a last resort you could give one of us TP team admin access, and we'll see if we can point you in the right direction.

TinyPortal > modules > download manager : switch to Off

Should do it.  ;)

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,507
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2511 on: August 08, 2019, 02:56:47 AM »
Yeah, got the button back.  I'd like to have portal blocks display only on front page, Forum link to display forum without blocks.

Guests have no permissions (well, just one, to view staff list).  Are there additional permissions for TP?

In addition. If you don't want blocks showing on the staff list.  Go TP Admin > Panels

In the "Hide panels when in custom actions:" box type the word staff

And save.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2512 on: August 08, 2019, 03:55:51 PM »
TinyPortal > modules > download manager : switch to Off

Ok, got that.  How to remove TP drop item from Help button for guests?

Online @rjen

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
Re: TinyPortal
« Reply #2513 on: August 08, 2019, 03:59:28 PM »
Only by changing code
Running SMF 2.0 with Tinyportal 1.6.4 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal at http://test2.fjr-club.nl/

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2514 on: August 08, 2019, 04:07:03 PM »
<sigh>  Where's the code?

Online @rjen

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
Re: TinyPortal
« Reply #2515 on: August 08, 2019, 04:20:47 PM »
<Yawn> I will tell you when I have a pc available. This will not be before Saturday.
Running SMF 2.0 with Tinyportal 1.6.4 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal at http://test2.fjr-club.nl/

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2516 on: August 08, 2019, 04:39:53 PM »
Ok, no big rush.  I'm dumping the install and redoing everything from scratch.  Some of the glitches are due to leftover stuff in the database, I'm trying to get access to clean it up.  Biggest problem is getting forum owner to decide what he wants.  Thanks.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,507
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2517 on: August 08, 2019, 04:52:57 PM »
Remove TP from the help tab.  If I've got this right, it's in Sources\TPassimilate.php

Look for, and change true, to false at the bottom.

Code: [Select]
    // Add the help

    if(array_key_exists('help', $buttons)) {

        $buttons['help']['sub_buttons'] = array(

            'tphelp' => array(

                'title' => $txt['tp-tphelp'],

                'href' => $scripturl.'?action=tpmod;sa=help',

                'show' => true,

            ),

        );

    }

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,463
Re: TinyPortal
« Reply #2518 on: August 08, 2019, 05:29:17 PM »
Ok, that got it.  Also changed Forum button so it shows for all frontpage settings.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,507
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2519 on: August 09, 2019, 02:34:11 AM »
Ok, that got it.  Also changed Forum button so it shows for all frontpage settings.

Glad that sorted the help tab.   Not sure what you mean regarding the Forum button though, that should show anyway unless you've got it set in Frontpage settings > "Go directly to forum index"