News: June 24th, 2017, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.3! GET IT NOW!!!

Login  |  Register
* *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 22, 2017, 08:41:55 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 181382
  • Total Topics: 20345
  • Online Today: 57
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 1
Guests: 46
Total: 47

Skinz





Author Topic: Any plans on making TinyPortal ready for SMF 2.1?  (Read 15279 times)

0 Members and 1 Guest are viewing this topic.

Online illori

  • Administrator
  • *
  • Posts: 1771
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #70 on: January 17, 2016, 11:11:56 AM »
in TPassimilate.php

find

Code: [Select]
function tpAddProfileMenu(&$profile_areas)
{
global $txt;

change to

Code: [Select]
function tpAddProfileMenu(&$profile_areas)
{
global $txt, $context;

Offline @rjen

  • Beta Tester
  • *
  • Posts: 172
    • FJR-club Nederland
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #71 on: January 17, 2016, 12:58:59 PM »
Problem solved  O0
Running TP1.3R on SMF2.0 at: www.fjr-club.nl
Testing TP1.3R on SMF2.0 at: https://test.fjr-club.nl
Testing TP2.0 on SMF2.1 at: https://test2.fjr-club.nl

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #72 on: April 05, 2017, 05:43:14 PM »
Old thread yes, but probably the right one.

Looking here it appears that TP development to prepare for SMF2.1 are continuing?

Online illori

  • Administrator
  • *
  • Posts: 1771
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #73 on: April 06, 2017, 03:09:54 AM »
it is at a stand still right now, but it works as far as i know with the current SMF 2.1 beta

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #74 on: April 06, 2017, 10:18:48 PM »
Where can I grab the TP2.0 beta from, to try running on my SMF2.1 test forum ?


Offline @rjen

  • Beta Tester
  • *
  • Posts: 172
    • FJR-club Nederland
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #75 on: April 06, 2017, 11:38:37 PM »
Grom github. Checkout the start of this topic: it has all instructions there already
« Last Edit: April 07, 2017, 01:05:07 AM by @rjen »
Running TP1.3R on SMF2.0 at: www.fjr-club.nl
Testing TP1.3R on SMF2.0 at: https://test.fjr-club.nl
Testing TP2.0 on SMF2.1 at: https://test2.fjr-club.nl

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #76 on: April 07, 2017, 07:40:17 AM »
Thanks

Offline @rjen

  • Beta Tester
  • *
  • Posts: 172
    • FJR-club Nederland
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #77 on: June 12, 2017, 06:04:15 AM »
Maybe not the best place to mention this, but I will leave the message here as well: the fix applied to make TP1.2R3 working with PHP version 7.1 also needs to be applied to the code for TP 2.0. I applied the same fixes here and now my 2.1 beta 3 forum also works on PHP 7.1
Running TP1.3R on SMF2.0 at: www.fjr-club.nl
Testing TP1.3R on SMF2.0 at: https://test.fjr-club.nl
Testing TP2.0 on SMF2.1 at: https://test2.fjr-club.nl

Offline Mc Fly

  • Jr. Member
  • **
  • Posts: 6
    • Die Annoholiker
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #78 on: July 22, 2017, 01:09:40 AM »
Just installed the last github-repos of SMF 2.1 (beta 4!) and TP.  :)

Got a general error "8192: Methods with the same name as their class will not be constructors in a future version of PHP; chain has a deprecated constructor" in TPSubs.php line 539.

And the Database-Error on "Home":
Quote
Expression #9 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'smf21.a.id_attach' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
File: /var/www/testserver/Projekte/smf2.1/Sources/TPortal.php
Line: 1624

Server is running PHP7/FPM... I think I have to read all threads about PHP7...  ;D

EDIT:
Fixed the database error and an error on adding articels by changing sql_mode(s).
« Last Edit: July 22, 2017, 04:23:24 AM by Mc Fly »
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
SMF 2.0 & TP 1.3
SMF 2.1 & TP 2.0

Offline lurkalot

  • Administrator
  • *
  • Posts: 3645
    • Camera Craniums
Re: Any plans on making TinyPortal ready for SMF 2.1?
« Reply #79 on: July 22, 2017, 05:47:32 AM »
Just installed the last github-repos of SMF 2.1 (beta 4!) and TP.  :)

Got a general error "8192: Methods with the same name as their class will not be constructors in a future version of PHP; chain has a deprecated constructor" in TPSubs.php line 539.

And the Database-Error on "Home":
Quote
Expression #9 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'smf21.a.id_attach' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
File: /var/www/testserver/Projekte/smf2.1/Sources/TPortal.php
Line: 1624

Server is running PHP7/FPM... I think I have to read all threads about PHP7...  ;D

EDIT:
Fixed the database error and an error on adding articels by changing sql_mode(s).

There's a few php 7 compatibility fixes here, https://www.tinyportal.net/index.php?topic=35895.0 although they are for TP 1.3 they should work for TP2 which is what you're trying out.  Hope this helps.
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta