Code

[ChipXF] Remote Image Upload 1.3.21 (xenforo)

This add-on providers an easy way to remote upload images from users’ computer, URL to Flickr, Imgur, Picasa, Postimage, Imageshack and insert the image urls to post (thread, reply, conversation, etc..)

Features

  • Remote upload image from computer, url.
  • Watermark, resize options.
  • Queue upload/ transload.
  • and more..

Requirements

  • XF 1,2 or newer
  • Socket enabled
  • HTML5

Issues

  • Picasa::doLogin: Error=BadAuthentication. Info=WebLoginRequired
    • Go to https://www.google.com/settings/security/lesssecureapps , signin with your account and change Access for less secure apps to Enabled.
    • Go to https://accounts.google.com/DisplayUnlockCaptcha, signin with your account and Enable to unlock captcha.

Purchase

Purchase this means that you have the right to download the updates for future.

This project stopped selling

Change logs

  • Version 1.0: Apr 22, 2014
    • First released
  • Version 1.1: Apr 24, 2014
    • New: Feature allows user decide use watermark or not
    • New: Feature allows user choose a position, logo file to watermark or use a value set in CP
  • Version 1.1.4: Apr 25, 2014
    • Fixed installation issue on xf 1.2.x
    • Fixed: Don’t display upload form in Create Thread from on xf 1.2.x
    • Fixed: Incorrect URL when go to get flickr token
  • Version 1.1.7:
    • Update: Flickr API (SSL required)
    • Fixed: GarbageCollect session cache
    • Fixed: Picasa plugin issue if use account by domain
  • Version 1.2.0: Jun 03, 2014
    • New: Option force use watermark or not
    • New: Add upload form to post edit page
  • Version 1.2.1: Jun 04, 2014
    • Fixed: bug can’t change force watermark file
  • Version 1.2.2: Jun 05, 2014
    • Fixed: Picasa plugin to avoid BadAuthentication; WebLoginRequired
    • Change: Remove convert image to JPG while uploading
  • Version 1.3.0: Jun 20, 2014
    • Fixed Plugins Abstract (wrong split arguments)
    • New: Postimage plugin for uploading images to postimage.org
  • Version 1.3.1: Jul 1, 2014
    • New: Option to avoid watermark to small images
  • Version 1.3.2: Jul 1, 2014
    • Fixed: an issue when upgrade to 1.3.1
  • Version 1.3.3; Jul 10, 2014
    • Fixed: Imageshack plugin because imageshack change API results
  • Version 1.3.4; Jul 10, 2014
    • Re-upload source code without Mac OS stuff (update if you catch issues while uploading)
  • Version 1.3.5; Oct 01, 2014
    • Fixed: Imgur transload error handler
    • Update: Improve ChipVN ClassLoader
  • Version 1.3.6; Oct 03, 2014
    • Update: Imgur plugin to upload like normal user (Imgur stop supporting API version 2)
  • Version 1.3.7; Oct 06, 2014
    • Update: Imgur plugin to use API version 3 (require API Client ID, Secret)
  • Version 1.3.8; Oct 07, 2014
    • Fixed ChipVN ClassLoader (issues while register autoload on PHP 5.2.x)
  • Version 1.3.9; Oct 09, 2014
    • Fixed: wrong character while replace spaces in url for transloading.
  • Version 1.3.10; Nov 07, 2014
    • Update Postimage plugin to avoid issue Image URL not found.
  • Version 1.3.11; Mar 02, 2015
    • Fix “riu_imgur_settings is invalid.” if disable Imgur on first time.
    • Update ChipVN library (Http, Cacher, ImageUploader)
    • Add RIU for conversation forms (add/ edit/ quick reply).
  • Version 1.3.12; Mar 07, 2015
    • Fix Postimage not found image url in some cases.
    • Update ChipVN library to improve performance when upload large file
  • Version 1.3.13; Mar 25, 2015
    • Fix not display chosen image items when edit post.
  • Version 1.3.14; May 04, 2015
    • Fix Flickr signature invalid if file name have some special chars
    • Update Imageshack direct link.
    • Keep EXIF informations if not use watermark, resize option.
    • New option enable HTTPs for image urls.
  • Version 1.3.15; May 28, 2015
    • Fixed some know bugs
    • Update Picasa uploader to use version 2 with OAuth 2.0
    • Improved error message if enter an invalid settings.
  • Version 1.3.17; May 29, 2015
    • Fixed problem when refresh token
    • Fixed get error 5xx from Postimage when upload.
  • Version 1.3.18; Jun 1, 2015
    • Fixed forgot set album id when upload.
  • Version 1.3.19; Aug 23, 2015
    • Fixed not display in conversation page (1.4.5+)
    • Can’t save HTTPs if Picasanew is checked
  • Version 1.3.20; Aug 26, 2015
    • Changed option display in quick reply to thread reply (quick reply and reply with more options)
  • Version 1.3.21; Aug 27, 2015
    • Improve picasa authorize action if use multiple account

