TinyPortal

Development => Support => Topic started by: wylek on September 15, 2020, 11:52:54 AM

Title: Creation of articles by users
Post by: wylek on September 15, 2020, 11: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." :(
Title: Re: Creation of articles by users
Post by: @rjen on September 15, 2020, 12:02:55 PM
Are you on RC2 or on RC1?

RC2 has not been released at all...
Title: Re: Creation of articles by users
Post by: @rjen on September 15, 2020, 12:13:13 PM
Just tested with the current Github version and it works fine for a non-admin user...
Title: Re: Creation of articles by users
Post by: @rjen on September 15, 2020, 12:20:56 PM
Quote from: wylek on September 15, 2020, 11: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." :(


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)
Title: Re: Creation of articles by users
Post by: @rjen on September 15, 2020, 12:27:43 PM
Found it...

Option 2 does work, Option 1 needs to be fixed...
Title: Re: Creation of articles by users
Post by: @rjen on September 15, 2020, 12:33:26 PM
Quote from: @rjen on September 15, 2020, 12:27:43 PM
Found it...

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

Fixed
Title: Re: Creation of articles by users
Post by: wylek on September 15, 2020, 01:40:54 PM
I wrote it wrong - not a button but a link :)
Where can I download the fix?
Title: Re: Creation of articles by users
Post by: @rjen on September 15, 2020, 03:58:59 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
Title: Re: Creation of articles by users
Post by: wylek on September 15, 2020, 08:49:45 PM
Quote from: @rjen on September 15, 2020, 03:58:59 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 :(
Title: Re: Creation of articles by users
Post by: @rjen on September 15, 2020, 09: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
Title: Re: Creation of articles by users
Post by: wylek on September 16, 2020, 05:58:54 PM
It all worked! O0
Title: Re: Creation of articles by users
Post by: @rjen on September 16, 2020, 06:03:26 PM
Good