Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

September 21, 2020, 08:23:48 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 190980
  • Total Topics: 20889
  • Online Today: 91
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 60
Total: 60

Author Topic: Creation of articles by users  (Read 209 times)

0 Members and 1 Guest are viewing this topic.

Offline wylek

  • Jr. Member
  • **
  • Posts: 9
    • WYLEK.RU
Creation of articles by users
« on: September 15, 2020, 04:52:54 AM »
Link to my forum: http://www.sub.wylek.ru/index.php
SMF version: SMF 2.1 RC2
TP version: TinyPortal 2.0.0 RC2

Hi. In version 2.0, it is not possible for users to create articles. Only an administrator can do this. Clicking the Create article button displays this error - "Sorry, this section isn't available at this time." :(

Offline @rjen

  • Support Team
  • *
  • Posts: 2464
    • FJR-club Nederland
Re: Creation of articles by users
« Reply #1 on: September 15, 2020, 05:02:55 AM »
Are you on RC2 or on RC1?

RC2 has not been released at all...
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline @rjen

  • Support Team
  • *
  • Posts: 2464
    • FJR-club Nederland
Re: Creation of articles by users
« Reply #2 on: September 15, 2020, 05:13:13 AM »
Just tested with the current Github version and it works fine for a non-admin user...
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline @rjen

  • Support Team
  • *
  • Posts: 2464
    • FJR-club Nederland
Re: Creation of articles by users
« Reply #3 on: September 15, 2020, 05:20:56 AM »
Link to my forum: http://www.sub.wylek.ru/index.php
SMF version: SMF 2.1 RC2
TP version: TinyPortal 2.0.0 RC2

Hi. In version 2.0, it is not possible for users to create articles. Only an administrator can do this. Clicking the Create article button displays this error - "Sorry, this section isn't available at this time." :(


Hmmm, just thought of something: what BUTTON are you using exactly?

Some stuff has changed for articles, existing menu items that you created yourself may require to be updated ... can you specify exactly what function you are using? (Screenshots work wonders)
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline @rjen

  • Support Team
  • *
  • Posts: 2464
    • FJR-club Nederland
Re: Creation of articles by users
« Reply #4 on: September 15, 2020, 05:27:43 AM »
Found it...

Option 2 does work, Option 1 needs to be fixed...
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline @rjen

  • Support Team
  • *
  • Posts: 2464
    • FJR-club Nederland
Re: Creation of articles by users
« Reply #5 on: September 15, 2020, 05:33:26 AM »
Found it...

Option 2 does work, Option 1 needs to be fixed...

Fixed
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline wylek

  • Jr. Member
  • **
  • Posts: 9
    • WYLEK.RU
Re: Creation of articles by users
« Reply #6 on: September 15, 2020, 06:40:54 AM »
I wrote it wrong - not a button but a link :)
Where can I download the fix?

Offline @rjen

  • Support Team
  • *
  • Posts: 2464
    • FJR-club Nederland
Re: Creation of articles by users
« Reply #7 on: September 15, 2020, 08:58:59 AM »
It's not in the repository yet since I am working on some other stuff. But you can use attached file: it has the fix in...

It goes into the /sources folder
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline wylek

  • Jr. Member
  • **
  • Posts: 9
    • WYLEK.RU
Re: Creation of articles by users
« Reply #8 on: September 15, 2020, 01:49:45 PM »
It's not in the repository yet since I am working on some other stuff. But you can use attached file: it has the fix in...

It goes into the /sources folder

There are no changes in this file :(

Offline @rjen

  • Support Team
  • *
  • Posts: 2464
    • FJR-club Nederland
Re: Creation of articles by users
« Reply #9 on: September 15, 2020, 02:47:53 PM »
Sorry, wrong file. It is the template file. Cannot attach it here because it has more changes in it. The commit with the correction is this one: https://github.com/Tinyportal/TinyPortal/commit/aecc0a9f948db0b2f63188b6998448ce9516f655
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info