![]() |
|
Mod Options |
![]() |
|||||||||||||||
BBCode: Embed PDF Files (No JavaScript/No iFrames) (BB Code)
![]() Developer Last Online: Dec 2020 ![]() ![]() ![]()
This is <embed> BB Code to embed a PDF file into your forum. The user needs a compatible PDF Reader such as Adobe's free PDF Reader. If they don't have one they will still see a link to view the PDF directly.
I am aware <embed> is not "proper" HTML but it works fine in all major browsers (IE/FF/Chrome/Opera/Safari) while <object> was not working for me in IE. If you prefer to keep to strict HTML guidelines and don't care about IE users then simply change the two instances of "embed" in the replacement code to "object". This has been confirmed working in the latest releases of IE, FF, Chrome, Safari, and Opera. I am also aware there are at least 2 other PDF BB Codes out there... I believe this implementation is better because one of them uses JavaScript and another uses an iFrame and relies on a 3rd party website (google) to display the PDF. My implementation uses no JavaScript and does not reply on any other websites. Demo: http://www.juot.net/forums/showthread.php?t=46803 Add a new BBCode Title: Embed PDF BB Code Tag Name: pdf Replacement:
Example: [pdf]http://www.qapla.com/ju/PDFOpenParameters.pdf[/pdf] (I suggest using your own example if possible.) Use Option: No Button Image: (optional) Remove Tag If Empty: Yes All Disable Options: Yes Overall this tag acts a lot like the built in [img] tags. Please mark as installed if you use this. ![]() Check My Profile for other BB Code enhancements. They work on all versions. Screenshot Attached: http://www.vbulletin.org/forum/attac...1&d=1281727562 Download Now Only licensed members can download files, Click Here for more information. Show Your Support
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
BB Code Enhancements ZippyShare.com shared music BBCode (Embed MP3 files in your forum!) | BirdOPrey5 | vBulletin 3.8 Add-ons | 6 | 17 Jul 2013 00:44 |
BB Code Enhancements BBCode: Embed PDF Files (No JavaScript/No iFrames) (BB Code) | BirdOPrey5 | vBulletin 3.8 Add-ons | 23 | 27 May 2012 18:28 |
BB Code Enhancements ZippyShare.com shared music BBCode (Embed mp3 files in you forum!) | BirdOPrey5 | vBulletin 4.x Add-ons | 11 | 01 Sep 2011 12:47 |
BB Code Enhancements [BB Code] YouTube Javascript Embed | wii | vBulletin 3.8 Add-ons | 21 | 10 May 2011 10:28 |
BB Code Enhancements [BB Code] YouTube Javascript Embed | wii | Modification Graveyard | 36 | 13 May 2008 10:10 |
#106
|
||||
|
||||
Sorry Joe, http link still refuse to work for me.
__________________
![]() National Arcade Competition Club- NACC All arcade edits will work on vb4. Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge! Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade No members have liked this post.
|
#107
|
||||
|
||||
You can compare it to the one in the original post, I didn't change it. Things like width and height specified as CSS now.
All I can say is it works for me. PDF file is also on my own https server. sure it won't show if loaded from http link. Make sure you edit the post so it rebuild the cache if you didn't make a new post or truncate the postparsed table.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#108
|
|||
|
|||
Thx BirdOPrey5, now it's ok!
The following members like this post: BirdOPrey5
|
#109
|
||||
|
||||
Is there a PDF Viewer in the works for vB v5?
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:20.