latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Disable download popup

Home Forums Community Forum Disable download popup

Tagged: 

This topic contains 2 replies, has 3 voices. Last updated by  Cristián Lávaque 4 years, 10 months ago.

Topic Author Topic
Posted: Tuesday Feb 21st, 2012 at 11:40 am #5877
Matt Jones
Username: MattyJ

Hello, is there anyway to disable the popup that appears for protected downloads? I would just like for the protected download to start downloading as soon as the link is clicked.

Thanks!

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Thursday Feb 23rd, 2012 at 3:55 am #6093
Staff Member

Hi Matt. Thanks for your inquiry.

Yes, this can be accomplished by adding this onto the end of your download links.

&s2member_skip_confirmation=yes

* Further details on this in your Dashboard here:
Dashboard -› s2Member® -› Download Options -› Basic Download Restrictions

Or, you can add this global JavaScript variable into the <head></head> section of your site.

<script type="text/javascript">
	var ws_plugin__s2member_skip_all_file_confirmations = true;
</script>
Posted: Saturday Feb 25th, 2012 at 12:42 am #6391

Or you could probably add this line to a php file in the [hilite mono]/wp-content/mu-plugins/[/hilite] directory:

[hilite pre_code][/hilite]
Haven’t tested it.

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.