Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Freemius links if plugin does not have a settings page #164

Closed
cliffordp opened this issue May 27, 2017 · 12 comments
Closed

No Freemius links if plugin does not have a settings page #164

cliffordp opened this issue May 27, 2017 · 12 comments

Comments

@cliffordp
Copy link
Contributor

cliffordp commented May 27, 2017

Actual Behavior:

  • What is the issue? (*) No Freemius links if plugin does not have a settings page
  • What is the expected behavior? Account, Contact Us, and wp.org Support Forum links to appear somewhere... the only Freemius-related link that appears is in the plugins.php list of plugins where there's an "Opt Out" link to the left of "Deactivate"

Versions: (*)

  • Freemius SDK Version: 1.2.1.7.1
  • WordPress Version: 4.7.5
  • PHP Version: 5.5.24

Plugin / Theme: (*)

  • Name: TK SmugMug Slideshow Shortcode
  • Slug: tk-smugmug-slideshow-shortcode
  • Freemius ID: 1072

Example code implementation is available at:

@ghost
Copy link

ghost commented Jun 18, 2017

@cliffordp so it sounds like the sdk necessitates plugins to have a settings page to function? I wonder if there's a way to fake it, and create a faux settings page to trick out the sdk. otherwise any ideas on updating the sdk to provide links when not settings page (my plugin does not use one).

@cliffordp
Copy link
Contributor Author

That's the reason for my bug report. I'm sure @vovafeldman -and-team will fix it in time.

@ghost
Copy link

ghost commented Jun 19, 2017

Thanks. It's open source software so I'm planning to fix it myself. But they need to relax the license before I can. I opened an issue.

@cliffordp
Copy link
Contributor Author

Thanks for logging #166

@vovafeldman
Copy link
Contributor

@cliffordp sorry for the late response, for some reason I'm not getting emails from GitHub (will have to fix that). With regards to your question, the pages are actually there, and you can add custom links from wherever you want. You can use:

my_fs()->get_account_url(); // For the Account page.
my_fs()->get_upgrade_url(); // For the pricing page.
my_fs()->contact_url();          // For the contact us page.

There's no method for the WP.org support forum link, but you can easily generate that one yourself.

Also, adding them to the plugins.php page under the plugin's links is not a bad idea.

@ghost
Copy link

ghost commented Jun 23, 2017

Awesome! I saw some individuals were trying to workaround this issue. I can't wait to use this service. @cliffordp you'll probably beat me to the punch. Would love to hear how your experience goes using the method described by Vova above.

@vovafeldman If the notifications aren't appearing in your SPAM folder they may be being blocked by a third-party SPAM service and bounced by the email servers. I've witnessed this behavior with Exchange in the recent past, as an example.

@cliffordp
Copy link
Contributor Author

@vovafeldman these 3 return the following:

Visiting any of these 3 is a WordPress Error:

Sorry, you are not allowed to access this page.

Other thoughts?

@toddhalfpenny
Copy link

@cliffordp I've just tested the lastest develop branch and it appears to have been fixed within the last day. Not sure on timings for the next release though.

@toddhalfpenny
Copy link

Update to this. The fix appears to work if the user has "opted-in", but if not then you are still denied access to the page. On the same test site, after opting-in, the links worked.

@daniyalahmadk
Copy link

Getting same issue i think it would be good if user could be redirected to "opted-in" page may be? if this error occurs.

@Jany-M
Copy link

Jany-M commented Jul 5, 2022

If the plugin is an add-on of another plugin, how do we manage FS urls? specifically opt-in and opt-out?

@ghost
Copy link

ghost commented Aug 22, 2023

Still have this issue when Freemius is used in a theme for a multisite network site. If theme does not have a settings page Freemius account links redirect to Sorry, you are not allowed to access this page error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants