vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - embed scribd document (https://vborg.vbsupport.ru/showthread.php?t=324297)

creative-friend 01-25-2017 10:00 PM

embed scribd document
 
1 Attachment(s)
This is <embed> BB Code to embed a scribd file into your forum.


Add a new bbcode (AdminCP > Custom BB Codes > Add New BB Code)

Title: scribd
BB Code Tag Name: scribd
Replacement:
Code:

<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/{param}/content?start_page=1&view_mode=scroll&access_key=key-mbe672hh9vrhgq74719&show_recommendations=false" data-auto-height="true" data-aspect-ratio="0.75" scrolling="no" id="doc_87468" width="100%" height="600" frameborder="0"></iframe>
Example: [scribd]12076517[/scribd]

Description: give scribd file id between [scribd] tags

Use {option} No

Button Image: (path/link of image)

Remove Tag If Empty No

All Disable Options: Yes


Please mark as installed if you use this.

Attachment 155730

chloe101 05-27-2017 04:35 PM

This was working great for me before but I just tried it today and it's not working. Has something over at scribd changed? Thanks

z3r0 05-28-2017 04:48 PM

Try changing the url in the replacement code to https rather than http, I've just tested it on one of my sites and it works fine.

chloe101 05-29-2017 03:00 AM

Quote:

Originally Posted by z3r0 (Post 2587064)
Try changing the url in the replacement code to https rather than http, I've just tested it on one of my sites and it works fine.

How did you spot that so quickly lol! Thank you. That was indeed the problem. I should have looked for that since I just forced everything on the site to be https or bust.

Thank you!


All times are GMT. The time now is 02:31 PM.

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.01055 seconds
  • Memory Usage 1,719KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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