[SOLVED] Can Not Delete Thumbnail In User Photo Plugin

Posted in WordPress on June 27st, 2008 | (35) Comments

Solution for problem on: http://wordpress.org/support/topic/166501?replies=3

Here is a solution if you can not delete the picture thumbnail generated by User Photo plugin for WordPress. User Photo is a plugin to let your blog member to upload their picture.

To solve the problem, you just need to edit the plugin file (user-photo.php) around line 212.

 
$thumbpath = ABSPATH . "/wp-content/uploads/userphoto/" . basename($userdata->userphoto_image_file);

Change it to:

 
$thumbpath = ABSPATH . "/wp-content/uploads/userphoto/" . basename($userdata->userphoto_thumb_file);

Save the file and you can start delete your thumbnail. Make sure that your file permission is set correctly (777 or 775).

It seems that the developer forgot to change userphoto_image_file to userphoto_thumb_file.

Popularity: 74% [?]

Comments:

35 Responses to “[SOLVED] Can Not Delete Thumbnail In User Photo Plugin”


  1. wah keren mas, bisa buat referensi….


  2. @ Mas Fajar..
    Thanks mas.. semoga bermanfaat..


  3. Perhaps, you will find a lot of related information at the official Samsung site.


  4. Well, very sweet… Someone will love this and I can’t wait to tell her about this. Thanks again…


  5. Your Contact Solo-Ad With Four Different Safelists To Choose From. Including Our Popular Hurricane List! Consisting Of Over 2.5 Million Contact Leads For Just $16.95! All Of Them Waiting For your Offer! Each Of The Four Safelist Leads Were Collected By Double-Optin Spam Free Techniques. Our Clients Report All Of Our Safelist Leads Are Highly Responsive. What more could you ask for? Mention PROMO Code 2114 To Claim A FREE Lifetime MEGA-Promotion Membership Just To Say Thanks! Our 10 Years in Business and Globally Recognized Status Speaks for Itself. Start Making Sales At: http://www.UniversalSolo.com


  6. What a good blog you have here. Please update it more often. This topics is my interest. Thank you. . .


  7. Amazing post! I initially found your blog a week or so ago, and I subscribed to your RSS feed the very same day. I have several cool ideas for some upcoming posts you could write. I’ll send you an email shortly. Keep up the great work.


  8. I enjoy your blog. Could let me know how I can go about keeping up to date with it? By the way I stumbled upon your site through Lycos.


  9. Nice! Thanks for posting! I really enjoyed the report. I’ve already bookmark this article. :)


  10. I think by far the best backlinking technique is to build link wheels, by hand, and string them together yourself, all these automated software programs leave too many footprints, my two cents anyways :)


  11. I’m a huge fan of this site and I read it regularly. Keep up the good work!


  12. Cheers. I’m always focused on articles and info about web site seo. You can’t predict where you will find a great new approach (well, new to me at least). Even though there will almost always be essential Search engine optimization methods, a little fine-tune here and there, and your site will receive significantly better search positions. If you are using WordPress getting the correct plug ins and even a really good premium theme will help your Search engine optimization. It’s also really important to keep up to date with the modifications in search engine algorithms.Best wishes


  13. The more the merrier


  14. Jau Bei uns kann da nichts passieren.


  15. Can I just answer what a release to locate someone who actually understands what theyre discussion regarding on top of the internet. You absolutely make out how to carry an concern to brightness plus construct it significant. Extra community call for to read this plus realize this side of the narrative. I cant consider youre not extra fashionable since you definitely have the gift.


  16. photoblogs are cool and i maintain at least two of them;.,


  17. i maintain at least 3 photoblogs coz i love taking pictures and sharing it online.:’


  18. Can I just answer what a pain relief toward hit upon superstar who in reality knows what theyre talking about on the the web. You certainly recognize how toward transport an matter to light and build it important. More community require to read this plus realize this side of the narrative. I cant consider youre not more fashionable because you definitely contain the gift.


  19. actually, the best type of blog is the photoblog because pictures speak a thousand words “”


  20. Porsche cars are one of the finest sportscars in the world. If you demand on of these cars, you feel the motorsports episode throughout diverse years.


  21. Not very sure about others, in my opinion this is excellent one me. I’ve already bookmarked this page and will be coming back again to check out for new post. Thanks for this, really appreciate it.


  22. I just recorded a podcast about a similar subject. Have you ever considered podcasting? It’s a good way to drive traffic back to your blog.


  23. very cool blog website. Gave me a significantly better information about a financial crisis. Many thanks friend


  24. i cant read this on firefox please fix it dude hello from israel


  25. Your post was amazing. I am going to check back later. Keep updating your blog! ^.^b


  26. some really wondrous work on behalf of the owner of this website , absolutely great subject material .


  27. Hello, I simply had to say that this particular internet site’s template is very professional according to my own limited understanding.


  28. I must say that overall I am really impressed with this article.It is easy to see that you are passionate about your writing. If only I had your writing . Just added your webpage to my favorites I look forward to more updates and will be returning daily.


  29. Hey, THXZ for your useful blog. I do having troubles with subscribing to your blogs feed. Thought I did let you know :)


  30. Hey, THXZ for your wonderful posting. I did having troubles with subscribing to your blogs feed. Thought want let you know :-o


  31. Nice content, background and posts my dude! I’ll def bookmark this so make sure ya update!


  32. Hello, i think that i saw you visited my blog so i came to “return the favor”.I’m attempting to find things to enhance my web site!I suppose its ok to use some of your ideas!!


  33. lollll


  34. You can definitely see your skills in the work you write. The world hopes for even more passionate writers like you who aren’t afraid to say how they believe. Always follow your heart.


  35. Wonderful work! This is the type of information that should be shared around the internet. Shame on the search engines for not positioning this post higher! Come on over and visit my site . Thanks =)

Leave a Reply

You must be logged in to post a comment.

RSS