Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Sub Cat Dropdowns No Longer Available, No Matter What…

UserPost

6:50 am
July 18, 2011


rwenzel

Member

posts 3

1

Installed RS and played with it a bit, thought I had it working for my needs.  Basically, just telling it to not allow access to a page that has a 2 stage cat/sub cat selection.  Discovered that I could no longer get the sub cat selection to appear, no matter what, unless RS is deactivated.  I get an ajax swirly, which disappears and the sub cat selection box never appears.  This is regardless of setting back to defaults, emptying or even dropping all RS tables in db, clearing browser cache and also flushing the RS disk cache…  What am I missing?  Don't see that it edited .htaccess anywhere…  REALLY want to use RS, as it seemed like it would work best, to suit my needs, however, now I simply can't use it at all. 


Thanks!

6:54 am
July 18, 2011


rwenzel

Member

posts 3

2

Forgot to mention: 

WP 3.2

latest RS

7:18 am
July 18, 2011


Kevin

Admin

posts 2503

3

I can't tell from your description what restrictions you set. Can you explain?

1:38 pm
July 18, 2011


rwenzel

Member

posts 3

4

Basically, all that was set was to go into a page (Pages, "Rate It", Edit) and set it so that one user could not access the page, while another could not, using the Restrict sections for the various roles:

It was a really basic test.  Once I thought I had that, I started playing with the teaser section, which I couldn't get to work, at all, so finally created a custom 404 page.  

2:42 pm
July 18, 2011


Kevin

Admin

posts 2503

5

How were you expecting that setting to "not allow access to a page that has a 2 stage cat/sub cat selection"?

What is the "sub cat selection" that you aren't seeing? On the Add / Edit Category form? Or some type of custom template code?

I'm not seeing any problem with the Hidden Content Teaser. Are you seeing the same issues if you temporarily switch to the default theme?

1:48 pm
August 10, 2011


whiteorb

Member

whiteorb

posts 49

6

I'm having a similar issue. I use a multi category dropdown plugin. I've found that even with all of the categories "Unrestricted" the sub categories don't appear.

4:19 pm
August 10, 2011


Kevin

Admin

posts 2503

7

whiteorb said:

I'm having a similar issue. I use a multi category dropdown plugin. I've found that even with all of the categories "Unrestricted" the sub categories don't appear.


What plugin is that?

9:29 pm
August 10, 2011


whiteorb

Member

whiteorb

posts 49

8

t was a plugin I had made.

http://wpquestions.com/question/show/id/2799

Here's the post where I was asking for assistance.

http://wpquestions.com/question/show/id/2813


You can download it here http://www.stack.nl/~jurre/mcd_plugin.zip 

and implement it with this.


	<?php	if(function_exists('mcd_print_dropdowns')) mcd_print_dropdowns();	?>


7:40 am
August 11, 2011


Kevin

Admin

posts 2503

9

Role Scoper filters categories based on the user's access to related posts. Normally a 'read' capability is required when listing categories on the front end, or applicable post edit capabilities when listing categories in wp-admin. Since your plugin uses a wp-admin URL to pull the subcats via Ajax, post editing capabilities were being required… thus only a logged Contributor / Author / Editor / Administrator could read them.

I've updated the Role Scoper development code (1.3.46-dev) to support your usage. Just add the following argument to your get_categories() argument array in the Ajax handler:

'required_operation' => 'read'

In other usages, pass 'edit' if the category listing pertains to posting via the front end. Also introduced is a 'is_term_admin' argument which can be set 1 or 0 force the requirement / non-requirement of $taxonomy->manage_terms. Of course, this all works for get_terms() also.

12:33 pm
August 11, 2011


whiteorb

Member

whiteorb

posts 49

10

Worked flawlessly. Thanks Kevin


About the Agapetry forum

Currently Online:

15 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1249

Posts: 5659

Members:

There are 1261 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