Forum Replies Created
-
In reply to: Is there an API for bbPress
Ok @mapofemergence it took me a bit to figure out how to fork on github (I use bitbucket normally). Here’s my fork which currently contains the addition of user name, user avatar, and forum name in the topics end point. This results in a huge speed increase over having to hit the forum api and user api while looping through the topics. So I’ve reduced the api calls from 20 down to 1 for a feed of the 10 latest topics!
In reply to: Is there an API for bbPressYES that one. Thanks @mapofemergence no worries. Travel safe. Somehow I lost that link and there is no link from your documentation to the repo. I’ve been there before! Ok I will do some forking.
In reply to: Is there an API for bbPressIn addition to reply count I also added the author name and author avatar. That saved a TON of time and http calls. Huge speed increase.
In reply to: Is there an API for bbPressHey @mapofemergence where’s your git hub repo? I’m forking your API a bit. I’ve added reply count to your api and I’m using it since I can’t get anything other than a null response for topics with the @casiepa api.
In reply to: Is there an API for bbPress@mapofemergence I really like what you’ve done with your api. It is robust and the documentation is excellent. I’m not sure if my forking of Pascal’s is any good as I’ve never worked on API stuff before, but many years of PHP and WP.
I’ve started a new thread for discussion of my bbPress mobile app here:
I’m excited. Check out the first image I posted in that thread!
In reply to: Is there an API for bbPressI’ve hijacked this thread enough. Going to start one for the app.
In reply to: Is there an API for bbPressCheck it out. After hacking @casiepa’s branch to get user info, I how can view a topic in my mobile bbPress app! I’m getting the user’s avatar, display_name, topic title, date posted, forum name and of course the content of the topic!
In reply to: Is there an API for bbPressHey @casiepa I branched your git hub repo and added a user end point so I can continue development of my mobile bbPress app. I’ve used git hub a lot, but never branched someone else’s repo so I couldn’t quite figure out how to connect them, so I just manually uploaded.
In reply to: Is there an API for bbPressShould not be too hard to implement into /bbp-api/topics/id (https://github.com/ePascalC/bbp-API/wiki/API-routes)
You get the topic data there and then an extra array with all replies.
Along those same lines, an object including the authorId, author name, and author hashtag in the api would eliminate a need for another custom api call for user info. WP does not allow hitting user info publicly to prevent name scraping I guess.
In reply to: Is there an API for bbPressPardon all my posts. You know what would be a great end point? A single topic with a replies object. Can that be done? One call which has the topic and all its replies. That might be too hard to do because of ordering of the replies as in threaded or non threaded etc.
In reply to: Is there an API for bbPress@casiepa is there paging on your api? I like how your topics have reply counts in the object.
In reply to: Is there an API for bbPressI’ve started coding an angular/mobile bbPress app. I’ve already got a “latest topics” feed working in the app via the API by @mapofemergence and it works great. I just ran into the first hurdle, which is that WP’s API does not allow access to user info. A custom API to get the user’s name and avatar etc would be needed.
@casiepa I will check yours out as well.In reply to: Is there an API for bbPressI’ve already got the “latest posts” feed working with post titles and dates. One catch is that I can’t get the author’s name because the WP API won’t allow it, presumably to prevent name harvesting. So I may have to make a custom API for that.
In reply to: Is there an API for bbPressI’m starting development of my bbPress mobile app. I have noticed that buddyPress has an RSS feed for latest member activity, which also has bbPress posts. One could utilize that, but it is very limited and shows multiple duplicates of the same post if a user edits.
In reply to: Is there an API for bbPressSounds like you’ve put some good thought into it @mapofemergence and I hope to contribute on the front end side with suggestions and reports on how I’m able to get it to work, if you’d like some input/help.
I hope to start on my bbPress mobile app in the next week or two.
In reply to: Is there an API for bbPressI’m happy to have found this discussion. Shortly after making an iOS/Android app out of one of my WP blogs I will embark on making a mobile app for my bbPress based forum at UteHub.com. So naturally I started google bbPress API.
I have yet to look at what’s returned by the bbP api plugins in this thread, but why not just use a custom post type function to add to the WP api? Is there something coming from these bbP api’s not in there?
I will be developing my bbPress app in Angular JS 1.x. I’m sure I’ll be participating more as I get into the project.
In reply to: Custom Code Needed For Nested RepliesI got it figured out and implemented.
In reply to: Custom Code Needed For Nested RepliesHey @robin-w or any other BBP mods. I’m in dire need of I believe a custom walker for my custom page’s replies. I’m stumped to the point of wanting to hire someone to do it for me. Any ideas?
In reply to: Custom Code Needed For Nested RepliesI believe I need to make either a custom reply Walker class, or a recursive function. How would I make a bbPress reply walker class and implement it?
In reply to: Help with custom bbpress Like/Dislike pluginHey @mth75 is your last post in response to my threaded comment or the like function? Sorry about hijacking my own thread.
In reply to: Help with custom bbpress Like/Dislike pluginThanks! Do you know much about WP_Query args and nested replies?!?!?! 🙂
In reply to: Help with custom bbpress Like/Dislike pluginFYI this layout has morphed and improved quite a bit since the last post here.
In reply to: Use bbpress functions.php outside of bbpress?You have to load the bbpress plugin most likely.
In reply to: how to create dynamic reply-boxCheck out how I’ve done replies on my home page at http://www.utehub.com
You will have to set up an account though, to see the functionality. Check out the new post function too. I’ve also added a fully functioning text editor to each reply/post. Needless to say, the home page has taken probably hundreds of hours of development.
Thanks @tech55541