[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!
Anti-Spam Guide
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: 15712
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 »

πŸ“„ Google PDF autoembed πŸ“„

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

                                       PHP directive allow_url_fopen

Demo: https://phpbbstudio.com/viewtopic.php?f=2&t=59

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 Thu Apr 16, 2020 2:23 pm, edited 12 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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
3Di
Former Team Member
Posts: 15712
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 »

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
:studio_microphone: Looking for a specific feature or alternative option?
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 »

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: 15712
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 »

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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
Elias
Registered User
Posts: 5118
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [3.2][DEV] Google PDF autoembed

Post by Elias »

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|
Offering private web hosting. Contact me for details.
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 »

How about other, the google DOCS?
User avatar
3Di
Former Team Member
Posts: 15712
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

[BETA] Google PDF autoembed

Post by 3Di »

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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
3Di
Former Team Member
Posts: 15712
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Google PDF autoembed

Post by 3Di »

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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
3Di
Former Team Member
Posts: 15712
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 »

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
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
</Solidjeuh>
Registered User
Posts: 1788
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> »

Works great! Thank you
User avatar
3Di
Former Team Member
Posts: 15712
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 »

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
:studio_microphone: Looking for a specific feature or alternative option?
odf
Registered User
Posts: 149
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][RC] Google PDF autoembed

Post by odf »

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: 15712
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 »

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
:studio_microphone: Looking for a specific feature or alternative option?
odf
Registered User
Posts: 149
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][RC] Google PDF autoembed

Post by odf »

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: 15712
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 »

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
:studio_microphone: Looking for a specific feature or alternative option?
Post Reply

Return to β€œExtensions in Development”