Log in

View Full Version : BB Code Enhancements - embed scribd document


creative-friend
01-25-2017, 10:00 PM
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:
<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: 12076517

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.

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
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!