mark l chaves
Forum Replies Created
-
Hey @carlosjv,
That’s genius. Thanks so much for sharing your solution with the community.
Have a great day 🙂
Hey @betauser01,
With version 1.1.9, the redirect protection default behavior allows post category archive pages to include restricted posts in the listing. But, you’ll see the default message, and when you click on a restricted post teaser, you’ll be redirected to the default WordPress login page.
Here’s a demo of that.
https://share.wppopupmaker.com/YEurL65X
Now with search results pages, the redirect protection will redirect to the WP login page if all search results returned on the results page are restricted. If there’s a mix of restricted and non-restricted results you should get the same scenario we described earlier.
To get around that redirect case, you can change the protection rule from Redirect to Custom Message. Then, you can include a login link inside your default message. That might not be exactly what you want, but that will be the closest solution available.
For question #2, Content Control uses WordPress’s built-in login pages. Here’s sample code that you can customize to work for you.
https://gist.github.com/marklchaves/86f23654c0f4eb7de2223c85e1da31ec
We hope that helps. Let us know if we missed anything or if you need anything else.
Have a great day 🙂
Hey @betauser01,
Sorry for the delay. We’ll have a look at your questions today and get back to you as soon as possible.
Thanks for your patience 🙂
Hey @artursandmedia,
I see 2 random popups showing on your homepage when I reload the page multiple times.
https://share.wppopupmaker.com/4guKdzK8
It looks like it’s working for me.
You might need to purge all of your caches.
Congrats 😉
Hey @eliant,
Sorry if we misunderstood. What do you mean by “restricted group”?
Do you mean the restriction title? If so, the answer is no. There isn’t.
The
get_rulespublic static class method is the closest thing we can think of. But now, we see that won’t work for your case.The other option is to write that API yourself to read in
jp_cc_settingsoption value from thewp_optionsDB table and parse that array into a data structure that fits your needs. You should see the restriction title in that array.We hope that helps.
Let us know if you need anything else.
Have a great day 🙂
Hey @artursandmedia,
One more thing. We see your custom JS is in the head section of the page. It needs to go in the footer.
If you’re using the Simple Custom CSS and JS, you can follow this guide.
Lastly, if you need more hands-on help, can you please submit a ticket via our contact page?
https://wppopupmaker.com/support
Scroll to the bottom and click Other Support to fill out the form.
Thanks so much
Hey @artursandmedia,
When I visit your site, I can see popup 3532 display fine on your homepage.
Here’s a screen capture.
https://share.wppopupmaker.com/OAu6Y06j
But, your homepage has an error message in the console. See below.
https://share.wppopupmaker.com/bLuKW156
Can you follow the instructions under this image to fix that?
https://share.wppopupmaker.com/eDu5GW19
TL;DR
Change
(jQuery, document)); });to
}(jQuery, document));Let us know how that goes.
- This reply was modified 4 years, 1 month ago by mark l chaves. Reason: Typo
Hey @eliant,
Sorry for the delay.
There are a couple of things that might be happening:
1) First, Content Control loads only when the_content filter hook runs (it checks content restrictions before rendering content). So, we don’t think you’re going to be able to successfully run
Restrictions::get_ruleswhen transition_post_status runs.2) Make sure you’re running
include_once( ABSPATH . '/wp-content/plugins/content-control/classes/Site/Restrictions.php' );before you try to invokeRestrictions::get_rules. Again, you might be able to call it, but it may always return false if Content Control isn’t running.Again, we’re not sure if this is going to work out for you. But, please let us know if you have any other questions.
Thanks!
Hey @ilssgmbh
If you haven’t yet, can you follow these steps?
1. Check under Popup Maker > Settings > Misc that Disable asset caching is NOT checked.
2. If Disable asset caching is checked, then uncheck it and click Save.
3. Reload your public-facing page. The pum-site-scripts.js and .css files should appear on your server under /wp-content/uploads/pum/.
4. If your Popup Maker admin toolbar is on, you can also click Flush Popup Cache under the Tools submenu in the admin bar.
Here’s a short screencast of the process.
https://share.wppopupmaker.com/xQuqrYzg
Let us know how that goes.
- This reply was modified 4 years, 1 month ago by mark l chaves. Reason: Formatting
Hey @stuwilde,
Thanks for your positive feedback.
We tested this version of your code.
<div> [content_control roles="administrator,subscriber" message="<h2>MP3 Downloads</h2>Login into Rave One to access 1000’s of 90’s rave tape packs. Sign up is free and it only takes 30 seconds to register. Just hit the Sign in / Join link in the header. Over 10,000 classic mp3 sets from your favourite dj’s and artists are waiting for you!"] </div> <div> All restricted content </div> <div> [/content_control] </div>We had to do 2 things to get your code to work properly:
1) We deleted the existing double quotes and manually retyped them. There’s a weird copy/paste encoding error that happens sometimes. Be sure to look out for that. You should see a mismatched double quote if you get that error.
2) We change your
<HTML Block>and<WP Content blocks>markup tags with<div>.We hope that helps.
Let us know if you need anything else.
Have a great day 🙂
Hey @doby,
The Content Control plugin restricts content at WordPress content level (namely
the_contentfilter).Themes and plugins might not always use
the_contentfilter. Also, file system restrictions (such as media files) don’t go throughthe_contentfilter. We’ve got media file support on the list for a future version.Sorry for the not-so-great news. We hope that answers your question though. Give us a yell back if not.
Cheers!
- This reply was modified 4 years, 1 month ago by mark l chaves. Reason: Formatting
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] Blocks based themeHey @networkstudio,
Thanks so much for reaching out.
We’ll see if we can get a status update and post that to this thread.
Much appreciated 🙂
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] Link Redirecting to WP Login PageHey @ntimler,
employee schedule link to a page that was made outside of WordPress
It sounds like that page made outside of WordPress is cached somewhere. Can you double-check via your network console tab or make extra sure you’ve flushed all caches⏤i.e., not just the browser and WordPress (CDN, Memcached, Redis, .htaccess, etc.).
Also, make sure your client’s employees are allowing cookies. Otherwise, the browser will always think they’re logged out.
Let us know how that goes.
Thanks!
Hey @chrishechler,
That’s a great question.
Have a look at our premium Forced Interaction extension to see if that fits the bill https://wppopupmaker.com/extensions/forced-interaction/
With that extension, you can create a popup with a Click Open trigger that launches a Forced Interaction popup.
You can try it on your site risk-free for 30 days (100% refundable).
We hope that helps.
Let us know if you need anything else.
Have a great day 🙂
Hey @rainmatch,
Thanks for your feedback.
Let us know if you have something specific we can help you with. Feel free to submit a ticket here with your details.
https://wppopupmaker.com/support/#submit-a-support-ticket
BTW, there’s no charge support.