dreadedhamish
Forum Replies Created
-
@stefancotitosu this should be considered core functionality – I am really surprised mpg launched without it.
@dlparker1005 Are you open to moving redirect_url from the JS to the functions.php?
@gripgrip argh…. that was it. It turns out I when i copied it to to a snippet I decided to change the function name, and I fat-fingered it. And then I totally forget I did that, and was convinced I just did a simple cut-and-paste and so the error must be elsewhere.
Thanks for your time!
- This reply was modified 1 year ago by dreadedhamish.
Forum: Plugins
In reply to: [Multiple Page Generator Plugin - MPG] Options for category/taxonomy pagesThis mostly answers my questions – https://docs.themeisle.com/article/1465-how-to-generate-list-of-nested-pages
You can’t use multiple projects in the free version – and I can’t test in a paid version so that’s as far as I got.Forum: Plugins
In reply to: [Multiple Page Generator Plugin - MPG] Options for category/taxonomy pagesI had hoped to it would be possible using a single source twice to create:
a) /state/city/ and then
b) /state/
I just tried creating ‘b’ and while it did create example.com/washington/ and that page resolved, when i clicked the “See all URLs” and viewed the sitemap it had created one entry per city in the state, so hundreds or repeated URLs. I was hoping it automatically (or with the checking of a checkbox) would return only unique values. So it looks like using a local file won’twork for this.I tried another option that looks to be working – create a Google Sheet with 2 worksheets – the second worksheet using =UNIQUE to filter just state, and using this worksheet ID for the source. This looks to have worked.
I’m sill curious what other have done.
@dwpriv thanks for your help.
I was wanting to add the download button to the individual order page (frontend)
@dlparker1005 Would this work?
Move redirect_url from rwstripe.js to functions.php > rwstripe_restricted_content_message as a hidden field. rwstripe.js can then grab it from the form like the other elements.
Then a form could be output anywhere using php and inserting a postID that has the desired subscriptions:<?php $product_ids = rwstripe_get_restricted_products_for_post( 308 ); rwstripe_restricted_content_message( $product_ids ) ?>
and redirect_url would now be filterable, allowing you to then send them to the desired content after subcription.
yeah that works perfectly – so I muched it up somewhere in my convoluted multi-find-replace scheme. Sorry – i should have stripped it bare before posting.
I get it!
I’m working on my own sign-up form, hard-coding the product ID and loading your JS. It got complicated quickly and I’m cutting and pasting more and more from your code (is user logged in, are they a current subsriber etc…).
I can see others wanting a user flow that removes extra steps, and a simple form (that allowed specifying the product and redirect url) would be a great addition to this plugin, and not overly complicated, but I get desire to keep things simple!
of note – I had to disconnect from Stripe and reconnect after adding the filter.
found it:
add_filter( ‘rwstripe_connect_in_test_mode’, ‘__return_true’ );
I tried manually changing these entries in the database but either I got no output from the plugin or a “this product is not purchasable”:
rwstripe_stripe_access_token
rwstripe_stripe_publishable_key
rwstripe_stripe_environmentI guess I’d also need to wrap the custom form in the same logic that the plugin uses – so that my custom form would only show if the user didn’t have a current subscription, and instead show an “acess content” button. And it would get much more complicated if I have more than 1 type of subscription.
I am really keen to remove steps needed to make a purchase!
- This reply was modified 1 year ago by dreadedhamish.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Leaflet.FeatureGroup without marker cluseter?BINGO!
Thanks for the prompt response.
I cross-posted to the Gravity Forms support forum: https://community.gravityforms.com/t/conflict-with-members-plugin/14396/4
They indicated that with Members installed I’d need to grant privileges to the add-ons, and this is correct even for Administrators.
So Members, when installed, removes privileges for the admin (at least when it comes to Gravity Forms Add-ons). This isn’t intuitive, and I’d classify it as bug. Privileges that exist by default shouldn’t be removed by Members.
For searches in the future:
Problem: My Gravity Forms Add-ons settings disappear when Members is installed
Solution: Members removes Gravity Forms Add-ons privileges, even for admins. To resolves open the role you’d like to edit in Members, find the ‘GF Add-ons’ tab and grant required privileges.