PDA

View Full Version : Board Optimization - Duckways: Picr.me image hosting integration


Jorandh
08-03-2018, 09:00 PM
https://vborg.vbsupport.ru/external/2018/03/5.png
Picr.me image hosting integration



What is this mod all about?
Large board normally prefer to host images externally. That's why we wrote this plugin to add an upload function with a Picr.me image hosting. All it does is add a upload button on the top right of the editor, when you click it you'll get a Picr.me popup to upload photos. After you uploaded the pictures the window will automatically close and insert the uploaded photo's in the vBulletin editor. See pictures below.

Picr.me is a free image hosting platform, 100% dedicated to forum owners and owned by Duckways.


What it looks like:

https://vborg.vbsupport.ru/external/2018/08/1.png (https://picr.me/image/i89s)

https://vborg.vbsupport.ru/external/2018/08/2.png (https://picr.me/image/iw3p)

https://vborg.vbsupport.ru/external/2018/08/3.png (https://picr.me/image/ilbq)



About Duckways
We're a company with a team of developers who have been working a lot on a vBulletin 4 system for two of our customers. The largest one with over 200,000 users and 4 million posts.
This one migrated to vBulletin 5 recently and we've faced quite some issues in vBulletin 5 which we'll fix by writing custom modifications. Some of those, which are worth sharing, will be added here on vBulletin.org. If you're missing a feature or add-on, please feel free to contact us.

How to install:

- Download the zip file below
- Import it into your vBulletin 5 installation


Version history

1.0.0 - Initial release



Support
Please use this thread to ask questions or to report bugs.

Manoel J?nior
08-06-2018, 12:07 AM
Great friend. Thanks for your work.

Please, recode for vBulletin 4.x

Thanks

Jorandh
08-06-2018, 12:43 PM
Great friend. Thanks for your work.

Please, recode for vBulletin 4.x

Thanks

Add this to your head template and you're good to go:

<script async src="//picr.me/api-v1/upload.js"></script>

Easy as that!

mito22
10-31-2018, 10:26 AM
Installed..... works fine.

GO DUCKWAYS.... thanks

Jorandh
12-12-2018, 12:15 PM
Installed..... works fine.

GO DUCKWAYS.... thanks

Good to hear, glad you like it!

To date we have over 50,000 uploads and 10+ million views on images hosted on our servers. Absolutely great stats! Thanks all for using our service.

mito22
06-28-2019, 08:23 AM
About from 7-10 days I've got problems with pic.re..... anything changed?

me: vb 5.5.2

panzerscope
09-01-2019, 05:19 PM
Correct, this no longer works :(

ForoPeru_
09-02-2019, 03:07 AM
Muchas gracias funciona bien saludos

clauz
06-02-2020, 10:16 AM
It is possible to add the "upload image icon" also in the "edit post" windows?
Right now, if a user is edit their post , he does not have the possibility to upload images.

EDIT LATER: I figured myself, I chose to be displayed in Hook Location: editor_additional_panels

clauz
07-14-2020, 03:20 PM
Unfortunately this mod corrupted my forum.
I mean, each time a user accesses a topic it is automatically redirected to the posting window, regardless if it should be the first message or the first unread message.

I receive this response from vBulletin staff:

It is scrolling to the bottom because the editor is being activated automatically.

This is most likely because a JavaScript error is being thrown on the site. It may be because of your "Upload Images Addon" for Picr.me. This JavaScript error is actually being thrown by the addon's upload.js file. You will need to make sure your addon is updated and compatible with vBulletin 5.6.2 and jQuery 3.4.1 and higher.