Skip to main content
Recent Posts
11
Addons / Re: TinyPortal for Elkarte
Last post by tino -
Code: [Select]
 if (!function_exists('is_countable')) {
     function is_countable($var) {
         return ( is_array($var) || $var instanceof Countable || $var instanceof \SimpleXMLElement || $var instanceof \ResourceBundle; );
     }
 }


Adding that to the bottom of TPortal.php should solve the undefined issue
12
Addons / Re: TinyPortal for Elkarte
Last post by Vague Whiner -
Quote from: tino –
Development won't on Elkarte 1.1.8 as it's for Elkarte 2.0.0 only. The master is also towards that now. The last tag should work on 1.1.8.

Oh ... then I've got misinformation about this matter from:

Quote from: tino – If you wanted to use TinyPortal on Elkarte 2.0 there is this branch which should largely work..
.

https://github.com/tinoest/ElkTinyPortal/tree/TinyPortal_Elkarte2

The old version which works on Elkarte 1.1. is here

https://github.com/tinoest/ElkTinyPortal/tree/development

In both instances they are an RC Release, due to the changes between Elkarte 1.1 and Elkarte 2.
0 a new version is needed as the namespace is completely changed between the two.


Followed that hyperlink which said to work with 1.1.x

Quote from: tino – What version of PHP were you running? is_countable was introduced in PHP 7.3 and I would expect most places to be on that by now.

OK ... that explains it then, since the server is way behind the updates for reasons I don't even want to know and I don't run the box, it's in much more knowledgeable hands of my friend, so I cannot do anything but relay this to him.

Server is in process to get some love and updates so when that happens things will work :)
13
Addons / Re: TinyPortal for Elkarte
Last post by tino -
Quote from: Vague Whiner – But the development version didn't have install button when I uploaded it ... so I don't know why gives.

Development won't on Elkarte 1.1.8 as it's for Elkarte 2.0.0 only. The master is also towards that now. The last tag should work on 1.1.8.

What version of PHP were you running? is_countable was introduced in PHP 7.3 and I would expect most places to be on that by now.
14
Addons / Re: TinyPortal for Elkarte
Last post by Vague Whiner -
Quote from: tino –
I know it works in Postgre in 1.1.8 as that’s what I run it under.

Unfortunately not for me :(

I installed the one that is available from the EA addons, download didn't work from the package manager in EA, but I downloaded the .zip and then uploaded.

But the development version didn't have install button when I uploaded it ... so I don't know why gives.
15
Addons / Re: TinyPortal for Elkarte
Last post by tino -
Quote from: Vague Whiner –
Quote from: ahrasis – I am not sure if TinyPortal is properly maintained or whether it is suitable with development version. Have you tried the suggestion in reply #30 or tried it on 1.1.9 instead?

Ain't reply #30 about EA 2.0?

And no, I haven't tried on 1.1.9 ...

What comes to the development and maintaining I think @tino is the one who can answer to that :)

I’ve not tried it on Postgre recently as I couldn’t get Elkarte 2.0 to install let alone TinyPortal.

I know it works in Postgre in 1.1.8 as that’s what I run it under. I need to fix the security issue warning for 1.1.9 (which is actually a patch I put in 1.1.9 so my own fault it’s broken)
16
Addons / Re: TinyPortal for Elkarte
Last post by tino -
Quote from: Vague Whiner –
Quote from: tino – It's only on postgre, MySQL install's fine.

Development version cannot be installed on PostgreSQL apparently and the version that can be downloaded from the addons seems to have some issue :(

After I install the one from the addons I get this:

[attach type=image]10232[/attach]

And index seems to get whole page stuffed into the left column. When clicking the TinyPortal settings it seems again duplicate the whole page in the place I suppose those settings should be. TP admin menu is showing on the left column though.

What version of php are you running? is_countable is a core function.

The left column thing is due to the error you raised.
17
Addons / Re: TinyPortal for Elkarte
Last post by ahrasis -
Sorry I misread thus misunderstood. I thought you tried TP RC3 (the one in the link and in the guthub release) on EA development version which 2.0.
20
Addons / Re: TinyPortal for Elkarte
Last post by ahrasis -
I am not sure if TinyPortal is properly maintained or whether it is suitable with development version. Have you tried the suggestion in reply #30 or tried it on 1.1.9 instead?