Forum Replies Created
-
In reply to: Styling forums in bbpress plugin
Depending on your theme you should be able to add a filter to ‘body_class’.
<edit>Actually, you shouldn’t need to. bbPress already adds to the body class.</edit>
In reply to: Bbpress plugin on single pagethose are not core-bbpress files, those are bbpress child-theme files for twebtyten-theme.
They’re core in the sense that they’ll get overwritten when I update the bbPress plugin. That’s why I don’t want to edit them.
Because bbPress works best using its own child theme, it’s really important we have filters and actions in that theme, because we can’t use our own child theme to override it (because WordPress doesn’t support children of children).
I’ll add a ticket to trac about it.
In reply to: Bbpress plugin on single pagethose are not core-bbpress files, those are bbpress child-theme files for twebtyten-theme.
They’re core in the sense that they’ll get overwritten when I update the bbPress plugin. That’s why I don’t want to edit them.
Because bbPress works best using its own child theme, it’s really important we have filters and actions in that theme, because we can’t use our own child theme to override it (because WordPress doesn’t support children of children).
I’ll add a ticket to trac about it.
In reply to: Bbpress plugin on single pageI want to do the same thing. We could do with a filter here, so that we can over-ride the functionality without editing core bbPress files. That, together with the existing filter on get_body_class would allow us to emulate onecolumn-page.php without the need for the additional files.
Could this simple filter be considered for beta 2?
In reply to: Bbpress plugin on single pageI want to do the same thing. We could do with a filter here, so that we can over-ride the functionality without editing core bbPress files. That, together with the existing filter on get_body_class would allow us to emulate onecolumn-page.php without the need for the additional files.
Could this simple filter be considered for beta 2?
In reply to: v2: Simple Press importer, and first thoughtsIn case anyone is interested in seeing the results, here’s a temporary glimpse:
bbPress:
http://www.sermonbrowser.com/forums/forum/sermon-browser-support/
SimplePress:
http://www.sermonbrowser.com/forum/sermon-browser-support/
I was fortunate in that my custom theme was a child theme of TwentyTen. All I needed to do was convert my child theme to a plugin, so I could use bbPress’s child theme instead.
Next up is to get rid of the sidebar of bbPress pages, but I’m not sure that’s possible yet, without hacking core bbPress files.
In reply to: v2: Simple Press importer, and first thoughtsIn case anyone is interested in seeing the results, here’s a temporary glimpse:
bbPress:
http://www.sermonbrowser.com/forums/forum/sermon-browser-support/
SimplePress:
http://www.sermonbrowser.com/forum/sermon-browser-support/
I was fortunate in that my custom theme was a child theme of TwentyTen. All I needed to do was convert my child theme to a plugin, so I could use bbPress’s child theme instead.
Next up is to get rid of the sidebar of bbPress pages, but I’m not sure that’s possible yet, without hacking core bbPress files.
In reply to: Where is the importer?Tools/Import
In reply to: Where is the importer?Tools/Import
In reply to: Can't create forums in bbPress 2.0-beta1Works fine for me in the same setup. I get three new menus between Comments and Appearance.
In reply to: Can't create forums in bbPress 2.0-beta1Works fine for me in the same setup. I get three new menus between Comments and Appearance.
In reply to: v2: Simple Press importer, and first thoughtsI didn’t want to encourage non-programmers to use it, which is why I didn’t post a file. If I get time to tidy it up, I’ll do so (although I’ve lost edit rights to that first post now).
In reply to: v2: Simple Press importer, and first thoughtsI didn’t want to encourage non-programmers to use it, which is why I didn’t post a file. If I get time to tidy it up, I’ll do so (although I’ve lost edit rights to that first post now).
In reply to: Building plugins for the bbPress 2 WP pluginThis is slightly guesswork, but based on my understanding of the code.
(1) You should write your bbPress plugin as if it’s a WordPress plugin.
(2) Searching the bbPress folder for
do_action
will give you all the bbPress hooks, and searching forapply_filters
will give you the list of filters (there are a LOT of them). Learning the important functions is trickier – they seem fairly spread out around the code amongst the less important functions. For that, I guess we’ll need to wait for documentation.In reply to: Building plugins for the bbPress 2 WP pluginThis is slightly guesswork, but based on my understanding of the code.
(1) You should write your bbPress plugin as if it’s a WordPress plugin.
(2) Searching the bbPress folder for
do_action
will give you all the bbPress hooks, and searching forapply_filters
will give you the list of filters (there are a LOT of them). Learning the important functions is trickier – they seem fairly spread out around the code amongst the less important functions. For that, I guess we’ll need to wait for documentation.