Forum Replies Created
11 months, 4 weeks ago goldenticketParticipant
Hi @winrris, yes there is. If you look in the actions.md file it’ll list out all the available everything. You’ll see limits and quotas section the following:
## ../inc/models/wu-plan.php - **apply_filters** <code>(line 374)
(‘wu_plan_get_quota’, $quota, $quota_type, $quotas, $this);
(line 10)(‘wu_get_post_types’, $post_types);
(line 25)(‘wu_post_count_status’, array(‘publish’), $post_type);
(line 36)(‘wu_post_count’, $post_count, $post_type_slug);in reply to: Dashboard Widgets12 months ago goldenticketParticipant
That’s great news, thank you!12 months ago goldenticketParticipant
I’m not aware of an out-of-box feature that comes with WP-Ultimo to accomplish this, but maybe someone someone else will chime in with something better.
You might be able to use https://github.com/wpmudev/user-sync and have your non-WP-Ultimo site be the subsite with this plugin. This might take some modification to get it up and running with WP-Ultimo.
Hopefully, the team will implement some actions with Zapier (or another method) that will allow for this.
I just checked mine, and it works. In the past when I’ve reinstalled WP-Ultimo, it took about 15-minutes before the license was reactivated.
You should probably send them a message via chat, since they don’t provide support on the forums.in reply to: Invalid License
“However, as this is a feature it should work out of the box (unless it’s disclosed as experimental). Whether that is like you say an option, or a method in which Ultimo auto detects what the server is configured to, and sets the proper configuration…”
As far as I know, and also with my conversations via chat with the team, the X-FRAME options cannot be auto-detected by WP-Ultimo. From what I see in the changelog, this has been implemented since 25/11/2018 with Version 1.9.1, “Some hosting providers add the SAMEORIGIN restriction to the template previewer, now we force the ALLOWALL header for template previews;” If this became a more recent issue, then I have no clue what’s causing it. Could be a server environment change, browser update changes, etc.
Also from my chat, they stated they were going to update the documentation explaining the aforementioned.
Since I’m not too familiar with all server environments and all hosting providers, it may be possible that there could be edge cases where such an option may not work, but it still may be useful to have the suggested feature. So, it may not work out of the box, but I guess that’s why there’s support.
FWIW, most hosting control panels have settings to change it for you. I don’t know if SiteGround offers this. In my somewhat unique case, I had to modify the code.
Seems like you might be able to modify your .htaccess file to fix it, like when you first installed WordPress: https://www.siteground.com/kb/cross-origin-resource-sharing-cors/
WordPress itself cannot modify .htaccess files as far as I know, thus you must do it yourself.
Feature suggestion: Have a drop down list in the settings of WP-Ultimo with SAMEORIGIN and ALLOWALL options that just changes the code accordingly.
Sorry, I meant changing ALLOWALL to SAMEORIGIN fixed it for me.
I brought this issue up to Arindo a few weeks ago via email. Apparently it’s some webhosts, RunCloud in my case, and WP Ultimo.
The stock Nginx conf files for RunCloud are all SAMEORIGIN. I had to modify WP-Ultimo’s class-wu-site-hooks.php file to ALLOWALL to prevent the warning.
I hope this helps.
Update: Although my issue was different, I discovered you cannot send messages from the editor if you’re on the “Text” tab within the editor. If you switch to the “Visual” tab, you can send broadcasts. I hope this helps if anyone else is experiencing the same issue.
I notified Arindo via chat, and he’s taking a look at it.in reply to: Broadcast Page Blank
I didn’t see it at first, but Content Monitor would be some very useful code to make sure it integrates well WP-Ultimo. This could prevent suspicious, illicit, illegal, and possible SEO damaging sites/blogs from being created on a network, without automatically banning someone. Could be helpful if WP-Ultimo is used in a marketplace setup where KYC (Know Your Customer) monitoring comes into play.in reply to: About WPMUDEV's Announcement and WP Ultimo
I’m not sure either. I originally found everything on some issue tickets here: https://github.com/WordPress/gutenberg/issues/12238
If you haven’t already seen it, this is where everything is rendered: https://github.com/WordPress/gutenberg/blob/master/packages/editor/src/components/post-preview-button/index.js#L15-L93
I hope this helps, and thank you!
Does ?template=2 at the end of a URL e.g. network.com/register/12/medium?template=2 work for you?in reply to: Direct link to the plan and template
Good job on getting the shout out from WPMUDev! Hopefully user adoption, functionality, and long-term viability will increase even more.
I think the support system would be an good addition as an add-on. I’m always concerned with data being sent to third-party to make things easier, but that may lead to sacrificing privacy, reliability, and customization.
I agree that MarketPress is a product in it’s own right, and shouldn’t be developed. Something to maybe look into are the payment gateways within MarketPress. You stated in the past you’re developing a Stripe Connect plugin, which is great! I know MarketPress has PayPal Chained Payments, WePay and a few others. This may shorten future development time if your goal is to develop additional payment add-ons for a multisite where unique payment API keys are generated for the platform, and the multisite owner can take a percentage if they can/want. I have little experience with MarketPress and it’s been a while, so my knowledge may not apply here.in reply to: About WPMUDEV's Announcement and WP Ultimo1 year, 2 months ago goldenticketParticipant
There’s no reason why you can’t limit usage based in custom post types for the appointments. Just register the custom post type with WP-Ultimo. Then, create the code necessary to enforce those limits; show a message to the site owners and site customers when they hit the quota. You can find more information in WP-Ultimo’s actions.md file under the class-wu-plans-limits.php and limits-and-quotas.php files.
You could also create a plugin to bridge the code between your email subscriber plugin’s limits/quotas, and WP-Ultimo. Simply find out where the limits are being stored within the plugin, then modify it accordingly with the aforementioned hooks/actions/filters with WP-Ultimo. Hopefully, your email subscriber plugin has hooks/actions/filters for this to make it easier.in reply to: Limits & quotas in 3rd party plugins1 year, 3 months ago goldenticketParticipant
There are a few ways you could do it, depending on what you’re displaying.
You could use the restricted content shortcode listed here: https://community.wpultimo.com/knowledge-base/shortcodes/
You could also create a plugin that makes the appropriate changes to your admin panel via filters/actions/hooks, and loads the plugin based on the plan you have. In regards to, “button in the admin panel and some other things” the specific code would vary depending on what you’d want to do.
The third option I can think of is to make a plugin that loads each time, regardless of the plan, and makes the appropriate changes based on WP Ultimo’s filters/actions to detect which plan your user is on. I believe it’s wu_subscription_get_plan or wu_subscription_get_plan_id you’re looking for in wu-subscription.php. More info in the actions.txt file
I’m sure there are other ways, but those are what comes to my mind. Let me know if this helps.in reply to: Looking for code
This has been suggested before in the forum about nine months ago (https://community.wpultimo.com/community/topic/feature-stripe-connect-for-woocommerce-stores/), and would like to reaffirm my support for this implementation.in reply to: Stripe Connect – Feature Request
I’m going to leave this up to the support/developer staff, or if someone else has the answer, as they probably know the solution and can give you the plugins directly if need be.
In the past, I’ve had to deal with a similar issue. For some odd reason, it took a little bit of time before the add-ons would appear.
I’d give you a zipped copy of the add-on, I but don’t want to be responsible for any problems that may arise.in reply to: Domain Seller feature plugin