Forum Replies Created
After some digging it looks like most of the functions I’m looking to use outside of the bbpress framework are in includes/forums/functions.php and includes/replies/functions.php.
I added that style. Curious what browser or device you are on. Float was ok on chrome/mac.
Thanks for the styles. I can see the change in the freshness column but not sure where the issue is in my index, since that’s a static page.
Yes. Outside of the bbpress framework I made a custom page which shows a threaded version of the forum: http://www.utehub.com/forum-threads/.
I’m adding reply as a modal window in this page, and want to use the bbpress reply DB insert queries for instance. Also will use bbpress new post queries… Sorry it is so hard to explain.
Basically it’s a bbpress forum view with post and reply functions, but outside of the bbpress framework.
The catch is I’m creating pages outside of the bbpress framework, so will the functions still work?
@Robkk thanks for that. I had googled setting the order and found apparently some OLD results saying it could not be done. So I created an entire forum index page from scratch to overcome the issue! At least it looks good!
Many thanks for your reponses.
I’m doing that with the template files already, which is great. So do I need to call the bbpress-functions.php file with my custom page or will it load automatically?
Are you saying that you want to move the bbpress-functions.php file into your theme to make it easier to customize the functions already in the plugin??
YES @robkk. Just didn’t want to redeclare the functions. Will that be an issue? If I can pull in whole functions.php then a whole new world will open up.
I see the files
theme/core… Wait a sec I just found it…
So I just call that from my custom page I guess?
@casiepa yes I do. I’m creating an outside of bbpress page which is a threaded forum view with some extra features. I did not create a forum myself, though the thought crossed my mind until I found bbp.
Thanks Robkk. It’s a little unorthodox but I’ve got the hang of it. Being able to arrange the forums in a particular order in the back end is a sorely needed feature.
I see several questions here from you and they seem to indicate you want to create topics and replies yourself by creating the posts and adding the metadata yourself.
I would propose you really check bbpress functions that exist that do this for you autmatically, so you don’t need to worry about what exact metadata to add.
Yes that’s a great solution. The problem is that I’m doing it outside of the bbpress application. Any thoughts? For now I’ve taken the function that writes and new post and new meta and modified it to work with my custom page.In reply to: get user-id of $topic_id