vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Board Optimization - Duckways: Picr.me image hosting integration (https://vborg.vbsupport.ru/showthread.php?t=326626)

Jorandh 08-03-2018 09:00 PM

Duckways: Picr.me image hosting integration
 
1 Attachment(s)
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://vborg.vbsupport.ru/external/2018/08/2.png

https://vborg.vbsupport.ru/external/2018/08/3.png



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

Quote:

Originally Posted by Manoel J?nior (Post 2595863)
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:

HTML Code:

<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

Quote:

Originally Posted by mito22 (Post 2597111)
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:

Quote:

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.


All times are GMT. The time now is 03:31 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01928 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete