News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

@rjen

Just checked the mod (out of curiousity). As far as I can see the Mod loads the css as part of the hook "integrate_bbc_buttons".

This hook is not being called in TinyPortal blocks, hence the situation hat the bbc code can be added, but he css is not called...

Like I said: you can add the css you ind in the file mboxes.css to the tp-custom.css file in your theme and the box layout will show in your blocks...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

@rjen

As a matter of fact, the other Message Boxes mod does work correctly, which makes me think the Mod may need to be updated...

The Mod should also load the css as part of the integrate_bbc_codes hook.
Once I added this one call in the file: BBC-MessageBoxes.php it works also for the Blocks..

Find

public static function bbc_code(&$codes)
{
global $modSettings;

change to

public static function bbc_code(&$codes)
{
global $modSettings;
loadCSSFile('mboxes.css', array('minimize' => true, 'default_theme' => true));

Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

serdo

Page is not displayed while installing Turkish language pack
but the site is opening while php version 7.4
is there a solution?

serdo


@rjen

Quote from: serdo on December 19, 2022, 04:20:05 AMPage is not displayed while installing Turkish language pack
but the site is opening while php version 7.4
is there a solution?

Please provide the details:
1. What SMF version?
2. What TinyPortal version?
3. What PHP version? (never mind: 7.4)
4. Is this a clean install or an upgrade?
   if it is an upgrade, what blocks (types) are you using?
5. What language pack did you use, where did it come from?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

serdo

SMF 2.1.3
TinyPortal v2.2.2
smf fresh install
php 8.1 version

I downloaded Turkish language pack from smf official site


tinoest

Can you confirm there is a TinyPortal folder in your top level directory. (Where Sources and Themes is located)

Can you also confirm the hooks you have, there should be a integrate_pre_include in there.

@rjen

I take it we can rule out the Turkisch language: this will be the same when logging on in English I assume?

I am running a test install in PHP8.1.6 and it does not throw these errors...

Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

serdo

Quote from: @rjen on December 19, 2022, 06:48:49 AMI take it we can rule out the Turkisch language: this will be the same when logging on in English I assume?

I am running a test install in PHP8.1.6 and it does not throw these errors...



I want to use Turkish language, is there a solution for this?

@rjen

Sorry, you are not answering my question: does it work without errors in the English language?

That way at least we may be able to understand where the issue starts?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

tinoest

See attachements, no issue here.

As I said before it's your environment, without answering questions we can't help you.

serdo

Quote from: @rjen on December 19, 2022, 06:59:26 AMSorry, you are not answering my question: does it work without errors in the English language?

That way at least we may be able to understand where the issue starts?


yes there is no problem with english language pack

jsx

@@rjen

I understand. Thanks for checking out this mod. :)

@rjen

I also installed the Turkish language pack and it work without any errors for me...

You cannot view this attachment.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

live627


tinoest


Rick53

Is it possible to open a block or article in a new window? So without InfoCenter etc.

Max22

Since you provide TinyPortal support here, I thought that someone could help me with this request. Is it a feature request that you could implement?

@rjen

#3358
Quote from: Max22 on January 13, 2023, 07:10:39 AMSince you provide TinyPortal support here, I thought that someone could help me with this request. Is it a feature request that you could implement?

This option does not exist in TinyPortal: there is the option available to suppress the shoutbox entries from the profile area, not the others.

Technically it is possible to add such a setting, but I am reluctant to make any promises, mostly because user are already complaining that TinyPortal offers too many 'settings'. I cannot recall seeing this request before: it seems not to be a common request...

But if you want to disable this in the profile, the change can be made in Integrate.php file (in the /Tinyportal folder)

For SMF 2.0 comment out line 67

            'actions'                           => 'TinyPortal\Integrate::hookActions',
//            'profile_areas'                     => 'TinyPortal\Integrate::hookProfileArea',
            'whos_online'                       => 'TinyPortal\Integrate::hookWhosOnline',

and for 2.1 comment out line 103

        if(TP_SMF21) {
            $hooks['redirect']                = 'TinyPortal\Integrate::hookRedirect';
//            $hooks['pre_profile_areas']       = 'TinyPortal\Integrate::hookProfileArea';
            $hooks['pre_load_theme']          = 'TinyPortal\Integrate::hookLoadTheme';
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Greyhound

Has the install issue for 2.1.3 been resolved? 

Advertisement: