Tagged: BuddyPress Moderation Toggle Comment Threads | Keyboard Shortcuts

  • Francesco Laffi 1:11 am on August 13, 2010 Permalink | Reply
    Tags: , , BuddyPress Moderation,   

    BuddyPress Moderation & Album – Week #12 

    Final week, I was a bit nervous because the week before was not really productive as I said a week ago, but this week I did a huge amount of work and things seem to be in place.

    I’m doing also lot of documentation these days, features should be ok.

    A testable version of bp-album with gsoc features is in the wild, it’s still not stable but the part I’ve added as gsoc proj is almost good, some other parts need fixes/rewriting. Finally near to a stable release.

    Instead bp-moderation is pretty much ready for being released, first testers have appreciated it and I just finished writing the documentation on integration with other content types. Still some doc and checking and I’ll release it.

    Good luck everyone!

     
    • Juanma Guerrero 1:47 pm on August 13, 2010 Permalink | Reply

      This is HUGE news!!! ^_^ Thanks so much for your efforts, your job is great!

      Regards!

  • Francesco Laffi 1:31 am on June 25, 2010 Permalink | Reply
    Tags: , BuddyPress Moderation,   

    BuddyPress Moderation – Week #5 

    At last BuddyPress Moderation is done! I mean the part I had to do before mid-term, of course it can still be enhanced and documented after mid-term.

    Now I’ll have to work hard because I’m late with the bp-album part, but at least one big part of the project is done.

    In details this week I finished the backend member view (sql query there was hard), bug fixing, minor enhancement and content types for each default component of buddypress ( status update, activity comment, blog post, blog comment, member, group, forum post, forum topic ).

    In case someone was waiting for this, remember this is still a testing version and if you wait tomorrow I’ll post the reference version for testing and feedback in wp plugin repo.

    P.S.: other students, check out this video lecture Elements of Programming Style, you’ll probably find it interesting, link originally suggested by hakre

     
  • Francesco Laffi 8:42 pm on June 17, 2010 Permalink | Reply
    Tags: , BuddyPress Moderation,   

    BuddyPress Moderation – Week #4 

    This has been a slow coding week, mainly because of an exam I’ve taken on Tuesday. Luckily that was the last exam of June and now I have two weeks for focusing on coding, so I think I should be able to catch up with the schedule.

    I almost finished the page with the contents table and the action on them, after it I’ll move on the page with the members table.

     
  • Francesco Laffi 11:45 pm on June 10, 2010 Permalink | Reply
    Tags: , BuddyPress Moderation,   

    BuddyPress Moderation – Week #3 

    This week I worked most on the backend part, not fast as I hoped (in last week post I said I aimed to finish it by today), but is going well.

    I firstly wrote the setting page, then I worked on the page on which admins can see the reported content.

    In the screenshot you see the options that admins have for querying reported contents

    The database query can already use all those options, but the results are currently not displayed, so I think it’s all for now.

    bye

    Francesco

     
    • Andy P 2:18 am on June 15, 2010 Permalink | Reply

      Thanks for the update. Just remember the KISS approach when it comes to providing options: “Keep It Simple Stupid”. :)

      You might also want to consider providing pre-defined reports. “Today’s activity awaiting moderation”, “Activity older than five days awaiting moderation”, “Most reported content” – just some examples of the top of my head.

      • Francesco Laffi 8:48 pm on June 17, 2010 Permalink | Reply

        Thanks for suggestions :)
        I thought to add a way for saving favorite reports and call them, providing some pre-defined ones is a very good idea. I think this is an enhancement I could make after mid-term, right?

  • Francesco Laffi 5:46 pm on June 3, 2010 Permalink | Reply
    Tags: , BuddyPress Moderation,   

    BuddyPress Moderation – Week #2 

    This week I worked on report links and handling them, both with normal and ajax requests. Also the function for registering content types is in place.

    As I deceived myself that interfaces exist also in php4 I lost some time in coding a content types system based on them, not a big deal as I already recoded it with very basic but more compatible language.

    Right now I defined content types for status updates and activity comments, in the screenshot below you can see how the ‘flag’ content as inappropriate link is displayed in the main activity and in the comments

    and this one show how it works if clicked (with js enabled)

    Now I’m going to define content types also for other core components and by the next weekly post I aim to have the backend working.

    • Francesco
     
    • r-a-y 8:41 pm on June 3, 2010 Permalink | Reply

      Looking good!

    • 21cdb 9:22 pm on June 3, 2010 Permalink | Reply

      Looks awesome – great UI

    • Matt Harzewski 2:47 pm on June 4, 2010 Permalink | Reply

      Looks good. I like the throbber animation. A lot of sites leave that out for AJAX operations.

    • Ipstenu 1:59 pm on June 8, 2010 Permalink | Reply

      Wow. This looks beautiful! You are amazing :)

      I’m assuming this only plugs into the BuddyPress side and not, say, blog posts?

      • Francesco Laffi 11:53 pm on June 10, 2010 Permalink | Reply

        It will support blog post too, but i’ve still not choosen the hook to use for them. It will be a hook that it’s usually in all themes, but if there are themes without that hook the report link will not be displayed there.

    • nuprn1 2:08 pm on June 8, 2010 Permalink | Reply

      looks great!

      what about non-core content types? (will it be easy to append on a filter?)

      • Francesco Laffi 12:00 am on June 11, 2010 Permalink | Reply

        I’m trying to make it flexyble so it can support virtually any kind of contents. The function for registering other content types already is the most commented one, so it should be relatively easy.

    • John James Jacoby 4:08 am on June 15, 2010 Permalink | Reply

      Good stuff :)

  • Francesco Laffi 12:30 am on May 28, 2010 Permalink | Reply
    Tags: , BuddyPress Moderation,   

    BuddyPress Moderation – Week #1 

    This week I started working on the BuddyPress Moderation plugin.

    After defining the plugin data model, how to make it integrate with bp activity loop and custom content types ( if interested check out this post ), I studied a bit how to apply OOP to wp plugins.

    OOP in php is far from perfect (especially in php4, that is the version I have to use for having same requirements of wp & bp ), but I’m getting along with it thanks to some workarounds, good suggestions from hakre, previous oop experience (java).

    If you are interested on wrapping plugins in classes I suggest you little examples I’ve found useful: shadowbox-js, sem-autolink-uri, lingulab-live and last but not the least check out also bp-moderation. Of course if you have suggestions or good resources leave a comment here :).

    Also I’m trying to make it load only the part of the plugin strictly needed on every request, it differentiates 4 situations: frontend (usual page load) / backend (admin page load) / actions (ajax requests, action triggered by link) / installer (activation – deactivation )

    Right now it doesn’t actually do anything, but by tomorrow I should finish a good part of the frontend and related actions.

    That’s it for now.

    -Francesco

     
  • Francesco Laffi 8:49 pm on May 20, 2010 Permalink | Reply
    Tags: , BuddyPress Moderation,   

    Francesco Laffi – Introduction 

    Hello!

    I’m Francesco Laffi, 20 years old. I study industrial engineering at Alma Mater Studiorum, in Bologna, Italy (CEST – UTC+2).

    I’ll be working on two BuddyPress plugins, BP Album and BP Moderation.

    BuddyPress Album already exists, is a photo album component for BP. I’m going to extend it to support every kind of media file and upload from remote locations. Remote url could be either a media file or an oEmbed enabled page.

    BuddyPress Moderation is a new plugin that aims to help admins of BP communities to moderate inappropriate contents. It adds ‘report this’ links to user-generated content so members can easily flag a content as inappropriate. Admins can then see reported contents in the backend pages and take action on them.

    I’ll first work on the moderation component and then on the album enhancements, I’ll post here weekly updates on Thursday.

    You can read more about my proj here: http://gsoc2010.wordpress.com/francesco-laffi-bp-media-moderation/. The original proj description is on my blog.

    My blog is http://flweb.it and I’m @francescolaffi on twitter. Tomorrow and Saturday I’ll be at the WordCamp Milan, if you live in Italy I hope to see you there!

    See you next week!

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
Follow

Get every new post delivered to your Inbox.

Join 28 other followers