Forums

Join
bbPress Support ForumsPluginsHOW do i write a plugin

Info

HOW do i write a plugin

  1. where are the filters and so on sos i can write my own plugins ...

    im an intermediate php programmer, i know how to do basic plugins for wp, but not bbpress dont know filters and etc.

    thanks,

  2. You can do a grep to get a list of hooks/actions:
    http://bbpress.org/forums/topic/list-of-hooksactions#post-22602

    We're going to be documenting all of this more on the upcoming wiki soon... for now, grep is the only way to get this info that I know of.

  3. Go into the bbPress directory in a terminal (Mac/Linux/Unix)

    All filters:

    grep -r -n apply_filters\s*\( . | grep -v .svn/ | grep -v @uses

    All actions:

    grep -r -n do_action\s*\( . | grep -v .svn/ | grep -v @uses && grep -r -n do_action_ref_array\s*\( . | grep -v .svn/ | grep -v @uses
  4. ok, ill try that out (windows) if it wont work ill wait for the wiki.

    my plugin plan:-

    - User albums - in each profile a small image gallery of all uploaded images will be shown.

    - Faviroute users - each user can follow another / bookmark a user.

    - items-4-sale - users list their items for sale on their profiles.

    - thumbnails for posts - so posts can be turned via themeing into a blog style post on frontpage.

    so prepare for more annoying posts from me as i learn, believe it!

    soon this lite forum can be turned into a social platform without the need of hefty BuddyPress :D

  5. You must log in to post.