WordPress pluggin - Post Levels

Discussion in 'Integration' started by karnesb, Jul 16, 2008.

  1. karnesb

    karnesb New Member

    Joined:
    May 25, 2008
    Messages:
    26
    I'm using a pretty decent, WordPress plugin called Post Levels, which allows the admin to assign user permission levels to individual posts. It is unrelated to WordPress' user level designations, although both call themselves user levels and both range from 1 to 10. The plugin then allows the poster to decide if a post is public or private, and if private what number between 1-10 it wants to assign to that post. So, if user Bill has has been assigned level 6, he can see any post marked private, that is published with levels assigned of 1, 2, 3, 4, 5, or 6.

    This plugin, by Filipe Fortes, is located here: http://fortes.com/projects/wordpress/postlevels/

    So... Here's what I'm asking for support with. I'm trying to figure out how to send the WordPress user levels info, assigned via the aMember product form, through to WordPress so that it updates the level assigned to that user via the Post Levels plugin's, User Level section (boy... that's a mouth full!). Also, I want to be sure that if someone orders a product with a higher user level and then adds another product with a lower user level (so that both are active at the same time - weird, but possible in my system) that the assigned user's level retains the higher number at the time the lower product order is processed. Only if the user's product with the higher level is cancelled, do I want the system to kick in and lower the number to the other product's assigned level. For example... User Bob buys the higher end product that gives him a user level 6. Then Bob buys a product that gives him a user level 3. Both remain active simultaneously. The higher end product is cancelled by Bob in 3 months, but the lower one remains in place. Now Bob's user level should be lowered to a 3 in WordPress.

    Anyone have experience with this type of code? Can I add it to the aMember WordPress plugin php file? Suggestions?

    Thanks
    Barbara
  2. karnesb

    karnesb New Member

    Joined:
    May 25, 2008
    Messages:
    26
    Anyone?

    Alternatively, is anyone using another plugin or tool to achive post level permissions in WordPress?
  3. getresults

    getresults Member

    Joined:
    Nov 1, 2006
    Messages:
    87
    I'm using the hidepost and role manager plugins very successfully.

    http://nguyenthanhcong.com/2007/03/27/hidepost-plugin-for-wordpress/
    http://www.im-web-gefunden.de/wordpress-plugins/role-manager/

    David at www.membershipacademy.com has some great training videos in the paid members area showing you how to use them.

    I haven't tested what happens if someone subscribes to a lower priced subscription while already on a higher one - I'd like to think they'd retain the highest membership level but would need to check.
  4. karnesb

    karnesb New Member

    Joined:
    May 25, 2008
    Messages:
    26
    Thanks G.

    Interesting that you say you use HidePost with Role Manager. I, too, have role manager activated so I could try to use it with PostLevels. Must be on the same wave length! Still playing with RM, though, to see how I can tie it to PostLevels or my aMember WordPress Roles.

    Thanks again for the suggestion. Genuinely appreciated.

    Barbara

Share This Page