Forum Replies Created
Great, thanks for the new release. Always exciting to see new bbpress updates ! Couple of comments from me.
I’ve traditionally used Google search to search across my whole site, is there an easy way to switch the new form off? It appears to be forced upon the main forum list page.
It is also not looking great on my sites main forum page, what’s the easiest way to style this, what can I add to my CSS file to change the look? See here.
For those looking, the Stats shortcode is [bbp-stats], there is also a widget. http://bbpress.trac.wordpress.org/ticket/2052
Is it possible to style the output?
Can I control which stats are shown? For example “empty tags” isn’t something I really want to boast about on my forum!
Just a small bump to say this plugin is updated. As before, let me know if you have ideas to make this better.
The new shortcode is:
Is it possible to style this or control which stats are visible? For example “empty tags” and “hidden replies” aren’t really stats to share about (are they?!)
How is the “who’s online” done?
I looked into this in the past and having read a number of existing threads on the topic it looks like there is no way to change this.
For aesthetic reasons I chose to change from the default as “/forum/forums/” doesn’t look great so you can change it to “/bb/forums” or “/forum/discuss/” or whatever. Not ideal but trying to hack this to work could leave you in a whole world of pain (prob tricky to get right, and may break with future releases).
I think it would be a case of changing the order of the two filters? So when you apply a filter you have to set the priority:
If you change the priority of the filter on that plugin to be less than the filter on mine it might then work in the right order.
Which plugin are you using? Is it this: http://wordpress.org/extend/plugins/kk-i-like-it/
I can have a look if I can get the right plugin to test…
Thanks loads, I’m definitely on my way now. If I can just identify the first post then I’ve got everything I need.
I guess I could just set a global flag once we’ve done the first loop to say don’t process my function again – but that doesn’t seem particularly elegant!
Cheers, will definitely pop a credit / link in when I get this out.
OK, so to do that I would have to close the post myself, which looks like I just have to add two x divs
Div <!-- .bbp-reply-content -->
But it looks like HTML filters are being applied still – ah, is this a case of ordering things so that my filter comes right at the end, ie after the HTML filter?
..ah a quick test and, yes, this seems to work.
$content=$content.'TEST1(/div)(/div)IS THIS BETWEEN POSTS? YES!(div)(div)';
Ah apologies, the forum filter has filtered out the DIVs above.. putting them back in with curly brackets.
Excellent. Looks like I need to put some thought into how to make it look good but I think I can work on that! One last question then (sorry, and thanks for your help!), how do I pick out the first post?
- This reply was modified 7 months, 3 weeks ago by jezza101.
Thanks Pip. Starting to make some progress. I’ve been playing around with some other filters and beginning to explore, I can see how to manipulate various components of a post.
But I’ve hit a brick wall, do you know how to insert something between the first and second post for example?
My goal is to inject a “dummy post” which had the same template as a normal post but contained my own message.
As a first goal I would like to be able to alter the content of each reply shown on the topic page. So actually that would include the lead topic post (in bbpress terms the OP is the topic and subsequent posts are the replies, yeah?)
I think I would also need to know the reply’s ID and whether it was the first reply. If I can get a basic template for that I reckon I can get going with the rest
There are two plugins I built for e107 and I would like to have a go at bbpress 2 versions. One is a ‘Thanks’ plugin, so I’d need to eg add a “thank this post” button to each post, and show a user’s ‘thanks’ count next to their name.
The other is an adense plugin which popped an ad unit inbetween the OP and first reply.
- This reply was modified 7 months, 4 weeks ago by jezza101.
Good job Pip. Looking forward to seeing how you did this, I really struggled to get anywhere but I’m kinda an amateur when it comes to hacking plugins together! Popped a few dollars in the kitty and I hope others do the same.
Downloaded to my dev area and will have a play.
Not sure what you mean, spam comments are hidden by Akismet on my bbpress 2 forum. I use another plugin to prevent spam registrations, it looks up to black lists on StopForumSpam and HoneyPot.
I looked into this myself, but I couldn’t find enough documentation to get started. I’m the kind of dev who can get stuff to work if given enough time and decent code examples. Hopefully as more bbpress 2.0 plugins are released there will be more to learn from.
I would agree that this is such a core feature as users surely use this to monitor activity. There is a shortcode which lists out new posts, you can see it on my site here. A list of new posts does go some of the way to help users monitor activity. There is also the RSS feed which is what I use to monitor all posts that are made.
I wouldn’t want to second guess JJJ but from the gist of his posts I get that he is very pro 3rd party involvement. In a number of cases his response has been to say if you want a feature enough then why not get to work on it and add it (obviously easier said than done as most users don’t have the skills!). Does the fact its commercial make a difference? I don’t know, I shouldn’t think so. Commercial WordPress plugins have been around for a while and are widely used.
Whilst agreeing that it isn’t ideal, it’s easy to disguise. Just change “forums” to something like “discussion”.
Users then see a link like:
Not too scary for them imo. It reads perfectly well “discussion forum” and like you say, most users don’t care much for the internals of all this and won’t notice/care that there is an extra word that (arguably) doesn’t need to be there.
The “do it yourself” attitude can be frustrating as we would if we had the skills! But I appreciate developer’s frustrations too. Surely the compromise is to stick it on the backlog and see if it gains support.
PS. “that it has and that is that” not the most exciting error in the world, you are way too easily impressed my friend
I’m having the same problem. Would love to help resolve it but I’m afraid this is beyond my knowledge.
I guess it relates to that WP MU default behaviour is to send all registrations to the “main” blog. Can the bbpress form somehow hook into WP’s registration procedure to bypass the redirect? I wouldn’t know where to start.
WP MU almost needs to separate out Network Users, who administer sites, and blog users, who comment and post in the forum. Or allow each site to register its own users. Perhaps add blog id to the user table and let us chose how it should behave. Just thinking out loud
In the mean time I think I might go back to my previous multisite implementation, which just involved a little hack in wp-config that swapped the database table prefix based on the domain calling the site. This means that each site has it’s own distinct User and Forum tables. Of course there are some obvious downsides too, but everything is functional. If anyone is interested in that idea then I’ve posted on my site about it.
Frustrating that this is the one thing that is stopping my site being exactly as I want it, but don’t get me wrong, bbpress 2.1 is great and I look forward to future releases. Keep up the good work.