TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: Freddy on May 28, 2009, 12:27:54 PM

Title: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: Freddy on May 28, 2009, 12:27:54 PM
When a user goes to submit an article (HTML) the form
shows a section for the Image Quick list.  There is the
browse button there, and one can select an image but then
nothing happens and there appears to be no way for the
form to actually upload the image.  Clicking on SAVE (which I
found uploads the image if you are an admin) submits the
article for approval only and does nothing about uploading
the image.

This renders the Image QUick list useless.

I hope that makes sense.

Link to my site: offline work using Abyss webserver
SMF version: 1.1.9
TP version: v1.0 beta 4
Theme name and version: Default
Browser Name and Version: Firefox 3, Chrome
Mods installed: None
Related Error messages: n/a
Title: Re: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: Zetan on May 28, 2009, 12:44:45 PM
Does this topic help at all?

http://www.tinyportal.net/index.php/topic,29749.0.html
Title: Re: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: Zetan on May 28, 2009, 12:49:04 PM
I have deleted the other topics as requested. Another support member may have an answer for your other submitted bugs.
Title: Re: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: Renegd98 on May 28, 2009, 01:13:32 PM
I tried this image upload this morning and it uploaded the image and inserted it into the article just fine for me. Could this possibly be a permissions issue on his server?
Title: Re: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: Freddy on May 28, 2009, 02:07:20 PM
Quote from: Zetan on May 28, 2009, 12:44:45 PM
Does this topic help at all?

http://www.tinyportal.net/index.php/topic,29749.0.html

Yeah well it's the same problem but I tried changing the URL to :

http://localhost/forum1/index.php?action=tpmod;sa=addarticle

as he did, but that just gets 'Unable to load the 'main' template.' error.

The thing is this feature works fine if you are an admin but it doesn't appear to work for a regular user with permissions to make articles.

So yes, clicking SAVE when you are admin works fine - the image appears on the quicklist...

BUT, if you only have permissions to submit articles pressing SAVE only submits the whole article for approval - so you lose the ability to add images to the quick list as the whole thing is then submitted - ie you don't go back to editing it.

I hope I have explained that ok and thanks for removing my other posts.

Renegd, I will look at the permissions again, but they all seem to make sense so far.
Title: Re: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: Freddy on May 28, 2009, 03:48:22 PM
Okay did a bit more tampering.

It seems to me that most of the problems I have reported work okay if the user ( ie non admin) is given permission to Manage Articles.

But the problems persist if the user does not have this permission.  So it seems there are bugs in there.  If anyone wants to test this I suggest you try it out with a user without having permission to manage articles, then you should see the problems I have encountered.

Of course it's probably still going to be desirable to limit some users to only submissions, so I still consider it a bug.

Ho hum  :-\
Title: Re: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: bloc on February 02, 2010, 04:20:58 PM
An old error this one, but also fixed now. I have made it such that if the user cannot edit their own articles, they won't see the quicklist either. While if they can edit, they will see it and pictures will be uploaded as normal.

In addition theres a link to "My articles" in userbox now and from dropdown menu(in SMF 2.0 RC2)
Title: Re: [bugtracker] User cannot upload to Image Quicklist (Articles)
Post by: Freddy on February 02, 2010, 05:23:31 PM
Nice one Bloc  O0