mark l chaves
Forum Replies Created
-
Hi @lestexas60,
Thanks for your question.
There isn’t a built-in way to limit the exact number of times someone views a popup. You’d need to write custom code to do that.
You can also use our Advanced Targeting Conditions (ATC) premium extension in combination with custom JavaScript to reduce the custom code you’d need to write. I.e., Makes it more convenient.
For example, ATC lets you run a custom JavaScript function before trying to display your popup. You just need to add the name of your function to your popup’s targeting settings.
Then before that popup displays, Popup Maker will call your function.
With ATC, you only need to write code to keep track of the number of opens and set a cookie after 3 opens.
Basically, your custom JS function would do the following:
1) Use browser storage to keep a count of how many times your popup opens for your visitor.
2) Create a cookie that expires in an hour once your popup count gets to 3.
3) Not open the popup again until the cookie expires.
If it helps or maybe as an alternative, we have a Scheduling extension where you can display a popup for a specific duration of time.
You can view our extensions here.
https://wppopupmaker.com/extensions/
We hope we understood your question. If you need to follow up, please submit a help request
https://wppopupmaker.com/support/#submit-a-support-ticket
Have a great day ๐
Hi @mikee1001,
Thanks so much for your question.
Unfortunately, Content Control doesn’t have this feature.
But, you should be able to write custom code to do that. Maybe you can ping the good folks at Buddypress or work with a web developer?
Have a great day ๐
Hey @feznizzle,
That’s a great question.
It’s still good practice to use some kind of spam/bot challenge for your forms for logged-in users.
You can read more here.
https://stackoverflow.com/questions/7363298/is-captcha-necessary-after-log-in
Have a great day ๐
Hello @jaskaranpreetsingh,
Thanks so much for your post and for sharing your solution. We’ll add this as a feature request to consider for a future release.
Have a great day ๐
Hey @flogsblog,
Sounds good. Thanks for letting us know.
We meant to get you that support link last time. Sorry. Here it is.
https://wppopupmaker.com/support/#submit-a-support-ticket
Cheers!
Hi @flogsblog,
I also got in touch with support of my theme. They wrote:
โPreloader will show the whole site after loading everything and on the other hand the popup working like a preloader so both will not work together due to conflict.โActually, Popup Maker loads popups on a page at the same time the rest of the page’s DOM (document object model) loads. If you view the source of your page, you’ll see your popup’s HTML all there with your page’s content. The popups are just hidden until they’re triggered to show.
It’s difficult to answer your question when we don’t know anything about your theme or its preloader function. It looks like you might also be using a caching plugin and the Autoptimize plugin. So, it might not be just 1 feature or plugin that’s conflicting with Popup Maker.
Any chance you can give us admin access to a staging copy of your site so we can do a proper analysis?
If so, please submit a help ticket with our login details.
Have a great day ๐
Hey @jasonpel ,
That’s a great question.
There are a few ways to add that code. Here’s a guide that explains how to in more detail.
https://docs.wppopupmaker.com/article/552-getting-started-with-custom-php
Shout if you have any more questions.
Have a great day ๐
hey @didierf,
โThanks for reaching out. We’re sorry you’re seeing that styling issue.
Can you please try disabling Popup Maker’s styles from loading?
You can find that setting by reading this help doc.
https://docs.wppopupmaker.com/article/493-popup-maker-admin-settings-submenu#assets-settings
Let us know how that goes.
Cheers!
Hey @jasonpel,
Thanks for your kind words! We can definitely consider your idea as a future enhancement.
In the meantime, one beauty of Content Control is that it reuses WordPress’s login API.
So, you should be able to use the
login_urlhook to manually remove (ignore) any redirects.Here’s the link to the doc.
https://developer.wordpress.org/reference/hooks/login_url/
Based on that first contributed example in the doc, you should be able to add a filter that just returns the base URL and completely ignore the redirect. For example.
/** Based on the example from the login_url doc */ function smyles_custom_login_url( $login_url, $redirect, $force_reauth ){ // Respect the $force_reauth. if ( $force_reauth ) { $login_url = add_query_arg( 'reauth', '1', $login_url ); } // Ignore the $redirect and just return the plain $login_url. return $login_url; } add_filter( 'login_url', 'smyles_custom_login_url', 10, 3 );If you’re willing, can you give that a try and tweak as needed?
Please remember that this is custom code and it’s independent of any plugin. So, use it at your own risk.
Cheers!
- This reply was modified 4 years, 6 months ago by mark l chaves. Reason: Clarification
Hey @livingcminca,
โThanks for reaching out. We’re sorry you’re seeing those pages even when you’re logged out.
Your setup sounds OK except for the pages like Members, Forum, and Groups look like they custom post archive pages. (We didn’t see an Activity page.)
Could you try changing your Protection setting to Redirect instead of Custom Message?
We recommend using Redirect for those types of pages.
If that doesn’t work or if you have more questions, please follow up with us using our contact form so we can take a closer look.
https://code-atlantic.com/contact-us/
Cheers!
Hey @gabrielsfreela,
Thanks for writing.
This isn’t something that Content Control supports and your question seems like a general WordPress forum post.
We think you can use the is_user_logged_in() function to do that check for you before displaying your WhatsApp button.
Please refer to the WordPress docs and post to the appropriate forum for more help if needed.
Hey @raddero,
After you activate Content Control, head over to Settings > Content Control.
Add a new restriction for logged-in users. It should look something like this.
https://ps.w.org/content-control/assets/screenshot-2.png?rev=1506147
Select the roles that can access your “Clothes” category. If you want to hide it from everyone, just click only Administrator so only admins can see “Clothes”.
Lastly, in the Content tab, select A Post with Category in the dropdown. Then, choose your category(ies).
You’ll see something like this.
https://share.wppopupmaker.com/yAu0BY6r
Click Update to save your changes.
Learn more here.
https://wordpress.org/plugins/content-control/
We hope that helps.
Let us know if you need anything else.
Have a great day ๐
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] Custom URL redirection not workingHey @ashmij164,
Weโre going to close this thread since we havenโt heard back from you.
Feel free to post a new issue or contact us directly if you need help with anything else.
https://code-atlantic.com/contact-us/
Cheers ๐
Hey @m4815,
Weโre going to close this thread since we havenโt heard back from you.
Feel free to post a new issue or contact us directly if you need help with anything else.
https://code-atlantic.com/contact-us/
Cheers ๐
Hey @futandrew,
We’re going to close this thread since we haven’t heard back from you.
Feel free to post a new issue or contact us directly if you need help with anything else.
https://code-atlantic.com/contact-us/
Cheers ๐