• Plugin Contributor Michael Cannon

    (@comprock)


    Howdy folks,

    I’m heading offline for the next few weeks and will be working on personal software projects. One of which is the the long-awaited Testimonials Widget rewrite. I’m looking to you for ideas on how to make it better.

    Besides the current feature set, I’m looking to add the following

    * Custom post-type and tag conversion
    * Auto-migration from old to new format
    * Updated jQuery for rotations
    * More display options like ordering
    * Images
    * Gravatar
    * Custom CSS

    What else do you want to see? Do you think custom HTML layout templates are needed?

    Your thoughts and requests are very welcome.

    Thank you,

    Michael

    https://www.ads-software.com/extend/plugins/testimonials-widget/

Viewing 10 replies - 16 through 25 (of 25 total)
  • Plugin Contributor Michael Cannon

    (@comprock)

    Axel,

    Thank you for the feedback. What exactly are you looking for?

    SVN is at https://plugins.svn.www.ads-software.com/testimonials-widget/trunk/. I can handle patches.

    Michael

    Plugin Contributor Michael Cannon

    (@comprock)

    Axel,

    I’ve tried working on adding CPT meta capabilities without needing another plugin without success so far. If you’ve got contacts that could help me out, that’d be much appreciated.

    Michael

    axwax

    (@axwax)

    Hi Michael,
    oops, I somehow missed your first reply…

    I did manage to get the steps outlined in the tutorial to work for my own CPT, but it’s been a little while ago, so I don’t quite remember OTTOMH – I think I just added 'capability_type' =>'blah' and 'capabilities' => array('publish_posts' => 'publish_blah, 'edit_posts' => 'edit_blah', etc)
    to the register_post_types function’s arguments, and then pretty much copied Justin’s script (the add_filter( 'map_meta_cap', 'my_map_meta_cap', 10, 4 ); one), replacing ‘edit_movie’ etc as appropriate – I’ll try and have a go at this over the next few days…

    Axel

    Plugin Contributor Michael Cannon

    (@comprock)

    Axel,

    No worries. I’ve thought of a style that meet the needs of old and new style capabilities users. Due to the effort needed though, it’ll be a premium feature.

    I do appreciate the push to make this happen.

    Ciao!

    Michael

    axwax

    (@axwax)

    Btw, the easy option to bring the plugin in line with WordPress 3.0+ is to simply replace the bits of code that have a hardcoded user level to their equivalent capability.

    Eg in testimonials-widget.php line 201, change $user_level <3 to !current_user_can('edit_others_posts'). This *should* do the same thing (only select authors or below), although you might want to double-check…

    Cheers,
    Axel

    Plugin Contributor Michael Cannon

    (@comprock)

    Axel,

    Very true. However, I’ve decided that if a capabilities plugin isn’t active, then we should run permissions as you suggest. However, if a capabilities plugin IS active, then we need to have CPT meta capabilities used.

    Since there’s a bit of swapping and testing will be pain, it might be a big longer unless I get further like requests. Also, next week I get back onto a larger project, so my free coding time will likely drop. Therefore, slowing me down for fun stuff like this.

    Michael

    Plugin Contributor Michael Cannon

    (@comprock)

    Axel,

    What do consider the top capabilities plugins?

    I’m looking at the todo list for things to put and meta is one of the last items remaining.

    Michael

    Plugin Contributor Michael Cannon

    (@comprock)

    Version 2.5.5 respects meta capabilities now.

    Nice!

    I’ve used Justin Tadlock’s Members plugin in the past and am currently using User Role Editor by Vladimir Garagulya.

    I just had a quick go switching edit_others_posts on and off using the latter plugin, and everything behaved as expected.

    I believe those two are the most popular, but there’s a more comprehensive list of other roles/capabilities plugins at https://codex.www.ads-software.com/Roles_and_Capabilities

    Cheers,
    Axel

    Plugin Contributor Michael Cannon

    (@comprock)

    Axel,

    Thank you for the prompt feedback. If you have the permissions working as desired, then I think we’re fine for now.

    Ciao!

    Michael

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘[Plugin: Testimonials Widget] Version 2.0 Rewrite Suggestions Request’ is closed to new replies.