Advertisement:

Author Topic: TinyPortal  (Read 775921 times)

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2540 on: December 28, 2019, 10:40:02 AM »
That error was fixed in 164 ... https://www.tinyportal.net/index.php?topic=36398.0
what version are you using?
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2541 on: December 28, 2019, 11:07:42 AM »
That error was fixed in 164 ... https://www.tinyportal.net/index.php?topic=36398.0
what version are you using?

I remember that one, you found it and fixed it just before we released TP 1.6.4

I've just edited article as a Global Moderator, and Moderator and can't get it to throw a error.

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
    • WYLEK.RU
Re: TinyPortal
« Reply #2542 on: December 28, 2019, 12:10:17 PM »
Mod downloaded from your site, version 1.6.4. Error (Undefined index: locked - Line 1638) on both the working forum and the test forum.

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2543 on: December 29, 2019, 02:57:56 AM »
Mod downloaded from your site, version 1.6.4. Error (Undefined index: locked - Line 1638) on both the working forum and the test forum.

Can you attach your Tportal.php file here? I am looking for the code around line 1038 in that file...

A link to one on those sites would also be useful
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
    • WYLEK.RU
Re: TinyPortal
« Reply #2544 on: December 29, 2019, 04:05:35 AM »
Error code

Code: [Select]
elseif(allowedTo('tp_editownarticle') && !allowedTo('tp_articles') && $context['TPortal']['article']['authorID'] == $context['user']['id'] && $context['TPortal']['hide_editarticle_link'] == '0' && $context['TPortal']['article']['locked'] == '0')
If you prohibit the editing of an article by a moderator, there is no error.

Here is a working site h__s://wylek.ru
Here is a test site h__p://www.sub.wylek.ru

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2545 on: December 29, 2019, 06:08:32 AM »
That is not the file I need to see..
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
    • WYLEK.RU
Re: TinyPortal
« Reply #2546 on: December 29, 2019, 07:59:58 AM »
File this - TPsubs.template.php

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2547 on: December 29, 2019, 08:17:47 AM »
I really need to see the file I specified : Tportal.php
Even though the message states another file that’s where the issue starts...

Please attach the file itself here...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
    • WYLEK.RU
Re: TinyPortal
« Reply #2548 on: December 29, 2019, 08:25:41 AM »
File in attachment

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2549 on: December 29, 2019, 08:39:13 AM »
Seriously? I asked for the file Tportal.php...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
    • WYLEK.RU
Re: TinyPortal
« Reply #2550 on: December 29, 2019, 09:05:07 AM »
Wrong file attached :-\

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2551 on: December 29, 2019, 09:35:19 AM »
Wrong file attached :-\

thanks for that one. I checked you file and indeed the fix I mentioned is already in there, so there must be another issue.
I will try to reproduce it first, will let you know my findings...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2552 on: December 29, 2019, 10:06:50 AM »
Hi!
When editing an article by moderators, this error always appears on version 1.6.4  SMF2.1 RC2

Code: [Select]
Type of error: Undefined
8: Undefined index: locked
 https://site.ru/index.php?https://site.ru/
 /home/admin/web/site.ru/public_html/Themes/default/TPsubs.template.php (Line 1639)

Ok, I tried to reproduce it using a user account that has the permission to manage articles, and then update a random article (from a different user). I get no errors.

Tried it on the frontpage, on a category page and on an article page, but all work fine.

Can you describe in detail which steps you take to get the error? 
Can you post the complete URL of the page you are accessing when getting the error?

You say a 'moderator' changes an article. How exactly is the user configured? SMF Moderators do not get extra permissions in Tinyportal, so I assume you have a user group with extra permissions. What exact TinyPortal permissions does that user group have?
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2553 on: December 29, 2019, 04:11:26 PM »
Ok, found it, replace Tportal.php with the file attached: that should fix it...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
    • WYLEK.RU
Re: TinyPortal
« Reply #2554 on: December 30, 2019, 12:30:28 AM »
Great! Now there are no errors  :)

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2555 on: December 30, 2019, 01:32:56 AM »
You’re welcome
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,514
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: TinyPortal
« Reply #2556 on: December 30, 2019, 01:21:29 PM »
I published it on the author's site but since I'm here I leave it here the attachment of the Spanish Latin translation of TP 1.6.4 8).


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2557 on: December 30, 2019, 01:46:32 PM »
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2558 on: December 30, 2019, 01:51:53 PM »
Thanks. Translation is posted her...

https://www.tinyportal.net/index.php?action=tpmod;dl=item150

Thanks, Rock Lee.  Much appreciated. 8)


Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,105
  • Hoarding Budweiser in NY
Re: TinyPortal
« Reply #2559 on: December 30, 2019, 10:34:28 PM »
How to place google ads in block?  Have the ad code in lower panel, it's blank.  Test div displays, ads do not.
« Last Edit: December 30, 2019, 10:48:00 PM by Sir Osis of Liver »