Categories: Paid, PHP

[ChipWP] Remote Image Upload 1.1.10 (wordpress) » « [ChipVN] Remote Image Uploader 5.2.21 (tools)

104 Comments

  1. Host ơi plugin mình nên cho thêm chức năng upload hình khi sửa bài viết và tắt mở không cho chọn chức năng watermark.

  2. cám ơn anh đã tạo ra add-on này .. Rất mong anh sẽ có thêm nhiều add-on cho XF hì hì

  3. @jackychiem Đã bổ sung ở bản 1.2 bạn nhé

  4. Hi there. My download link has expired. Can you please generate another for me please? Thank you.

  5. Paypal mình hết tiền. cho mình xin hình thức thanh toán khác với.

    thankyou.

    Cái này tích hợp được với XenGallery thì ổn luôn 😀

  6. Đã mua ủng hộ a hehe. E mua cả 2 bản của a luôn rồi, chúc a mua may bán đắt 😀

  7. Đã mua ủng hộ nhưng rất tiết Chip cho sai stk nên chuyển nhầm cho người khác, nhưng vẫn được chip hổ trợ, rất cảm ơn và chúc chip mua may bán đắt nhé 😀

  8. Plugin hiện không hoạt động với window phone nhé ad ơi. Click chọn hình sau đó là đứng luôn

  9. Picasa đang bị lỗi này nè Ad:
    Picasa::doUpload: Upload failed. Modification only allowed with api authentication.

    • Picasa API nó mới yêu cầu thêm 1 bước khi làm việc với data nên nó bị thế. Mình đang xem và update nhé.

      • hiện tại cả Flickr cũng bị lỗi API rồi, ad fix nhanh giúp ad ơi
        Oops! There’s no oauth_token parameter.
        An external application has requested your login credentials and permission to perform certain actions on your behalf, but has failed to include all the required data.

        You don’t really need to know what this means, except that you can’t use the application until this problem is fixed. (It’s a third-party problem, not a Flickr problem.)

        There are lots of applications using the Flickr API. If you are curious about this, visit the Flickr Services page to see more examples of cool stuff. Otherwise, you might like to head to your home page…

  10. I have purchased XF addon today .. but download link not yet received… plz send me ASP

  11. I have the imgur settings set up (it successfully uploads the images on the forum) but I am unable to see the images that were uploaded while I am logged in to my Imgur account. Is there a setting that will allow me to upload these images to a specific album in my Imgur account?

  12. Hi,
    Addon này upload ảnh thì ok nhưng chèn ảnh vào bài viết là có vấn đề: file ảnh có nền (background) màu trắng khi chèn ảnh vào bài viết thì nền trắng nó chuyển thành nền xám.
    Không tin có thể test với file ảnh này:
    http://www.4shared.com/download/RSICdLT_ce/00337fbd.png?lgfp=3000
    Tác giả hỗ trợ sửa lỗi này dùm.

    Cảm ơn nhiều.

    • Chào bạn,
      Bạn cho mình xem link forum của bạn để test thử xem nhé. Mình test cả tool và add-on ở host mình thì ko bị 😀
      Cả bạn gửi link mà bạn up xong rồi bị màu xám ra đây luôn nhé

      • Chào bạn,
        Do mình chọn Picasa để upload ảnh nên khi chưa đăng bài (chỉ chèn ảnh vào bài viết) thì xem hình chèn vào chất lượng không tốt, nhưng khi đăng bài thì có vẻ OK, chắc tại ảnh đăng lên bị nén/resize lại nên mới bị .
        Nhưng bây giờ mới lỗi thật sự: khi sửa bài viết muốn dùng chức năng này để upload ảnh trong bài viết/chủ đề muốn sửa thì upload ảnh không được, bạn xem dùm mình nhé .

        Thanks.

  13. cai nay anh no up len host nao vay? co bi xoa mat khong?

  14. Provides a form to upload images/ transload image urls to Imgur/ Imageshack/ Picasa/ Flickr/ Postimage very easy.

    cái này là đăng vào tài khoản của mình à ?

  15. Mình thử upload lên host Google với những tấm ảnh có màu trắng nhiều sẽ tự động chuyển màu trắng thành màu xám. Nhờ bạn check lại dùm mình.

    Link bị chuyển màu: https://lh3.googleusercontent.com/-YjJ58oL0CUY/VTUeEM-bj1I/AAAAAAAAAFE/78HDBHmHfgI/s0/55351e10a0822.jpg

    Link gốc: http://farm9.staticflickr.com/8816/17026994099_beb529c586_o.jpg

    • Vấn đề này lúc trước mình cũng bị, có thể có vấn đề giữa phần mềm chỉnh sửa ảnh hoặc thư viện GD trên server của bạn và hệ thống xử lý ảnh của google.
      Đối với trường hợp của mình, mình dùng máy Mac, khi chụp ảnh xong, up lên google luôn thì không sao, nhưng lại edit lại 1 chút, và up lên thì bị (đối với host A, còn host B mình up qua thì lại không bị). Hai host này sử dụng libpng version khác nhau.

      Bạn thử update libpng, gd lên phiên bản mới hơn xem sao

  16. Tự nhiên dùng mấy tháng trời nay upload lại bị lỗi này bạn 🙂

    Tải lên từ máy thì nó báo:

    getimagesize() [function.getimagesize]: Filename cannot be empty

    Tải lên từ url thì nó báo:
    The url is not an image.

    Các server đều bị, bạn giúp mình nhé

  17. Anh cho hỏi làm sao mình cấu hình mặc định server up ảnh. Em thấy lúc thì nó up server này lúc server kia.Em muốn mặc định là picassa, mà không cập nhật tài khoản imgur thì lại báo lỗi

  18. Dear chip, thank you for this great plugin! If I could suggest you something, there would be nice to have options:
    – for admins > force https from Flickr & disable XenForo image proxy for these https images (I suppose Flickr will have always his certificate valid adn we could live with some cookies sent from Flickr)
    – for users > option to insert more Flickr formats (generated thumbnails etc) as BBCode

    • Hi,
      – I can force use https for flickr image url, but http image url still display well even your forum use https. Why you want to use https for flickr image urls ? And what’s XenForo image proxy ?
      – Because the plugin may supports upload image to multiple sites, some of them doesn’t support thumbnail, large, blah blah size like flickr. Customize for only flickr is breaks design pattern

  19. If you have complete https site (enforced by URL rewriting) under XenForo, you simply can’t load non-https resources without browser warnings. XenForo therefore has a proxy to translate these linked resources into URLs like that one with optional local caching and refreshing. It would be nice to bypass this proxy for some trusted https hosts and load images directly from these hosts.

    What thumnails concerns, I understand you use random image host in case user has selected more providers, but in case one selected provider it would be just fine and comfy for users.

    I just noticed there’s EXIF info lost on Flickr uploaded images and you use a tag defined. See https://www.flickr.com/photos/mazdaklan/17331232051/

  20. Ah, i see.
    Because i still use http and don’t know the proxy feature.
    I will add the option to next version.
    For EXIF info, when i click to Show EXIF (link above), it still displays some informations 😕
    For tag definition, it exists from the first version release, just a note that the image was uploaded by the tool. Is it not ok ?

  21. sao mình cài Flickr đều không được nhỉ?
    báo lỗi Missing Flickr Token mà đã điền token rồi???

  22. Đã cập nhật phiên bản mới nhưng khi dùng với Picasa nó bị lỗi:
    ………………………
    REFRESH_TOKEN_PROBLEM: invalid_request -> Missing required parameter: refresh_token
    ……………………….
    Bạn giúp mình sửa lỗi.
    Thanks.

  23. 400. That’s an error.

    Error: redirect_uri_mismatch

    Application: Vuon rau xanh

    You can email the developer of this application at: [email protected]

    The redirect URI in the request: http://www.vuonrauxanh.com/chipxf-riu/get-picasa-token did not match a registered redirect URI.

    Lỗi này fix sao add ơi

  24. update bản mới. cài picasa đến bước (Authorized redirect URIs: http://site.com/index.php?chipxf-riu/get-picasa-token thì báo lỗi sau:
    Upgrade Premium to download attachments.Contact Us : [email protected]

    • Bạn gưi đường link của bạn, và hình bạn config mình xem nhé. Lỗi này là do bạn config sai -> server của bạn báo lỗi, chứ @webmaster.vn kia ko phải là từ Picasa hay Flickr

  25. cả Flickr Settings:
    điền api_key|api_secret xong get token thì đều báo
    Upgrade Premium to download attachments.Contact Us : [email protected]
    chán ghê. lỗi tùm lum cả

  26. mình muốn mua add on này
    xin cho mình biết giá
    và cách thanh toán
    thời gian sữ dụng bao lâu

  27. mình vừa mua code của bạn
    imgur thì chạy ok
    cài đặt phần picasa thì bị lỗi
    https://suadt.com/index.php?chipxf-riu/get-picasa-token
    Server Error

    Undefined offset: 1

    XenForo_Application::handlePhpError() in ChipXF/RemoteImageUploader/ControllerPublic/Processor.php at line 179
    ChipXF_RemoteImageUploader_ControllerPublic_Processor->actionGetPicasaToken() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/suadt.com/public_html/index.php at line 14

  28. A có ngân hàng nào của Việt Nam ko, e đang muốn mua [ChipXF] Remote Image Upload 1.3.18 (xenforo), nhưng e ko có paypal

  29. Anh ơi! em đang xài bản 1.3.18 thì có hiện tượng nếu để link dạng friendly url thì sẽ có lỗi trong! Với em nghĩ option https cho picasa new thực sự không cần thiết vì link đã có sẵn https! Với lại nếu có check option đó thì nó cũng báo lỗi, không lưu được

    • À, do cái Picasa lúc trước tên là Picasa, cái mới là Picasanew, mà a quên không đỏi lại, mà nó mặc định cũng là https rồi, chắc lúc nào fix gì đó update 1 thể sau vậy.

  30. Hello,
    I am interest with this add-ons, my question before purchase is :
    1. this add-on support for XenForo 1.5.0 version?
    2. if new version for this add-on available, must i buy new license again?
    3. what mean on requitment enable socket and HTML5 is must be installed? i am use vestaCP for my vps and planning to use nginx webserver without control panel.

    best regards,
    maszd

  31. Ad có thể gửi em bản 1.3.20 được không ạ! em muốn xem bên trong code có thay đổi gì để còn học hỏi. Thanks

  32. cách lấy albumid của google theo bản nâng cấp thế nào ad ơi, mình chả biết lấy nó chổ nào nữa !

  33. Em muốn đưa nút upload ảnh của nó lên vị trí kế cận nút Đăng chủ đề để tiện cho thành viên.
    Vì hiện mỗi lần muốn insert hình ảnh,thành viên phải kéo xuống dưới mới thấy chỗ upload:
    http://farm1.staticflickr.com/578/21669023766_876ffc73d9_o.png

  34. Bạn có thể hướng dẫn mình sửa code để cho phép người dùng chọn server ảnh upload giống RIU Tool không bạn? Mình muốn tất cả ảnh thuộc về Article nằm ở 1 server ảnh riêng để sau này mình quản lý sao lưu ảnh dễ dàng hơn.

  35. Any way to add this to the resource manager?

  36. Của mình báo lỗi: fopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
    giúp mình với?

  37. của mình mới gần đây xuất liên lỗi này:
    fopen(http://pbblogassets.s3.amazonaws.com/uploads/2016/02/Chad_8711.jpg): failed to open stream: Connection timed out

  38. Hiện tại thì up ảnh lên picasa bị lỗi không hiển thị hình ảnh trong bài viết Công ơi

    Với lại GG nó bỏ picasa chuyển qua GG photo >>> không biết làm sao để lấy được ID album như bên picasa nữa

    Công xem lại giúp mình nhé

  39. Chào bạn,
    Với cách này : https://juicebox.net/forum/viewtopic.php?id=2169
    thì chỉ lấy được albumID của những album đã thiết lập chế độ sharing là public to everyone trước đó, còn những album mới khởi tạo, do mỗi album chỉ cho upload có 2000 ảnh, thì google không cho phép bạt trạng thái sharing là public to everyone nên không tài nào tìm được albumID mới được khởi tạo
    Bạn có phiên bản cập nhật gì để fix lỗi này không ?

    Thanks

  40. Hi chip,
    i get this error today with remote image upload:

    Error Info
    TypeError: Argument 1 passed to ChipVN_ImageUploader_Plugins_Picasanew::saveToken() must be of the type array, null given, called in /usr/share/nginx/html/library/ChipXF/RemoteImageUploader/vendor/ChipVN/ImageUploader/Plugins/Picasanew.php on line 112 – library/ChipXF/RemoteImageUploader/vendor/ChipVN/ImageUploader/Plugins/Picasanew.php:167
    Generated By: tester, Today at 5:55 AM
    Stack Trace

    #0 /usr/share/nginx/html/library/ChipXF/RemoteImageUploader/vendor/ChipVN/ImageUploader/Plugins/Picasanew.php(112): ChipVN_ImageUploader_Plugins_Picasanew->saveToken(NULL)
    #1 /usr/share/nginx/html/library/ChipXF/RemoteImageUploader/Helper.php(189): ChipVN_ImageUploader_Plugins_Picasanew->refreshToken(Array)
    #2 /usr/share/nginx/html/library/ChipXF/RemoteImageUploader/Helper.php(107): ChipXF_RemoteImageUploader_Helper::getUploader()
    #3 /usr/share/nginx/html/library/ChipXF/RemoteImageUploader/ControllerPublic/Processor.php(139): ChipXF_RemoteImageUploader_Helper::upload(‘/usr/share/ngin…’)
    #4 /usr/share/nginx/html/library/XenForo/FrontController.php(351): ChipXF_RemoteImageUploader_ControllerPublic_Processor->actionProcess()
    #5 /usr/share/nginx/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #6 /usr/share/nginx/html/index.php(13): XenForo_FrontController->run()
    #7 {main}

    Request State

    array(3) {
    [“url”] => string(52) “https://mysite.com/index.php?chipxf-riu/process”
    [“_GET”] => array(1) {
    [“chipxf-riu/process”] => string(0) “”
    }
    [“_POST”] => array(7) {
    [“method”] => string(6) “upload”
    [“resize”] => string(3) “320”
    [“use_watermark”] => string(4) “null”
    [“watermark_position”] => string(4) “null”
    [“watermark_logo”] => string(4) “null”
    [“_xfResponseType”] => string(4) “json”
    [“_xfToken”] => string(8) “********”
    }
    }

    iam use xenforo 1.5.14 with php-fpm 7.1.7
    thank you.
    best regards,
    maszd

Leave a Reply

Copyright © 2023 Code

Theme by Anders NorenUp ↑