Search Results for 'bbpress'
-
Search Results
-
I use a large decorative font for my standard pages and forum titles in WordPress. This is normally ok because I make them intentionally short, however my forum topic titles can be much longer as they are created by users and need to be generally more descriptive. Since I have my breadcrumbs styled large and clearly, it’s unnecessary for the topic title to exist at all on an individual topic page.
Does anyone know which bbpress template file I would need to edit to get the single topic pages to display the forum they belong to instead of the topic title itself?
Or how I might do this using a conditional via my WordPress theme’s page.php file?
Hello guys!
I have a specific question about adding forums, threads and replies in Bbpress.
Some times ago i made a script that’s sending data to fill the DB in wordpress – i just send via POST: author, post, title etc via php script, that add it all to DB. It was simple.Now i have to make it in Bbpress, and there is a problem: besides the ‘wp_posts’ data i see many cells in ‘wp_post_meta’ when i create a forum, topic and a reply such as:
_bbp_topic_count _bbp_total_reply_count _bbp_forum_subforum_count _bbp_reply_count _bbp_last_active_time etcThe problem is that I want to do it in the future delayed (this future posts date). And the question is: how do I write this posts and Bbpress helps me and refreshes that data in ‘wp_post_meta’.
I googled my problem and found this functions in functions.php:
function bbp_update_topic_topic_id( $topic_id = 0 ) { $topic_id = bbp_get_topic_id( $topic_id ); update_post_meta( $topic_id, '_bbp_topic_id', (int) $topic_id ); return apply_filters( 'bbp_update_topic_topic_id', (int) $topic_id ); }That’s what I’m looking for? I will be happy if Bbpress has some API or xml-rpc method to add a topics and replies, but there is none 🙁
Thank you and sorry for my bad english.
Topic: FYI to plugin developers
Hey all you plugin developers – and aspiring ones – I have a bit of an FYI for you when it comes to the naming of your files.
A bit of backstory to this – recently when I installed a set of bbPress powered forums on a new site I would suddenly find myself unable to connect to the site – both the blog and the forums. I was lucky that the many times this happened my host provider (and a good friend) was able to find out what happened to lock me out. It turned out that for some reason my IP was triggering the data center (where the hosting service is located) firewall and locking me out.
The question was – what was causing the trigger to be hit?
Well after some investigation by the engineers at the data center they found it one was one specific javascript file that was being called by two different plugins being used that were the cause of the firewall being triggered.
What both of these files had in common was a javascript file called jquery.cookie.js
The two plugins in question are bbPress WP Tweaks and bbPress Like Button. They both apparently make use of this javascript file.
Now of course this might just be a one off problem that will never actually happen to other users of these plugins (after all the engineers at the data center might be overly anal when it comes to their firewall rules 🙂 ) but if you use them and you suddenly get emails saying that your members can’t access the blog or forums this might just be the cause. Better to be forewarned than to be pulling your hair out trying to figure out what the problem is.
To the two plugin authors of the plugins mentioned – I like using your plugins and for now the engineers have put a global rule in place so that the calling of that javascript file won’t trigger the firewall, but you might want to think about alternatives to it.
As I said this is just an FYI but I thought it would be better to post about the problem just in case it happens to someone else as well as letting developers know that there could be a problem using this javascript file.
Now I know this question has been asked every which way to sunday, but I just can’t figure it out for my particular setup. I’m a little annoyed at myself that i’ve been working w/ bbpress for a couple weeks and can’t figure it out on my own.
Now my home page url is simply mysite.com (id give you a link but its parked). So to clean up the breadcrumbs a bit I made the homepage static so I could use that as the archive/index page. That way breadcrumbs could just be “home > forum-name”.
Now a couple issues which I can’t seem to figure out. If my homepage is simply mysite.com what could I use as the forums slug? Based off of some previous semi-related topics posted here, I could just add the [bbp-topic-index] short code to the homepage in the high hopes it would redirect the “forums” breadcrumb to the homepage.
So the ultimate goal here, 2 breadcrumbs. Make homepage the archive/index page so the forum breadcrumbs would be home > forum-name”
Anyone got any ideas?
Topic: Replies Pagination Issue
Hello, I have a default WordPress install (latest version) with a default bbPress 2.4 install using TwentyTwelve, no files have been modified. The replies pagination does not work, though the pagination for topic listings is.
Does anybody else have this issue? I’m going to take a look at the pagination functions and see if I can come up with a fix
Thanks.