Frontendusers - Delete Image (as FEU user), BUG

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nforcer
New Member
New Member
Posts: 3
Joined: Mon May 19, 2008 11:31 am

Frontendusers - Delete Image (as FEU user), BUG

Post by nforcer »

Whenever an image is set as a (feu) user property and the front end user uploaded the image in his settings, he can not remove it! It is already reported as 3734 bug against FEU 1.6.7 (not solved) and again against FEU 1.6.9 (bug 4000) where it still occurs. I just need a fix or workaround or ... Any help is appreciated! Thanks in advance!
carterbeech
Forum Members
Forum Members
Posts: 48
Joined: Tue Nov 14, 2006 9:06 pm

Re: Frontendusers - Delete Image (as FEU user), BUG

Post by carterbeech »

I'm having the same problem.  Any fixes out there?
nforcer
New Member
New Member
Posts: 3
Joined: Mon May 19, 2008 11:31 am

Re: Frontendusers - Delete Image (as FEU user), BUG

Post by nforcer »

Actually, i tried to find the problem in the code.. it seems there is only ONE place where the unlink part (delete if you are unfamiliar with php) takes place. Adding some echoes, i see the code is only reached when the "clear" checkbox is ticked in the backend! Ticking the box in the frontend and submiting, he never reaches the unlink part ...
All form fields are set correctly and are send, you can get the fields.. but as it seems that the image part especially the clear is never evaluated, it is no surprise it is not deleted.

I actually have a "hack" workaround, but I have to check whether it is "safe" to use for others or to show the code.. it is a smarty tag you have to embed which checks for the image form fields, escpecially the clear and then performs the steps FEU fails to do... I am currently in office but I will check it when back home and post it then
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Frontendusers - Delete Image (as FEU user), BUG

Post by Rolf »

If this problem still excist in release 1.16.11, you better put in another bugreport...
http://dev.cmsmadesimple.org/bug/list/14

And add this fix (or a link) into it, perhaps it will help the developper.

Grtz, Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”