Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Media Upload Issue

UserPost

9:43 pm
November 15, 2010


theckeler

Member

posts 6

1

I am running WordPress 3.0.1 and RS Version 1.3.5, my authors can upload media, edit posts, and submit for review on posts but none of them can see the media that they upload in the media area or attached to their posts. Is there a setting I'm missing in the options? I tried using the two media ones but they still can't see their own yet they can see everyone elses. Please help, thanks.

9:57 pm
November 15, 2010


theckeler

Member

posts 6

2

Ok, figured out it was the Uncategorized cat, they didn't have access to that (I don't like turning it on but…)… but they still can't see the media that's attached to the post until it's approved. Is there a way to change this?

10:01 pm
November 15, 2010


theckeler

Member

posts 6

3

ha, ok, but also noticed that the media that is attached now once approved isn't showing up either. This is a real mess if you ask me.

12:01 pm
November 16, 2010


Kevin

Admin

posts 2503

4

It sounds like you modified the WordPress Author role - removing "publish posts" and possibly adding/removing other capabilites. That's fine, but be sure to also modify the Role Scoper "Post Author" definition to match it. You can adjust that configuration at:

Roles > Options > RS Role Defs

If you still have trouble, please let me know exactly what your Author role definition. This is an inherent limitation in the current code base which I look forward to eliminating in the future.

12:22 pm
November 16, 2010


theckeler

Member

posts 6

5

Ah I thought I had it, but now all the other authors can see all the new posts, no old ones but only the new prublished and non-published ones… I might have to remove RS. The def are so screwy at this point that I doubt I would be able to give you an idea of what I did… the admin for it is kinda confusing really I know it's for more advanced poeople who know what they are doing so I guess it's not for me.

12:34 pm
November 16, 2010


Kevin

Admin

posts 2503

6

Maybe you accidentally checked "edit others posts" ?

1:45 pm
November 16, 2010


theckeler

Member

posts 6

7

Na, I didn't have that selected… I removed RS and just did add_action() and add_filter() in my functions.php to remove the unwanted stuff from the edit/add posts for the people other than admin. I was mostly using RS to limit the user from selecting any other cats than I wanted them too, but I'm able to hide the cats (and other stuff on the page) using:

function hide_cats() {
    if(!current_user_can('manage_options')) {
   
    $hide_cats = "<style type=\"text/css\">
    #slugdiv,
    #edit-slug-box,
    #mappress,
    #page-links-to,
    #category-137,
    #category-139,
    #category-143,
    #category-144,
    #category-141,
    #category-1,
    #category-66,
    #category-64,
    #category-4
    { display: none; visibility: hidden; }
   
    #category-pop,
    #in-category-138
    { display: none; visibility: hidden; }
    </style>";
    print($hide_cats);
    }

}
add_action( 'admin_head', 'hide_cats'  );

Thanks for your help though, it's good that your supporting it so well!


2:41 pm
November 16, 2010


Kevin

Admin

posts 2503

8

Okay, as long as that category selection security is not a huge concern. Using CSS to hide the UI won't prevent a motivated user from manually editing that CSS on the client side or manually posting a different category ID.

2:53 pm
November 16, 2010


theckeler

Member

posts 6

9

They are submitting it for review so I get the final word before live. Thanks again.


About the Agapetry forum

Currently Online:

15 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1247

Posts: 5656

Members:

There are 1259 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin