News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

October 21, 2019, 03:10:49 PM

Login with username, password and session length

Recent

Recent Posts

Pages: [1] 2 ... 10
1
Block Codes / Re: Lost Classic Stats Blockcode
« Last post by @rjen on October 20, 2019, 11:00:13 AM »
That makes sense... there was a bug in versions prior to 164, that was fixed...

- fixed language visibility for blocks not working correctly

Indeed the setting that was mentioned did not work properly before. Now if you set the language visibility for blocks option you MUST set the language to show. If you uncheck the language visibility for blocks option the languages set in the block will not matter, the block will always show..
2
Block Codes / Re: Lost Classic Stats Blockcode
« Last post by lurkalot on October 20, 2019, 10:51:32 AM »
Ah, I see.  Then you must have "Use language visibility option for blocks?" set to yes in TP settings. that would be the reason for needing the language box ticked on the block. So it will only display for a particular language. 
3
Block Codes / Re: Lost Classic Stats Blockcode
« Last post by Dimitar12 on October 20, 2019, 10:29:22 AM »
...well long story. Briefly I reinstalled a new SMF and latest TP as something went wrong when I installed 1.6.4 on my old forum. So I made a new installation and lost the old settings.

Strangely, I don't remember this in 1.6.3, but if a Block is added and "english" language is not ticked in the Edit Block the Block is not appearing. I don't know is this a bug or a feature I don't understand. 

Nevertheless Tiny Portal in an incredible software and I wish you luck in continuing developing it.  O0

Code: [Select]
https://iotbg.eu/index.php
4
Block Codes / Re: Lost Classic Stats Blockcode
« Last post by lurkalot on October 20, 2019, 06:41:51 AM »
Thanks, marking solved. 

Still a bit confused as to what happened, but glad whatever it was is working.  ;)
5
Block Codes / Re: Lost Classic Stats Blockcode
« Last post by Dimitar12 on October 20, 2019, 05:49:18 AM »
Hello,

Thank you. Yes, everything is working fine. :doh: :)

You can delete or close the topic.

Thanks,
Dimitar
6
Block Codes / Re: Lost Classic Stats Blockcode
« Last post by lurkalot on October 20, 2019, 05:25:19 AM »
What do you mean you ‘lost’ it? The Stats block is a standard block you can just select as a block type...

Or do you mean a different block?

Do you see the stats block on this site?

I was about to ask the same, not really sure what Dimitar12 is asking.  The stats block works fine, and so does stats from the user block.  I even went through the snippets just in case it was a custom block code.
7
Block Codes / Re: Lost Classic Stats Blockcode
« Last post by @rjen on October 20, 2019, 05:20:57 AM »
What do you mean you ‘lost’ it? The Stats block is a standard block you can just select as a block type...

Or do you mean a different block?

Do you see the stats block on this site?
8
Block Codes / Lost Classic Stats Blockcode
« Last post by Dimitar12 on October 20, 2019, 04:42:09 AM »
Hello,

I have lost the classic Stats Block code with Members, Stats, Users Online after installing the latest Tiny Portal.

Will appreciate if someone can provide it.

Kind regards,
9
Support / Re: Double Menu for Downloads
« Last post by Wichtlmex on October 17, 2019, 01:13:57 AM »
Thanks, will try it!
10
Support / Re: Double Menu for Downloads
« Last post by lurkalot on October 17, 2019, 12:58:07 AM »
Well, you can hide the downloads link from that menu, but it will require a small manual edit to the code to do so. 

If you just want to hide that link from the TP menu.  Make a backup of your file as always.

In sources TPSubs.php find,

Code: [Select]
if(!empty($context['TPortal']['show_download']))
$buts['downloads'] = array(
'title' => $txt['tp-downloads'],
'href' => $scripturl . '?action=tpmod;dl',
'show' => true,
'active_button' => false,
'sub_buttons' => array(),
);

Change to.

Code: [Select]
if(!empty($context['TPortal']['show_download']))
$buts['downloads'] = array(
'title' => $txt['tp-downloads'],
'href' => $scripturl . '?action=tpmod;dl',
'show' => false,
'active_button' => false,
'sub_buttons' => array(),
);


Hiding the TinyPortal tab itself is possible, but only if you're not using the modules such as Downloads or Articles. So that's not really a option.   

It would be handy to have settings for this in TP admin, but I'm not sure how much work that would involve.
Pages: [1] 2 ... 10