what bbpress related plugins do you have (if any)
Hello,
my Forum http://www.exoten-forum.de is on the air for only one day now. When users postet interesting photos in “Test” I’d like to move the posting to the appropiate forum f.i. “Palm trees”. But this does not work. The “move” button only offers a new thread in the same forum. How can I move postings all over?
WP Version 5.6
Theme Twenty Twenty-One
BBPress Version 2.6.6
Site: http://www.exoten-forum.de
Pflanzenoma
How do I check if user has X number of posts inside bbpress forum to allow him to see blog post.
For example, for logged in user, it would be like:
function show_to_logged( $atts, $content = null ) {
if ( is_user_logged_in() ) {
echo 'Welcome, registered user!';
} else {
echo 'Welcome, visitor!';
};
add_shortcode('show_to_logged', 'show_to_logged');
function show_to_bbpress_user_with_x_posts( $atts, $content = null ) {
if ( user_has_X_BBPRESS_topics_or_topic_replies() ) {
echo 'Welcome, registered user!';
} else {
echo 'Welcome, visitor!';
};
add_shortcode('show_to_bbpress_user_with_x_posts', 'show_to_bbpress_user_with_x_posts');
What would be correct function for user_has_X_BBPRESS_topics_or_topic_replies
?
Final post on this issue….all fixed…thank you neon67…never worked with CSS before…went in and explored all the bbPress css files…experimented and got it to work!!! YES!!!
Below is the code that fixed the alignment issue as well as avatar size:
#bbpress-forums .widget_display_replies img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar
{
height: 20px;
width: 20px;
margin-right: 4px;
margin-bottom: -6px;
}
#bbpress-forums .widget_display_replies img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar
{
margin-right: 4px;
}
This fixed the horizontal spacing issue.
Now whats left is the avatar size and moving avatar vertically slightly.
It depends the themes – either way, the theme is your choice.
In specialized bbpress-theme everything is fine usually.
I’m trying to have the link colors look like this forum:
Example Furum
Why am I having this issue with a clean install of bbPress? Is this a bug with latest version?
It’s not only the spacing, but the avatar is extremely tiny, compared to this forum.
Thank you for replying!!
When a forum post is pinned, the color and background of the topic name changes, as well as the posting time. See this link to a picture of it.
How can I change them to make them better readable?
Wordpress 5.6, bbpress 2.6.6
It concerns this site
Wordpress version: 5.6
bbpress version: 2.6.6
theme: Twenty Twelve
since a month my “forum” tab is missing from the admin left column. I can see “Topics” and “Replies” but I can not see “Forums” tab. see the screenshot: http://prnt.sc/wiyjud
also when as an admin and bbpress moderator, I click this link: “name-of-my-website/wp-admin/edit.php?post_type=forum” I get the error message:
“You need a higher level of permission.
Sorry, you are not allowed to edit posts in this post type.”
On the other hand, in my website I can still see the list of forums, I can comment and write replies for them. So the data is there and accessible in view mode!
What I tried so far:
deactivate all plugins to see if it works –> did not help
deactivate and delete all the other plugins –> did not help
so I assume the database is corrupted?! but if I do not have access to “forum repare” feature, how can I fix this problem?
I appreciate any hint and advise!
I am having an issue with BBpress Notifications. None of the subscribed users in the forums getting notified via email. Is there a way to make sure all users who subscribed to a forum get notified via email for any new topic or replay?
Thanks
Hello neon67,
try to css:
#bbpress-forums .widget_display_replies img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar
{display:none !important;}
The code above worked beautifully!!
Thank you neon67!!
best way – to write wordpress.org/support/plugin/gd-bbpress-attachments/
Although the author of the plugin (Milan) regularly visits here.
This is more a question to the author of the theme you are using. Start with this.
If the theme is not intended for bbpress, you can make a separate page (item in the menu) – for example, using shortcodes – to create page user profile.
The bbpress shortcodes are in the bbpress codex.
If this is still difficult, there are special plugins
Where is this?
This is generated by bbpress or a plugin like wp-wrapper..
ok, so do you have a link to an example that works (say in worpress) and one that doesn’t in bbpress?
Please see this discussion:
https://wordpress.org/support/topic/searching-for-terms-like-10-19/
Turns out this is a bug in bbPress. My main website search engine is fine. Just the bbPress tool failing.
Can a ticket be raise?
Thank you! But I’m looking for a way to apply link: data-rel=”prettyPhoto” target = “_ self” to all available bbpress images. It can be loaded in any way, it doesn’t matter.
Found the code
function add_image_responsive_class ($ content) {
global $ post;
$ pattern = "/ <img (. *?) class = \" (. *?) \ "(. *?)> / i";
$ replacement = '<img $ 1class = "$ 2 img-responsive" $ 3>';
$ content = preg_replace ($ pattern, $ replacement, $ content);
return $ content;
}
add_filter ('the_content', 'add_image_responsive_class');
but for wordpress. Will it work for bbpress?
so what does ‘ I’ve achieved this by editing all of the template files that bbPress has dealing with viewing a reply or being able to post. ‘ mean ?
if only registered users can post, then I’d start by looking at how they are registering – bbpress just uses wordpress registration, so how are your users joining ?
My bbPress forum is integrated with WooCommerce Memberships, so that only members can view topics and post replies. I’ve achieved this by editing all of the template files that bbPress has dealing with viewing a reply or being able to post. So none of the reply forms will even load if the user is not an active member. Still every once in a while, a spammer is able to create an account and post a new topic. How is this possible if they are not a member? Is there another way that someone is able to create a forum post that doesn’t involve having to click the “Create new topic” button (which isn’t there) can they post via URL or RSS? Is there any way to see how they are posting?
This is just a small cosmetic thing …
In the footer of this site under the title “Forum Statistics”, which is a bbpress widget, between the topics and the numbers should at least be one empty space.
How can I get that?
try to css:
#bbpress-forums .widget_display_replies img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar
{display:none !important;}
I want to make all uploaded pictures open as …a class=”my-class” rel=”prettyPhoto” href=”pic_address”…
I found how to filter all the necessary pictures through css. It’s like this:
# bbpress-forums div.bbp-reply-content img, # bbpress-forums div.bbp-topic-content img
{
display: block;
max-width: 100%;
height: auto;}
Question. What to add to the css or functions so that the picture gets a link like rel = “prettyPhoto”. Once I met a solution specifically for WordPress, but now I can’t remember…
That can I do for this (through a css, filter or declarations provided by the loader for the class?)
Thanks for a possible answer.
Hi,
I am the author of the GD bbPress Attachments plugin, and you are right, there is no such feature. But, all files are in the media library, so you can create your own template for a theme that can pull files attached to topics and forums and display them.
A feature like that would be available in the GD bbPress Toolbox Pro plugin, most likely next month, but there are no plans to implement it in the free version.
Regards,
Milan