• The special code for WP that I’d copied from Scribd.com & pasted in my Page is not working. That is, instead of displaying the document the code is being displayed.

    What could be the possible reasons?

Viewing 15 replies - 1 through 15 (of 15 total)
  • You can’t place PHP code inside a Post or Page’s content without using a PHP include plugin.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If you want to insert a Scribd doc into a post, try embed’ing it instead. For example:

    [embed]http://www.scribd.com/doc/22444938/NIKON-SB-800-AF-Speed-Light-Manual[/embed]

    It works in my test post. See http://codex.wordpress.org/Embeds for more info.

    Thread Starter rajesh0228

    (@rajesh0228)

    esmi, I do not know why you mentioned PHP code. Coz the Scribd code has nothing to do with PHP.

    The code is in this format:
    [scribd id=<id> key=<key value> mode=list]

    jdembowski, this code is supposed to work just by pasting it in one’s Post/Page. In fact, I’ve done & seen that myself in a WordPress.com. But this is my 1st experience in a self-hosted WP-based site.

    jdembowski, I will try using your technique:
    [embed]….[/embed]. Inform you later about the result.

    I really find it strange that the code is not working!

    Thread Starter rajesh0228

    (@rajesh0228)

    Ok jdembowski, your technique just shows the link in my Post/Page. But what I want is the document’s INTERFACE in my Post/Page. And this is possible ONLY through the special Scribd code.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    The embed method works in 3.0-RC3

    http://test.blog.dembowski.net/2010/06/17/test-scrib-post/

    Used to work in 2.9.2 but I’m not running that anymore.

    As esmi pointed out, you can’t copy PHP code into a post without a plugin.

    Thread Starter rajesh0228

    (@rajesh0228)

    jdembowski, did you read my 2nd last post?
    For me your response is not proper – sans you reading that post.

    Btw, what’s “3.0-RC3”?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    3.0-RC3 is the version of WordPress.ORG software I am running. Like most, I was previously running version 2.9.2. According to the sidebar here, you are running version 2.9.2.

    jdembowski, did you read my 2nd last post?
    For me your response is not proper – sans you reading that post.

    In fact I did read your posts. My intention was to provide an alternate means for getting a Scribd document into your post using a method that works for me and has worked in the past.

    This is a volunteer driven support forum, so good luck with your problem and have a nice day.

    Thread Starter rajesh0228

    (@rajesh0228)

    This is a volunteer driven support forum, so good luck with your problem and have a nice day.

    jdembowski, mind explaining this sarcastic comment of yours. What prompted you to do so? Are you trying to act too smart or what?

    Of course, I know this is a “volunteer driven support forum”. So?

    Hello rajesh0228,

    For this to work on your own hosted site, go to your WordPress Dashboard and install and activate the ‘Simpler iPaper’ plug-in.

    Thread Starter rajesh0228

    (@rajesh0228)

    Thanks Tom Weston, I’ve already done precisely that!
    And it works!

    But we’re supplied with only 2 parameters – Width & Height.
    What about alignment? Coz the interface is aligned in the middle & I want to align it to left.

    But I wonder why we should be using the plug-in when the Scribd code should work on it’s own, as I’d experienced in WordPress.com (sans using any plug-in)!

    I think WordPress.com has its own plug-in installed by default, possibly hidden from the user?

    Not sure about the alignment – you could try putting the code inside a div or table with some alignment settings, but I’m just guessing.

    If that does not work, then the embed technique descibed by jdembowski should give you more control over placement.

    Yes, of course. The shortcode Scribd don’t work to me in my blog wordpress (self-hosted) too.
    Use “ZD Scribd iPaper plugin”, ok?
    Good luck
    I’m brazilian (sorry by the wrong words)…

    Hi, may somebody explain me what is the utility of a specific WordPress code for the Scribd document embed function ? given the fact that the html embed code seems to be effective

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If the native HTML embed code works for you, cool. But HTML embed codes often don’t survive mangling by TinyMCE. Short codes such as [embed]your supported URL here[/embed] will not get munged by the visual editor.

    Thank you Jan! Your embed solution worked! I do wish there was a way to modify the width, however.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Scribd code not working!’ is closed to new replies.