Extension talk:Embed Document

Error with Large Files & FCKEditor
When using this extension along with the FCKEditor extension, I receive a php timeout error. This is understandable as it does take longer to load these files.

Changing the settings to allow PHP to execute longer, would probably fix the error. However, It removes the safeguard to prevent problems.

I don't know that there is a reasonable solution to this dilemma. I guess you cant just have it all.

Conflict with thumb
Using this script, I got a conflict with the display of thumbs - "thumbs.php" didn't work anymore.

Right now I haven't got a clue to fix this problem. Only solution so far is to remove the extension.

Firefox behavior
Working AWESOME for me on Safari. On Firefox it wants to Launch the PDF in a new browser window. Check it out

- caseyk 1-3-2008

Modification request
Hello. It is simple to tweak this so that is complains if you are no logged in - I am using it for my PDF articles and I want people to log in to be able to read the PDF files.

www.extremeboatsmag.com casey@extremeboatsmag.com

Thanks !

height/width as variable
Hi, i use your extension to embed pdf documents... but the documents differs a lot in their height/ width... is it possible to send a variable with ?--212.184.19.70 14:29, 6 March 2008 (UTC)
 * Ok i found a solution to my question...
 * You can add a document like 250 /path/to/document.pdf and then you have to explode the $input in two parts $data = explode(" ", $input) before you look for allowed chars. then replace all $input with $data[1] and ...height=" . $data[0] . "px... --212.184.19.70 15:11, 6 March 2008 (UTC)
 * It is also solved with version 0.12 - I had the same impression, width and height should be changable! --DrTrigon 16:56, 12 July 2008 (UTC)

Word file embeded dont work
Hi This extension work well for PDF file but not for other especially for the .doc files

Is it a bug or a configuration or use problem ?

Thanks to reply CGT 04/06/08

Had to modify...
With MW 1.12 could not get this to work. Changed in embed_document.php

#if( str_replace($allowedchars, , $input) ==  ) { return " "; #};
 * 1) else {
 * 2)       return "Filenam: $input Error: invalid character sequence between    markers, allowed
 * 3) are onlya...zA...Z0...9_/.</li>-</li>:</li></ul> ";
 * 4)   }