[ABD] Google PDF autoembed 📄

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

[ABD] 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
Last edited by 3Di on Thu May 12, 2022 3:31 am, edited 14 times in total.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [3.2][DEV] Google PDF autoembed

Post by 3Di »

Image
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
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
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
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
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Elias
Registered User
Posts: 5151
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Eather.
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|
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
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

[BETA] Google PDF autoembed

Post by 3Di »

v1.0.0-beta released - see first post.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [BETA] Google PDF autoembed

Post by 3Di »

New version 1.0.1-beta available at first post.

Changelog inside.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
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.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
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
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [3.2][RC] Google PDF autoembed

Post by 3Di »

Thanks for feedback.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
odf
Registered User
Posts: 171
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
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
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.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
odf
Registered User
Posts: 171
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
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
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.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
Locked

Return to β€œAbandoned Extensions”