| User | Post |
|
7:52 pm September 6, 2011
| Ganttech
Member
| | | |
|
| posts 5 |
|
|
I run my class website for my students to restrict roles for the students to see only their class. Example a student in my Period 1 class can only see Period 1 and if he clicks on Period 2 - 7, he is blocked out.
It seems that using Role Scoper, when I restrict a page, the Featured Image Post Thumbnail doesn't show up for anyone except me as an administrator. My students see the broken image with an X where the post thumbnail should be. Also guest who arent' logged in see the same broken image.
Here is an example: (Top Post is not restricted and Thumbnail shows, bottom Post is restricted and the Post Thumbnail is the broken image with the X inside) http://ganttech.com/class/webdesign2/bell-ringer-webdesign2/2011_12period6-bell-ringer-webdesign2/
Can someone let me know how to fix this so all my students who are logged in and also even guests can see the Featured Image Post Thumbnail that Wordpress now provides.
Let me know, thanks
Ganttech.com
|
|
|
9:02 pm September 6, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
So the post thumbnail shows for all posts that the logged user can view, but you also want it to show for posts that are teasing?
|
|
|
10:22 am September 7, 2011
| Ganttech
Member
| | | |
|
| posts 5 |
|
|
The post thumbnail shows for only ME as the Admin so I thought everyone could see it. But a guest or even if you are logged in, the Featured Image Post Thumbnail doesn't show up. Below I have put a picture showing what I mean.
What I would like is for NO MATTER if you are logged in or not, the Post Thumbnails show up for anyone, even guest to my website.

|
|
|
10:27 am September 7, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
The updated Role Scoper development code supports this constant definition to disable file filtering for post thumnbails:
define( 'SCOPER_NO_THUMBNAIL_FILTER', true );
Put that in wp-config.php above the "stop editing" line.
|
|
|
11:57 am September 7, 2011
| Ganttech
Member
| | | |
|
| posts 5 |
|
|
I just added that and it still isn't working. Below is the page to show that in the wp-config.php file.

Any other suggestions? I would like to just have general guests/visitors still be able to see the post thumbnails as they are browsing through the site.
Let me know of any other suggestions, thanks for your help
|
|
|
12:14 pm September 7, 2011
| Ganttech
Member
| | | |
|
| posts 5 |
|
|
The thing I have figured out is if I am logged in as the Administrator, then I can see all the pictures fine. Anyone below that can't see the post thumbnails.
Obviously I don't want to make eveyryone administrators, but if there is one option that is allowing administrator to see this and everyone else not, I could possibly add that option under roles?
Just trying to come up with suggestions myself of how it could work?
Let me know
|
|
|
1:16 pm September 7, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Ganttech said:
I just added that and it still isn't working. Below is the page to show that in the wp-config.php file.

Any other suggestions? I would like to just have general guests/visitors still be able to see the post thumbnails as they are browsing through the site.
Let me know of any other suggestions, thanks for your help
Did you also download and install the new dev code?
|
|
|
9:37 am September 8, 2011
| Ganttech
Member
| | | |
|
| posts 5 |
|
|
Good morning, I cleared the cache and it is rechecked and it is working. Thanks for all your help.
|
|
|
10:47 am September 8, 2011
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Glad to hear it's working for you. That's a nice looking site; I hope your students realize what a benefit you're providing and make the most of it!
|
|