[3.2][RC] Google PDF autoembed

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

[3.2][RC] Google PDF autoembed

Post by 3Di » Sat Jun 01, 2019 10:05 pm

πŸ“„ Google PDF autoembed πŸ“„

             » phpBB Studio
                      :label: 1.0.3
                       :tools:        
                               phpBB >= 3.2.7

                                       PHP directive allow_url_fopen

Demo: https://phpbbstudio.com/viewtopic.php?f=2&p=279#p279

Description:
  • Autoembeds your PDF attachments with Google PDF viewer
  • Saves a copy of your PDF attachment in the "images/pdf" folder automatically created on purpose.
  • The embedded PDF can be viewed full-screen on a new tab/window with a click of a button.
  • Once disabled your PDF attachments revert to the native behaviour.
  • Embeds only attachments, not URLs.
:inbox_tray: ⬇️ Download: https://phpbbstudio.com/extensions/google-pdf-autoembed

:bookmark_tabs: Repository: https://github.com/phpBB-Studio/Google-PDF-autoembed
:bookmark_tabs: BugTracker: https://github.com/phpBB-Studio/Google- ... new/choose
Last edited by 3Di on Fri Oct 11, 2019 8:55 pm, edited 10 times in total.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][DEV] Google PDF autoembed

Post by 3Di » Sat Jun 01, 2019 10:05 pm

Image
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

Gubkin
Registered User
Posts: 42
Joined: Sun Sep 24, 2017 7:15 am
Location: RU
Name: Alexander
Contact:

Re: [3.2][DEV] Google PDF autoembed

Post by Gubkin » Sun Jun 02, 2019 4:49 am

It's like share link on PDF on google drive when installed https://www.phpbb.com/customise/db/extension/mediaembed ?

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][DEV] Google PDF autoembed

Post by 3Di » Sun Jun 02, 2019 4:58 am

3Di wrote: ↑
Sat Jun 01, 2019 10:05 pm
Embeds only attachments, not URLs.
And no BBcodes used.

Simply attach your PDF as usual and place it inline, it will be automatically embedded.
If you have thumbnails ON then the attachment (if not placed inline) will be adapted to the size you sat in ACP.

Previously attached PDFs will be embedded as well.

Opening the full view allows you to use your google account to do of the PDF whatever you want, indeed.
See: https://docs.google.com/viewerng/viewer ... tation.pdf
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

User avatar
Elias
Registered User
Posts: 4625
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [3.2][DEV] Google PDF autoembed

Post by Elias » Sun Jun 02, 2019 1:48 pm

Very, very nice work!! :o
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

User avatar
Super Smile
I've Been Banned!
Posts: 31
Joined: Mon May 27, 2019 4:56 am

Re: [3.2][DEV] Google PDF autoembed

Post by Super Smile » Mon Jun 03, 2019 1:02 am

How about other, the google DOCS?

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

[BETA] Google PDF autoembed

Post by 3Di » Mon Jun 03, 2019 3:03 am

v1.0.0-beta released - see first post.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Google PDF autoembed

Post by 3Di » Wed Jun 05, 2019 7:18 pm

New version 1.0.1-beta available at first post.

Changelog inside.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

[3.2][RC] Google PDF autoembed

Post by 3Di » Tue Jun 25, 2019 8:15 pm

New version 1.0.2 available at first post.

Changelog inside

Submitted to the CDB.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

User avatar
</Solidjeuh>
Registered User
Posts: 1716
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Google PDF autoembed

Post by </Solidjeuh> » Wed Jun 26, 2019 10:09 pm

Works great! Thank you

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] Google PDF autoembed

Post by 3Di » Wed Jun 26, 2019 10:36 pm

Thanks for feedback.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

odf
Registered User
Posts: 122
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][RC] Google PDF autoembed

Post by odf » Mon Aug 26, 2019 1:59 pm

Hi 3Di,

Extension looks great, but it does not show the attachment and preview instantly, upon landing on the page with pdf attachment, I first see text and blank space, until I load the url two or three times! It is more slower in mobiles than desktops! Is this the right one https://phpbbstudio.com/extensions/google-pdf-autoembed or the one on GitHub or both?

odf

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] Google PDF autoembed

Post by 3Di » Mon Aug 26, 2019 11:14 pm

Both, but the download at the site is the way to go.

Could depend on the speed of the connection and the size of the PDF, anyway...

I need a link to where all of this happens, to self check-out it.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

odf
Registered User
Posts: 122
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][RC] Google PDF autoembed

Post by odf » Tue Aug 27, 2019 6:53 am

Hi 3Di,

You can check at:

-https://www.tssfl.com/phd-scholarship-a ... rsity-6126
-https://www.tssfl.com/tssfl-open-discus ... -list-6115
-https://www.tssfl.com/msc-and-phd-bursa ... -cape-6114

It is actually unpredictable, sometimes you see the doc as soon as you open the link, sometimes not. Even in your demo, the first time I opened I did not see anything, I kept figuring out what was the demo about!

I do not think if this should be much different from Google docs public sharing, see for example posts #s 1 & 3 at

https://www.tssfl.com/collaboratively-w ... wings-5375

and https://www.tssfl.com/the-universe-5858,

you see the docs immediately as you open the links.

It is a good extension which saves you the the hassle of re-texting the same thing from a pdf document.

odf
Last edited by odf on Wed Aug 28, 2019 8:02 am, edited 1 time in total.

User avatar
3Di
Former Team Member
Posts: 14229
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] Google PDF autoembed

Post by 3Di » Tue Aug 27, 2019 5:15 pm

With my mobile (LTE) is all ok, with my PC (same line) too.
It could be an issue with your site, since the first link opened after 50 seconds, the second one throwed an error wich speaks book.
SQL ERROR [ mysqli ]

User tssfl_phpn6 already has more than 'max_user_connections' active connections [1203]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
To add, the PDF is rendered by Google Docs' websites, its latency plays the rules.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«

Post Reply

Return to β€œExtensions in Development”