Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-23T23:43:41-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16499 2011-12-23T23:43:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58689#p58689 <![CDATA[Re: Blank web page instead of inline PDF]]>

Statistics: Posted by Raam Dev — December 23rd, 2011, 11:43 pm


]]>
2011-12-23T17:04:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58673#p58673 <![CDATA[Re: Blank web page instead of inline PDF]]> I'll stop making PDFs and simply present my content as restricted web pages for paid members only.
Many thanks and a merry Xmas to you.
Harty.

Statistics: Posted by Harty — December 23rd, 2011, 5:04 pm


]]>
2011-12-23T15:08:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58661#p58661 <![CDATA[Re: Blank web page instead of inline PDF]]>
Yes, to some degree that is correct. There's really no way to control how the user's browser deals with the content. All s2Member can do is provide standardized methods of presenting the file (in this case, inline, which "normally" means the browser will display it instead of presenting it as a download).

If you're using the inline feature to prevent people from downloading the PDF, that's actually not going to work. On almost any web browser, you can simply go to File -> Save File As when viewing the PDF and then save it to your computer.

Some web browsers, such as Google Chrome on the Mac, even offer a Save button right on the PDF when viewing it in the browser.

Statistics: Posted by Raam Dev — December 23rd, 2011, 3:08 pm


]]>
2011-12-23T13:40:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58639#p58639 <![CDATA[Jason - Re: Blank web page instead of inline PDF]]> Is it correct that the inline presentation of PDFs is reliant on the end user's browser settings?
Please advise.
Thanks.

Hartty

Statistics: Posted by Harty — December 23rd, 2011, 1:40 pm


]]>
2011-12-22T21:40:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58597#p58597 <![CDATA[Re: Blank web page instead of inline PDF]]> You are correct.
I just checked my prefs in firefox, and PDF was set to download only.
I can change it to read only - and then an inline PDF opens as I want it to.

For me, this throws a spanner in the works, as I didn't want my password protected PDFs being downloaded and copied.

Copyright counts for nothing nowadays. I shall have to rethink how to present content and stop it being copied without permission.

Cheers again.

Harty

Statistics: Posted by Harty — December 22nd, 2011, 9:40 pm


]]>
2011-12-22T21:09:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58595#p58595 <![CDATA[Re: Blank web page instead of inline PDF]]>
Not every browser supports inline pdf viewing, thats why the customer will be given the option to download, even so they would not be able to download or view unless they were logged in and level 1 or above.

Hope that helps
Philly

Statistics: Posted by Philly — December 22nd, 2011, 9:09 pm


]]>
2011-12-22T20:42:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58590#p58590 <![CDATA[Re: Blank web page instead of inline PDF]]>
Thanks, I had seen that code but not used it.

I just gave it a try.

I still only get an option to download the file.

I'm using the latest Firefox, but even if it was my browser causing the inline instruction to be ignored, if my customers have the same browser issue [if that's what it is] then they effectively circumvent the system and get the PDF.

Perhaps Jason or the team can chip in...

Cheers again.

Harty

Statistics: Posted by Harty — December 22nd, 2011, 8:42 pm


]]>
2011-12-22T20:23:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58587#p58587 <![CDATA[Re: Blank web page instead of inline PDF]]> so its <a href="http://www.website.com/?s2member_file_download=access-s2member-level1/Movie-making_Basics.pdf&s2member_file_inline=yes">Movie making basics</a>
If that does not work perhaps your browser is not allowing it?

Statistics: Posted by Philly — December 22nd, 2011, 8:23 pm


]]>
2011-12-22T20:16:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58586#p58586 <![CDATA[Re: Blank web page instead of inline PDF]]>
Must be a glitch in my system somewhere.

Thanks again for your time. I'll play around and see where the problem is and report back.

Harty

Statistics: Posted by Harty — December 22nd, 2011, 8:16 pm


]]>
2011-12-22T20:13:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58585#p58585 <![CDATA[Re: Blank web page instead of inline PDF]]>
Yes it reads in the browser. I hope you understand what I wrote it looks a bit sloppy reading it back

Statistics: Posted by Philly — December 22nd, 2011, 8:13 pm


]]>
2011-12-22T20:06:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58584#p58584 <![CDATA[Re: Blank web page instead of inline PDF]]>
Thanks for your time on this - much appreciated.

Did you get a file download or were you able to read the PDF in your browser?

Harty

Statistics: Posted by Harty — December 22nd, 2011, 8:06 pm


]]>
2011-12-22T20:03:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58583#p58583 <![CDATA[Re: Blank web page instead of inline PDF]]> first in /s2member-files/ I created a folder called 'access-s2member-level1'
so in /wp-content/plugins/s2member-files/access-s2member-level1/
I put Movie-making_Basics.pdf
/wp-content/plugins/s2member-files/access-s2member-level1/Movie-making_Basics.pdf
then linked to it like this
<a href="http://www.website.com/?s2member_file_download=access-s2member-level1/Movie-making_Basics.pdf">Movie making basics</a>.

Statistics: Posted by Philly — December 22nd, 2011, 8:03 pm


]]>
2011-12-22T19:26:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58579#p58579 <![CDATA[Re: Blank web page instead of inline PDF]]> the '?' features in Jason's video. No matter.
I removed it as you suggest and now get a 404 error.

/wp-content/plugins/s2member-files/access-s2member-level1=Movie-making_Basics.pdf">Movie making basics</a>.


404: Sorry, file not found. Please contact Support for assistance.

Statistics: Posted by Harty — December 22nd, 2011, 7:26 pm


]]>
2011-12-22T19:13:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58577#p58577 <![CDATA[Re: Blank web page instead of inline PDF]]>
/wp-content/plugins/?s2member-files/access-s2member-level1=Movie-making_Basics.pdf

try

/wp-content/plugins/s2member-files/access-s2member-level1=Movie-making_Basics.pdf

Statistics: Posted by Philly — December 22nd, 2011, 7:13 pm


]]>
2011-12-22T18:54:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16499&p=58575#p58575 <![CDATA[Blank web page instead of inline PDF]]>
The PDF is for level one people, I am signed in as an admin. There is no error message.

PDF is specified as inline only on the Download options/Inline file extensions panel ( I watched Jason's videos three times on the subject of inline PDFs).

This is my URL

<a href="http://www.website.com/wp-content/plugins/?s2member-files/access-s2member-level1=Movie-making_Basics.pdf">Movie making basics</a>.

This is my default inline file extensions list: htm,html,pdf,jpg,jpeg,jpe,gif,png,mp3,mp4,flv,ogg,webm

Web pages etc open fine. But my first inline PDF is turning into a nightmare.

Suggestions welcome.

:-)

Statistics: Posted by Harty — December 22nd, 2011, 6:54 pm


]]>