Home › Forums › Community Forum › Change / remove the text in download prompt
This topic contains 16 replies, has 5 voices. Last updated by Jason (Lead Developer) 3 years, 11 months ago.
| Topic Author | Topic |
|---|---|
| Posted: Saturday Dec 29th, 2012 at 3:41 pm #35739 | |
|
|
|
|
HI, You`ve downloaded 3 protected files in the last 365 days. You`re entitled to UNLIMITED downloads though ( so, no worries ) I would like to change that. Thanks, |
|
List Of Topic Replies
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Sunday Dec 30th, 2012 at 2:33 am #35781 | |
![]() |
|
|
Hi Dan, I believe that this code should work, but you’ll want to create a Must Use plugin with the name s2-a.php, or s2member-a.php. These file names give access to your Must-Use plugin to s2Member’s JavaScript processes, which is what you need to do.
|
|
| Posted: Sunday Dec 30th, 2012 at 3:11 am #35783 | |
|
|
|
|
Hi Bruce, Still getting the original prompt message. Dan |
|
| Posted: Sunday Dec 30th, 2012 at 3:14 am #35784 | |
![]() |
|
|
Hi Dan, I’m going to send Jason a message regarding this. In the meantime, you can edit this directly from /s2member/includes/s2member-min.js. |
|
| Posted: Sunday Dec 30th, 2012 at 3:18 am #35785 | |
|
|
|
|
Ok, thanks Dan |
|
| Posted: Sunday Jan 6th, 2013 at 5:12 am #36374 | |
|
|
|
|
Hi, Thanks, Dan |
|
| Posted: Monday Jan 7th, 2013 at 8:24 pm #36514 | |
|
|
|
|
Dan, you can remove the prompt using the [hilite mono]skip_confirmation[/hilite] parameter. [hilite path]Dashboard -› s2Member® -› Download Options -› Shortcode Attributes & API Functions -> skip_confirmation[/hilite] |
|
| Posted: Tuesday Jan 8th, 2013 at 3:04 am #36550 | |
|
|
|
|
Thanks Dan |
|
| Posted: Tuesday Jan 8th, 2013 at 3:19 am #36551 | |
|
|
|
|
I am using advanced custom fields to enter the URL for the file download, and it’s working fine.
thanks |
|
| Posted: Wednesday Jan 9th, 2013 at 5:42 am #36715 | |
|
|
|
|
So [hilite mono]the_sub_field[/hilite] function just returns a string or does it echo it? I see [hilite code][/hilite] without an echo, although that’s obviously what’ll happen. But if it echoes, can you really use it to set the value of [hilite mono]"file_download"[/hilite] in the array? |
|
| Posted: Wednesday Jan 9th, 2013 at 6:54 am #36723 | |
|
|
|
|
Hi, Thank you |
|
| Posted: Thursday Jan 10th, 2013 at 7:23 am #36854 | |
|
|
|
|
Hi, Thanks |
|
| Posted: Saturday Jan 12th, 2013 at 4:33 am #37094 | |
![]() |
|
Thanks for the heads up on this thread :-)@ Dan Stramer~ Thanks for your patience. I apologize for the delay guys.
You can set this global JavaScript variable to a value of true, to disable ALL confirmation prompts.
So for instance, you might have an MU plugin that does this for you. Please create this directory and file:
You won’t need to add |
|
| Posted: Saturday Jan 12th, 2013 at 2:18 pm #37155 | |
|
|
|
|
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, |
|
| Posted: Saturday Jan 12th, 2013 at 3:53 pm #37177 | |
![]() |
|
You’re VERY welcome.Can you please start another topic for your question about pages. Thanks! |
|
| Posted: Monday Jan 14th, 2013 at 2:28 pm #37508 | |
|
|
|
|
Jason, Thanks for the info because I have had the same questions too. However, you have to forgive me because I’m not a coder and I don’t understand where I am supposed to put this code: var ws_plugin__s2member_skip_all_file_confirmations = true; Is there someplace under Appearance>Editor>?? that I should go to and place this line? thanks! Joanne |
|
| Posted: Monday Jan 14th, 2013 at 2:42 pm #37513 | |
![]() |
|
Thanks for the follow-up :-)@ hbgiPlease see this KB article for full details. |
|
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy

