Since updating to bbpress 2.1 the Forum Index is blank (whether pulled up through http://domain.com/?post_type=forum, or with the shortcode), and the descriptions entered for each of the Forum posts are not showing up. When all of the forum topics are set to private, a user who is not logged in sees the dialogue “Oh bother! No forums were found here!” But once the user is logged in, that dialogue disappears, but none of the Private Forums appear.
I’ve reset the permalinks in Settings and in the Forum slugs area, and tried the Repair functions as well.
I’m not sure if I’m reading what you want correctly but is this shortcode what your looking for?
[bbp-topic-index] – This will show the most recent 15 topics across all your forums with pagination.
https://codex.bbpress.org/shortcodes/
Hi bbPress community,
Thank you for all your collective hard work on this great plugin. I’m working on an integration of the new 2.1 plugin into my own theme, and I had a question about scripts and styles that bbPress enqueues into the wp_head.
In general, for plugins which are highly localized on the site (ones that only get used in very specific places), I prefer to conditionally enqueue styles and scripts to keep the head section of the main site relatively clean. bbPress currently initializes the following code site-wide:
/** Scripts ***********************************************************/
add_action( 'bbp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); // Enqueue theme CSS
add_action( 'bbp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); // Enqueue theme JS
add_filter( 'bbp_enqueue_scripts', array( $this, 'localize_topic_script' ) ); // Enqueue theme script localization
add_action( 'bbp_head', array( $this, 'head_scripts' ) ); // Output some extra JS in the
Normally I’m fairly handy with actions and filters in my functions.php file, but I’ve had a load of trouble getting these scripts to conditionally enqueue. Ideally, I would want to condition them on is_bbpress(). Can anyone offer a snippet to filter these unless is_bbpress() is true?
Thanks in advance, and let me know if my question is unclear in any way.
Andrew
Here on bbPress.org, I used the forums shortcode, and used CSS to hide a few columns. I did not use bbp_list_forums(), which has a specific purpose outside of what you’re trying to do.
Hello,
I’ve seen a lot of talk on these forums about Anonymous posting, and I was wondering how easy/feasible it would be to have an anonymous posting system work like the following:
Users need to register in order to post. They have their own username, password, etc. etc., but when they post their username doesn’t show up whatsoever to other posters. Guests CANNOT post at all, which is how this is very different from the previously used versions of Anonymous posting.
I would hope it’d be fairly simple in the posting code, but I’m not experienced enough to know exactly what I’d do. In the simplest terms, whenever there is a post, remove the field that shows the Username of the poster. Similarly, in the Topic view, remove the username from that field as well. Is that possible?
Any help would be greatly appreciated. Thanks!
Currently available shortcodes are list with a brief explanation of each:
https://codex.bbpress.org/shortcodes/
WP Version: 3.4.1
bbPress Version: 2.1.1
Permalink Custom Structure: /%category%/%postname%/
User Settings:
Show Toolbar when viewing site – Unchecked
Username (all small w/o spaces) – forumuser
bbPress Login Widget is used to provide login box which displays user profile image as well as name of user with the link to its profile page:
http://domain.dom/forums/users/forumuser/
I am having problem in accessing the above user profile page. The error displayed on the page is:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
However, if admin logins and goes to the url “http://domain.dom/forums/users/admin/” then bbPress’s profile page for admin is displayed correctly.
What could be the problem? Can someone here help me to rectify it so that proper user profile of all respective users are displayed correctly?
Thanks.
Anonymous User 5853594Inactive
I think you can show the content of a single topic with the [bbp-single-topic id=$topic_id] shortcode in a post.
Haven’t tried how exactly that would work, but it might be what you’re looking for.
No it wasn’t an auto reply to your post.
I presumed what you were looking for is in point 4 of ‘Creating your first forum’ where you can define if a forum is a parent category or straight forum. In the case you were asking you simply create the forum as a forum and not a category.
https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum
> Adjust your Forum attributes. These are:
> Types: choose whether you are creating a Forum or category.
> Forum – can contain topics and be the parent of other forums.
> Category – can only contain forums (no topics). Use for organizing your forums.
> You may, for example, have a Category “Open Source Software” with the > Forums “bbPress” and “WordPress”.
And yes forum wide search is planned for a future release
-
This reply was modified 13 years, 11 months ago by
Stephen Edgar.
-
This reply was modified 13 years, 11 months ago by
Stephen Edgar. Reason: quote formatting
There are plans to improve bbPress’s moderation features.
You can see whats planned thus far, contribute more ideas or even code here:
https://bbpress.trac.wordpress.org/ticket/1721
Create a page (or edit an existing page) and add the [bbp-topic-index] shortcode to that page.
https://codex.bbpress.org/shortcodes/
Anonymous User 5853594Inactive
You could create a page and use the shortcodes to display the forum there. You can then set the page as home, instead of the blog (under Settings > Reading).
From there you’ve got the forum index on the frontpage. You could create other pages to handle registration and other account related things.
You’ll want to read through https://codex.bbpress.org/shortcodes/ for the shortcodes.
It turned out that the solution was to use the WP htaccess Control plugin and use it to install a custom .htcaccess file with a rewrite rule
(using the pretty url’s generated by the permalinks):
RewriteRule author/([^/]+)/?$ http://yourspecificwebsitename/forums/users/$1/ [R=301,L]
No John.:-) I was using multiple methods for displaying my forum just for testing purpose. Now, the status is that I do NOT have any page with shortcode. I just modified the Forum base slug to /discussion/. Suddenly the historical /forums/ forum base slug started to work in the way I expected and the new slug /discussion/ works in the same wrong way as /forums/ did before.
Couple of questions:
Why is the /forums/ slug working after it was modified in the admin area (forum base slug)? It should not be visible at all.
Why is the new /discussion/ forum base slug ignoring page-front-forums.php file? Compared to the /forums/ slug which accepts whe template file ok.
Asking “where are the shortcodes” would have probably helped us help you.
Asking Google for “bbPress Shortcodes” would have eventually gotten you there, too. 🙂
You sir are the hero of the day.
Does that exist anyplace here for a user to find or on some backend page of the plugin so it can be referenced ? If it doesn’t it should. Hours of frustration relieved by the right code.
If i were a woman I’d offer to bear your children
Try creating a page called ‘forum-test’ and add the shortcode [bbp-forum-index]
I’m pretty sure this is what your looking for https://codex.bbpress.org/shortcodes/
@Siobhan I like the idea of using bbPress for a docs task list
@labsecrets Thats some pretty impressive stuff you got there
I’ll take it as a compliment that you’re lost in the simplicity if it all.
If you go to Settings > Forums, you’ll see the slugs for where your forums and topics live. You’re free to change these obviously, and also free to manipulate the output with shortcodes or customized templates in your theme.
No bugs here; it sounds like you’re just doing it all incorrectly, and what you see is what you get. 🙂
For your installation, you should probably pick 1 method of having a forum index that works for you, and use only that one. If you don’t want to use shortcodes, and would rather use a page template, then just do that way. Don’t make 1 page with a shortcode, and another at the forum root, an another here and another there.
Hi there
Picked bbpress as it looks nice & is also linked with wp. Not the first time i used a forum plugin (simple:press years ago) but after installing…….nada, niente, nothing. The back end features are visible from the dashboard but nothing else, it act’s like it created a new page titled “forum” but it didn’t. Even if i create a new page titled “forum” still nothing. I was assuming I’d have to place some snippet on the page (like the way you’d put [nggallery-1] if you wanted a next gen gallery to appear) but if there is some code snippet to place i find no mention of it. Even this site only offers under “Simple Installation”
Simple Setup
Coming soon, I promise!
Any opinions ? did i omit something upon installation, is some documentation lacking ?
Thank you
Hi John, this is what I did when using the shortcode in my page created with slug /forums-test/. It worked well. But what if I do not want to use the shortcodes? The /forums/ page is ignoring my customized page-front-forums.php. I tried to edit the page slug from /forums-test/ to /forums/ but the system is insisting on slug /forums-2/ (created automatically by the system). How should I make the bbpress to use my customized page-front-forums.php file on /forums/? Ideally without shortcodes?
I tried to change the slug for