mark l chaves
Forum Replies Created
-
Hey @petrassidellamoto,
We can see a popup display on your page. Here’s a screencast.
https://share.wppopupmaker.com/rRu1Yy99
The popup ID is 11947.
Can you tell us the exact page and the popup ID that’s not displaying for you?
Thanks so much
Hey @eliant,
Thanks so much for posting.
You should be able to get the post ID through the global post object.
For the Content Control restriction and roles, please have a look at the
get_rulesmethod in JP\CC\Site\Restrictions class.You’ll need to parse the array it returns to get the info you want. Then, you can cross-reference the restriction roles with WordPress capabilities if needed.
We hope that helps.
Let us know if you need anything else.
Have a great day π
Hey @bluerobot,
You can grab all of the Content Control plugin settings in the
wp_optionstable from your source site by copying the contents of theoption_valuecolumn whereoption_nameis equal tojp_cc_settings.Then you can paste that content into the same table and
option_valuecolumn (foroption_nameequal tojp_cc_settings) on your target sites.This will overwrite all of your Content Control settings on your target sites, so make sure you backup your target databases beforehand.
Thanks for asking.
Let us know if you need anything else.
Have a great day π
Hey @mcgrelio,
Sorry for the delay. If you’re using the custom message protection (versus a redirect), you’ll see the featured image because:
1) Content Control only restricts post-entry content.
2) Featured post images are part of the post header, not the post-entry content.
The good news is that you can write custom JavaScript (JS) to hide the post featured image every time there’s a Content Control custom message protection on the page.
Here’s an example that would work on the Twenty Twenty-One theme.
(function() { const elt = document.querySelector('.denial-message-wrapper'); // If there's a Content Control denial message on this page, then // hide the featured image. if (elt) { // Notes: Change the selector below to the one your theme uses // for post featured images. document.querySelector('.post-thumbnail').style.display = 'none'; } })();Your JS should go into the footer of your posts.
Learn more about adding custom JavaScript to your WordPress site in this guide.
https://docs.wppopupmaker.com/article/84-getting-started-with-custom-js
Can you give that a try and let us know how it goes?
Thanks so much π
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] LimitationHey @patrickgeroso,
Can you try the solution posted in this thread?
Learn more about bumping up your PHP max_input_vars.
Let us know how that goes.
Have a great weekend π
Hey @karim66,
If you’re referring to the WooCommerce my-account page, then *no* you cannot.
You cannot because the WooCommerce my-account page and the WooCommerce my-account/lost-password page are the same pages (just different endpoints).
So, when you create a restriction for the my-account page, it will also restrict the my-account/lost-password endpoint (using Woo terminology).
What you can do is:
– Disable the Woo lost-password endpoint.
– Create a custom lost password page.
– Link to that custom lost password page from your login or Content Control denial message.We hope that helps.
Let us know if you need anything else.
Have a great day π
Hey @ccs0xx00,
We’re going to mark this thread as resolved since we haven’t heard back from you.
Please feel free to start a new thread or submit a help request π
https://wppopupmaker.com/support/
Have a great day!
Hey @bhattashu86,
Just to add, Google’s PageSpeed report doesn’t show Popup Maker causing a performance issue.
It looks like your page size (16 MB) and YouTube are your biggest offenders.
You should try to get your page size as close to 1 MB as possible. Then, look at how you’re using YouTube to see if you can streamline that.
You can learn more about reducing your page size here https://web.dev/total-byte-weight/
Also, we looked at the popups that are loading on that page. Here’s a list of the popups we saw on your page.
https://share.wppopupmaker.com/L1uRbOyo
Again, we don’t see Popup Maker slowing your site down from the PageSpeed report. But, if you want to optimize your popups, we think you should disable any popups you don’t need anymore and use targeting rules to load popups only on the pages you need them.
You can learn more about Popup Maker’s targeting settings here.
https://docs.wppopupmaker.com/article/235-standard-targeting-conditions
If you find any issues specific to Popup Maker feel free to start a new thread (that’s more relevant to the topic) or reach out to us on our website.
https://wppopupmaker.com/support/#submit-a-support-ticket/
Have a great weekend π
Hey @cgrignon,
We’d need to look at your setup to see why your YouTube and Vimeo autoplays are *not* working for you.
Can you please try again to submit a ticket via our contact form?
https://wppopupmaker.com/support/#submit-a-support-ticket/
If that doesn’t work for some reason, please try here.
https://code-atlantic.com/contact/
Make sure you link to this forum post in your message to save time.
In the meantime, here’s an example of autoplaying a Vimeo video that’s displayed in a Popup Maker popup.
https://streetphotography.blog/video-popups/#vimeo-autoplay
So, the good news is we know it can be done.
We’ll keep an eye open for your message.
Thanks so much π
Hey @ccs0xx00,
I’m seeing a JS error in the console and I think it’s blocking the Popup Maker JS code from loading.
Console: https://share.wppopupmaker.com/JruOmBxp
Source: https://share.wppopupmaker.com/6quZwnv1
Can you either fix that broken code or temporarily remove it and retest the popup? Make sure you check your console for errors when testing things out.
BTW, we can manually launch your popup. So, once Popup Maker can load successfully, you should be able to open that popup normally again.
https://share.wppopupmaker.com/X6uEn6E8
Let us know how that goes.
- This reply was modified 4 years, 1 month ago by mark l chaves. Reason: Clarification
Hey @bhattashu86,
I’m getting a 404 too.
Can you give us the correct link so we can check that close button for you?
Thanks!
Hi @cgrignon,
We’re assuming this isn’t an issue for you anymore since we’re taking care of you in a related separate thread.
So, we’re marking this as resolved for now. Let us know otherwise.
Cheers!
Hi @cgrignon,
Yes I tried to put full iframe, but when I do so, then the autoplay doesnβt work anymore. I tried with both Youtube and Vimeo.
Probably because you disabled the mejs controls (which is what you want). Since you’re overriding mejs, you’ll need to use YouTube’s and Vimeo’s parameters for autoplay. Here are the instructions we found for Vimeo as an example.
https://vimeo.zendesk.com/hc/en-us/articles/115004485728-Autoplay-and-loop-embedded-videos
Give that a try.
Please remember that many browsers restrict autoplay. The Vimeo doc above does an excellent job explaining that.
Thanks for the Vimeo link for help, sadly this doesnβt fit my situation, but I will keep digging ahha
If that doesn’t “fit” or work for you, I’d ping the good experts at Vimeo to see what they recommend.
Cheers!
Hi @cgrignon,
Thanks for letting us know about our contact form. We’re not seeing that issue. Hopefully, it was just temporary.
In the future, make sure you use this link https://wppopupmaker.com/support
Then, click Other Support.
Is it possible to switch to the original video players? What would you advise?
Yes. It should be possible. Have you tried using the embed code instead of just the share URL? The embed code should stop WordPress from using the mejs player.
For example, if I paste this into the text tab of my popup editor, the Vimeo controls work fine and the mejs controls are disabled.
<iframe title="vimeo-player" src="https://player.vimeo.com/video/76979871?h=8272103f6e" width="640" height="360" frameborder="0" allowfullscreen></iframe>Also, Iβve been trying to set the subtitles to show by default (by adding ?texttrack=en for vimeo urls for example) but it doesnβt seem to work, do you have experience with this?
We’re not Vimeo experts, but we found these instructions in their docs.
Maybe that’ll work for you?
Have a great day π
- This reply was modified 4 years, 1 month ago by mark l chaves. Reason: Clarification
Hey @ssaranova,
Thanks so much for your feedback.
That’s a great question. Content Control supports WordPress built-in listings or archive pages. Right now, it doesn’t support custom or 3rd-party code like the plugin you’re using.
We’d need to build an integration to do that. We can add your idea as a feature request to consider for a future release.
Feel free to submit a feature request via our contact form if you want π
https://code-atlantic.com/contact/
Make sure you include the name and details of the plugin you want us to integrate with.
Cheers!