Forum Replies Created
-
In reply to: Help with custom bbpress Like/Dislike plugin
Probably user error… No biggie.
In reply to: Help with custom bbpress Like/Dislike pluginThanks @netweb for the comments. I worked a LONG time on that home page layout. I posted a rather lengthy commentary here describing how I got it to work, but sadly that post never appeared.
So it does work if I clean off bbp_reply_id(); but I guess I could save a couple of lines of code by using bbp_get_reply_id();.
In reply to: Help with custom bbpress Like/Dislike pluginWow I can’t believe it but I figured this out.
Basically I wrote a function that looks for a result to the bbpress function bbp_reply_id();
IF there’s a result, then replaced my $item_id (the actual post id such as $post->ID) with the id of the reply.
That did the trick. One problem though is that the bbpress bbp_reply_id(); function echoes the number, so I had to clean the echo off like this:
ob_start(); $result = bbp_reply_id(); ob_end_clean();
In reply to: Check out my latest threaded bbpress forum viewThanks. Still an ongoing piece of work but liking where it is right now.
Posted at buddypress here:
https://buddypress.org/support/topic/activity-stream-widget-shows-entries-for-every-bbpress-edit/
Maybe @caslepa but it could be a little of both. A good idea to post on the buddypress forums.
Following. Yeah this one is bugging me too.
In this case I think an excerpt the same length as the regular title would suffice @robkk
So where’s the spam button?
In reply to: Search optionI use the search widget for that.
Went to look, but can’t see anything without logging in. 🙁
In reply to: Post Topic RequestLook in includes/topics/functions.php and includes/replies/functions.php for most of what you will need.
In reply to: Post Topic RequestI just finished all this. Total pain. I had to reverse engineer the DB posts, then look at the bbpress functions to see what ones I could use, or simply which queries etc I could utilize.
In reply to: Use bbpress functions.php outside of bbpress?First beta version: http://www.utehub.com/forum-threads/
In reply to: displaying all topics from a categoryMy guess would be you’ll have to set up a custom query/loop with your specific category/forum id’s in it.
In reply to: Post Topic RequestYou can look at the functions.php files inside of topics and replies. They’ll give you some idea.
I’ve just made live my beta page of a threaded view with new posts and new replies able to be posted outside of bbpress here: http://www.utehub.com/forum-threads/
It’s beta, so lots to work on.
In reply to: Post Topic RequestThere are a couple of queries I’ve found are necessary for posts. First is the standard query which posts to the wp_posts and the second posts to wp_postmeta. They’re very dependent on other functions within bbpress. It’s a bit of a can of worms in my experience. You could create a set of custom queries to do both of these, or try to use all of bbpress’s queries and functionality. Either way, it is not simple.
Following. I’m doing a threaded view outside of bbpress. I’ve got topics and replies all working as well as a modal window for new topics and replies. Just polishing off some of the extra queries. Interested to see what you do.
In reply to: How to display all forum elements on actual pages?In reply to: What is _bbp_activity_id and do I care about it?I’ve figured out the answer to my own question.
This field is related to the buddy press field wp_bp_activity. That shows something like “joe user replied to the topic xxx in the forum xxx”
_bbp_activity_id isn’t necessary for my reply to code on my particular site for bbpress to work properly. It IS however necessary if I want my Buddy Press integration to reflect activity updates related to the forum.
Yes Pascal I’m 90% of the way on that. Thanks. I see that different queries happen based on whether it is a topic, reply, or reply to a reply. Figuring out functions for walking up the voices, post numbers (original post meta) and all that I have yet to figure out.
Thanks for the tip on Query Monitor. It is cool for development. However I think the page is refreshing after the bbp posts to the DB, which is wiping out the db queries.
Hmmmm. Query monitor? Sounds intriguing. Never heard of it. I’ll see what that is.
In reply to: User’s @hashtag like the forum here?That was a problem on mobile too, which is now fix. Thanks @robkk.
In reply to: Use bbpress functions.php outside of bbpress?I’ve got 85% of it working on my dev server. New posts with meta write. Replies write to the db with a couple of the meta fields. Just wasn’t sure ALL that is written to the db on replies. All I have to go by is looking at the db before and after the change. Not exactly the best way.