|
Christian,
When the user reaches the s2 member area from the powerpoint he is logged in, vut still he is redirected to the membership page.
If you use the login info I sent you you can see there is a red bar on top of the site – showing the user that he is logged in.
Please log into the site with you user and see what I mean.
Dan
|
|
Hi Christian
Just tried Bit.ly and it still redirects the user to the “my membership options page”.
I’m sorry but this is a fundamental issue.
My client uses office programs (powerpoint, word) to present his products which are under the S2member protected area and he cannot have these links not working.
There must be a way to solve this as office programs are not rare.
Dan
|
|
Hi Cristian,
Sent.
Thanks
Dan
|
|
Hello Cristian
I added the code to the s2-hacks.php file and it still doesn’t work.
Would you like access to the site in order to fix this issue?
Thanks,
Dan
|
|
Hi Christian
Thanks for your support, I added the code in the functions.php file as suggested in the stackoverflow discussion, but still the user is redirected to the membership page instead of the correct URL.
How can this be solved?
DO you need access to the plugin / site?
Thanks
Dan
|
|
Thanks Crisitian,
It’s very important since it’s in a presentation sent to customers with links to the secure area.
It happens also in word docs.
Couldn’t check it in OpenOffice.
The www is used in the site and also in the powerpoint.
When copying and pasting the link into the browser it does work, just when clicking on the link in powerpoint it directs the user to the membership options page instead of the actual page.
Dan
|
|
Thanks Christian
I added the .html and the .htm extensions to the “inline File Extensions” settings vut I am still getting the download prompt.
when trying to view the file via the URL, I get a blank screen:
http://www.cellocator.com/?s2member_file_download=cello-iq-flow/player.html&s2member_file_inline=yes.
The file I want the users to see is an HTML file playing a presentation.
Here is a print screen of all the files in the directory:
https://dl.dropboxusercontent.com/u/1746027/cello-ps.jpg
I just got it working by changing the URL to this:
http://www.cellocator.com/wp-content/plugins/s2member-files/s2member-file-inline/cello-iq-flow/player.html
Adding the /s2member-file-inline/ after the /s2member-files/ solved the problem.
Thanks for your help,
Dan
|
|
Thanks Jason,
Created the file and giving it a check.
Will update…
Dan
|
|
Hi Jason,
Did you have a chance to take a look?
Thanks,
Dan
|
|
Hi Jason,
I submitted the details again
Dan
|
|
Hi Jason
Thanks for helping here.
The file is a .rar file 22.5kb in size.
I would like to say that only when copying and pasting the url in the address bar the browser causes the error.
When clicking on the link in the webpage the download is ok.
I posted a dashboard login previously, I’ll do it again.
Dan
|
|
Hi Crisitan
What does this line of code do?
$_SERVER[‘HTTP_RANGE’] = NULL;
Dan
|
|
Hi,
I am using the s2 members files folder.
I submitted the site’s info as you requested.
Thanks
Dan
|
|
Thanks Kristoffer,
I just did it myself with a few “find and replace” in excel.
Just a heads up – please note that you would have to remove the double quotes showing up in rows like:
“Virgin Islands, U.S.”|”Virgin Islands, U.S.”
The system will give an error when importing
Dan
|
|
Thanks for this code.
Is there an option of getting this list without the country abbr.
something like this:
Afghanistan|Afghanistan
Aland Islands|Aland Islands
Albania|Albania
Algeria|Algeria
|
|
Thanks Jason
I’ll take a look at the wp function
Thanks for your support.
Dan
|
|
Thank you very much Jason, that did the trick!
Another question if I may – is it possible to have all child pages of a protected parent page to be also automatically protected? Or do I have to set a protection level for each page separately?
Thanks,
Dan
|
|
Hi,
Any news regarding this issue?
Thanks
Dan
|
|
Hi,
The sub_field does echo out the name or the url, that’s why I wanted to add it after the “file_download” part.
(The icon is showing up and so does the file name)
But if this can’t work , can I disable the prompt entirely?
Thank you
Dan
|
|
I am using advanced custom fields to enter the URL for the file download, and it’s working fine.
When trying to integrate the php code for the skip_confirmation it’s stops working.
This is the code I am using – can you help out:
<a href="<?php echo s2member_file_download_url(array( "file_download" => "the_sub_field('download_link')", "skip_confirmation" =>true)); ?>"><img src="<?php the_sub_field('download_icon'); ?>" /><?php the_sub_field('file_name'); ?></a>
thanks
Dan
|
|
Thanks
But is there a way to remove the S2 prompt alltogether from all downloads?
I already have tens of files and would not like to change all the url’s with the shortcode.
In this project I will not need any JS prompt for the download.
Dan
|
|
Hi,
Any news from Jason regarding this issue?
If it is possible, I would like to remove the JS prompt all together.
When a user clicks to download a file he will be directed to the normal browser download window.
Thanks,
Dan
|
|
Ok, thanks
will be waiting for your update
I think it would be best to have an option to configure the “system messages” from the s2 member admin – I’ll vote to that…
Dan
|
|
Hi Bruce,
Thanks for your answer, I added a filed named s2-a.php with the above code into the mu-plugins folder inside the wp-content folder. (wp-content/plugins/mu-plugins/s2-a.php)
also tried remaining the file to s2member-a.php
Still getting the original prompt message.
Dan
|