TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 02, 2024, 05:59:37 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,177
  • Total Topics: 21,220
  • Online today: 127
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 78
  • Total: 79
  • davo88

Any plans on making TinyPortal ready for SMF 2.1?

Started by @rjen, January 01, 2016, 03:39:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


lurkalot

Quote from: @rjen on January 03, 2016, 01:10:25 PM
I updated TPSubs.php, that seems to have fixed the issue...

Excellent.  Please keep an eye on the error log and report any findings.  Thanks.

@Illori, thanks for sorting this so quickly.  O0

@rjen

I am noticing some errors in the logs that you may find interesting:

Number 1
8: Undefined index: forum_name

Bestand: /home/deb77453/domains/fjr-club.nl/public_html/test/Themes/default/languages/TPortal.english.php
Regel: 306

It seems to appear when an incorect link is used:
The link used: http://test.fjr-club.nl/index.php?action=dlattach;topic=8120.0;attach=2913;image

Number 2
8: Undefined index: is_logged

Bestand: /home/deb77453/domains/fjr-club.nl/public_html/test/Sources/TPSubs.php
Regel: 205 and 176

The link used: http://test.fjr-club.nl/index.php?action=dlattach;topic=8120.0;attach=2907;image

Any ideas?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

illori

the first error has been reported a few times but no idea why it is happening. it seems to happen randomly. my SMF 2.1 test forum has never had that error, where my test forum for SMF 2.0 has seen that one.

the second error has not been reported.

@rjen

This one is strange.

If I go to my profile and try to access the Tinyportal options there (Portal Summary, Articles, etc..) it does not let me in: instead I get message: An Error Has Occurred, You are not allowed to access this section.

This is not right (I am admin). Tried with a regular accoutn as well, same problem?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

illori

got part of that solved, a bit more needed before i commit the fix.

@rjen

Quote from: illori on January 05, 2016, 12:50:42 AM
got part of that solved, a bit more needed before i commit the fix.

Thanks for that.

Another question: responsiveness.

With the standard responsive theme in 2.1., the sidebars for Tinyportal are interfering with the layout in small screens (see attached screenshots).

In my 2.0.11. forum I am using the Responsive Curve MOD and have had to make a few source code edits to suppress the left and right panel automatically on small screens. Any change you can modify TP to be able to control this behaviour from the settings?

I take it a complete redesign to make it fully responsive may be asking too much  ;) 
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

One more obeservation: every time someone tries to access a non-existing topic or board below error message is logged:

   8: Undefined index: tp-tphelp
http://test.fjr-club.nl/index.php?topic=7537.0
/home/deb77453/domains/fjr-club.nl/public_html/test/Themes/default/index.template.php
Regel: 354


351: // There is now a global "Go to top" link at the right.
352: echo '
353: <ul>
==>354: <li class="floatright"><a href="', $scripturl, '?action=tpmod;sa=help">', $txt['tp-tphelp'], '</a> | <a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="'. $scripturl. '?action=help;sa=rules">'. $txt['terms_and_rules']. '</a>' : '', ' | <a href="#top_section">', $txt['go_up'], ' ▲</a></li>
355: <li class="copyright">', theme_copyright(), '</li>
356: </ul>';
357:
Running Latest TP on SMF2.1 at: www.fjr-club.nl

illori

interesting. it seems on that error page it does not load TP, so the TPortal.<language>.php file is not loaded.

@rjen

Any luck on finding a solution for the Undefined index errors?
Running Latest TP on SMF2.1 at: www.fjr-club.nl