March 6, 2012 at 8:24 am #5763
Hi, I use a plugin on all my clients’ sites called Smart Blocks of WYSIWYG Content:
It’s an extremely useful plugin – it creates a custom post type called “Smart Blocks”. As the plugin description says: “Adds a custom post type that can be easily inserted at multiple spots, including widgets. Easy way to create WYSIWYG widgets.”
The problem is that when I use Smart Block widgets, on any protected page, the Smart Blocks get protected accidentally as well. It’s looks terrible – the ‘Contact’ widget in the footer says “Please login…” rather than the contact details, etc.
Here’s an example: [http://theleakybathtub.com/download/] (site under development for a client)
I can’t live without Smart Blocks and I can’t live without eMember. Is there a way to make them work together properly?
Thanks.March 6, 2012 at 12:28 pm #42762
I’ve made a change to the url I mentioned above.
Originally I had the boxes checked for multiple membership levels for this page, in the Edit Page panel. I also have Section Protection shortcodes, so members from different levels (who had access) would see different sections.
Isn’t it possible to have both types of protection (page and section) for the same page?March 6, 2012 at 12:51 pm #42763
Here’s a url where you can still see the Smart Block problem I’m having:
[http://theleakybathtub.com/products/the-leaky-bathtub/leaky-bathtub-premium-download/]March 6, 2012 at 11:36 pm #42764
Don’t mix full page or post protection with section protection. Section protection gives you granularity (the full post protection does not give you that granularity). Anyway, I don’t see why it would protect that custom post which is in the footer section (the post or page protection does not touch the footer section). I have a feeling you accidentally protected that custom post too (eMember lets you protect custom posts). Check the protection settings of that custom post from the Manage Content Protection menu (under the posts tab).March 7, 2012 at 5:22 am #42765
Hi. Okay, I’m fine with not mixing the two types of protection.
The first troubleshooting I did was to check I haven’t protected the custom post type, but the custom post type doesn’t show up as an option in eMember settings. There is the option to protect the Smart Block on the Add/Edit Smart Block panel, but they’re all unprotected.
So, I’m assuming eMember isn’t recognising that Smart Blocks are not page content. And that’s as far as I’ve gotten.March 7, 2012 at 10:25 pm #42766
The custom post types will go in the “Posts” tab of the manage content protection. So look in the posts tab (don’t look for a smart block section).March 9, 2012 at 6:58 am #42767
Ok, I’ve double-checked and none of the check boxes are ticked.
Isn’t that how it should be?March 9, 2012 at 1:10 pm #42768PeterMember
There is one thing you should be aware of when using section protection –
when you want to use section protection of a post or page you should not protect the “category” that the post belongs to. When you apply category protection for a category all the posts in that category is fully protected (category protection overrides all the small section protections in the post).March 11, 2012 at 2:34 am #42769
Thanks. I’m not using any category protection.
I’d just love to stop the content of my Smart Block widgets being protected on fully protected Pages with no section protection on them.March 11, 2012 at 10:51 pm #42770
I sent you an email to get some details.March 12, 2012 at 9:07 am #42771
I reproduced the issue on a fresh install with just eMember, Smart Blocks and the 2010 theme, and submitted the user info to you. Thanks!
- You must be logged in to reply to this topic.