Skip to:
Content
Pages
Categories
Search
Top
Bottom

If user has X number of posts?

Published on January 10th, 2021 by mllapan

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?

No new topic button showing

Published on January 9th, 2021 by David Sornberger

How do I get the Create New Topic button/link to show? I’ve activated it in the settings but still nothing shows.
https://motovlogtech.com/forums/

Notification box selected by defoult

Published on January 9th, 2021 by Ricsca2

When you create a new post below the box appears to select if you want to receive emails when someone writes a reply.
Is it possible to have the defoult box selected?

Pinned posts – change colors

Published on January 8th, 2021 by Gunivortus

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

bbpress forums missing/not-accessible from admin view

Published on January 8th, 2021 by megarlen

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!

3. Topic Title Links issues

Published on January 7th, 2021 by JLee

Hello,

Topic Title Links colors not functioning.

Colors not functioning

3. Topic Title Links

Supposed to:
Link is supposed to be blue, hover black, visited back to blue.

Actually doing:
Link is black, hover is blue, visited black

Thanks.

Minor HTML Error

Published on January 7th, 2021 by andyinspired

Hi,
I’ve discovered a very minor HTML error where attachments are listed:

<div class="d4p-bbp-att-wrapper">
<a class="" download href="http://domain.org.uk/file.pdf" title="File.pdf">File.pdf</a>
</div>

Notice the word download should be inside the class quotes and not in between the quotes and the href tag.

Acess default WP user page

Published on January 7th, 2021 by Gunivortus

How can participants in the forum get to the page of their standard WP profile?
I mean the page, which looks like the admin backend, but only shows the info of the logged in user. (I have a plugin for extended registering and logging in, but I cannot open that WordPress page with that).
What can I use as a menu item to access to that page? Maybe a shortcode?

PowerSearch bug

Published on January 6th, 2021 by Chuckie

I use the Power Search plugin. I asked on their forum and I don’t I had a reply.

If I type 10/19 as the search term I get a 404 result.

Spammer still getting in?

Published on January 6th, 2021 by MrFent37

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?

Skip to toolbar