Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




let visitor to post in defined post type

UserPost

1:29 am
August 29, 2010


amh

Member

posts 4

1

hey mate, how can i let registered users to only post in defined post type?
i wanna let em to post their own posts in special post type.

8:58 pm
August 29, 2010


Kevin

Admin

posts 2503

2

Custom Post Types handling is improved in the 1.2.8 beta/RC code, so I suggest moving to 1.2.8.RC3 if you can tolerate something less than a proven-stable release.

Go to Roles > Options > Realm and enable your custom post type for RS roles/restrictions.

Then go to Roles > General and assign a "MyType Author" role to the group [WP MyRegisteredRole]

Le me know if you run into any problems.

5:01 am
August 30, 2010


amh

Member

posts 4

3

Go to Roles > Options > Realm and enable your custom post type for RS roles/restrictions.

unfortunately when i enable two post type and click update, it doesn't do anything :( after recheck it, it back to unchecked :(

i'm using More Fields, more post type and more taxonomies plugins.

5:20 am
August 30, 2010


amh

Member

posts 4

4

I've checked some posts and fidn out that most of ppl r using GD custom tax… i used it till yesterday coz i don't like Milan propaganda at all and moved to more taxonomies and more post type and they are good (and even better than GD lite version).

more XXXX plugins able to adjust roles for each field and i think it has conflict with role scoper, i'm trying to resolve it.

@kevin: if you like i can access you to check it

8:06 am
August 30, 2010


Kevin

Admin

posts 2503

5

If you want to use More Types with Role Scoper, you'll have to change more-types-object.php as follows:

change:

add_action('init', array(&$this, 'init_post_types'), 20);

to:

add_action('init', array(&$this, 'init_post_types'), 1);

I don't know if that will bother any of the More Types administration code (you could check with the authors). Role Scoper needs the custom types to be registered early, before its own initialization.

If that change is not approved for More Types, another plugin which has worked for me is Custom Post Type UI.

12:36 pm
August 30, 2010


Kevin

Admin

posts 2503

6

Please note that I have just corrected a bug in 1.2.8.RC3 which caused a fatal error if the "Roles and Restrictions can be set:" option was set to require an Editor or Administrator role. The revised code is available in 1.2.8.RC4.

2:07 pm
August 30, 2010


Kevin

Admin

posts 2503

7

…and one more fix to last Friday's hasty RC.

After a custom taxonomy was enabled for RS roles & restrictions, Administrators could not manage it by default. This is now fixed in 1.2.8.RC5.

10:49 pm
August 30, 2010


Kevin

Admin

posts 2503

8

…and one more to prove that I am at least quick to fix my mistakes. 1.2.8.RC6 kills two bugs related to custom post types - one perplexing and one very ugly:

* BugFix : Newly enabled custom roles were not handled correctly by RS because initial save following activation de-associated their role capabilities (under RS Role Defs tab)

* Compat : Verve Metaboxes - Internal server error when Administrator attempted to add a new custom post type, under certain configurations

5:13 pm
September 23, 2010


amh

Member

posts 4

9

Kevin said:

…and one more to prove that I am at least quick to fix my mistakes. 1.2.8.RC6 kills two bugs related to custom post types - one perplexing and one very ugly:

* BugFix : Newly enabled custom roles were not handled correctly by RS because initial save following activation de-associated their role capabilities (under RS Role Defs tab)

* Compat : Verve Metaboxes - Internal server error when Administrator attempted to add a new custom post type, under certain configurations


hey kevin, thanks for your comments, im using your last version Rc9.c.

all is ok but only a little fix need,

i don't use category for my post types but when author add a new post in my custom post type, the post auto assign to category ID = 1.

i had no problem without role scoper and when i disable it no problem too, so i think this is role scoper bug

4:06 pm
October 12, 2010


Kevin

Admin

posts 2503

10

I did confirm this and was going to fix it in 1.2.9 / 1.3 but think I may have overlooked it. Stay tuned.

3:36 pm
October 18, 2010


Kevin

Admin

posts 2503

11

No, I just tested this with 1.3.RC5 and don't see a default category being forced.


About the Agapetry forum

Currently Online:

9 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