Hi there,
I want to import 150 users to my forum and subscribe them to a new “test” forum topic in order to check if the email notification is working (it stops after sending 100 emails).
In order to do this, I use the plugin “import and export users and customers” to import a list of made-up users (username and email are all that is needed for columns in CSV file).
Then I create a new “test” forum.
Now I want to subscribe them all to this forum topic programmatically via MySQL.
The issue is, I have looked at the SQL table and the only data that I can find on user subscriptions is the wp_usermeta where meta_key = 'wp__bbp_forum_subscriptions'. The meta_value shows the ID of the forum that users are subscribed to.
The issue is that it seems to be no longer working. Is it a meta_value that BBpress no longer uses? If so, which one is used?
If I take a random subscribed user (ID=17248) and check what they are subscribed to, the following query works: select * from wp_usermeta where meta_key = 'wp__bbp_forum_subscriptions' and user_id = 17248;. I can then see a list in the meta_value table of what they are subscribed to. But if I then (using the BBp Toolkit plugin) alter their subscriptions and e.g. unsubscribe them from a topic, go back to the DB and do the same query, it shows the same forum subscription IDs, even though there should be one less.
Could you point me in the right direction of which table to query to alter the forum topic ids of a user please?
Hey guys,
I installed Bbpress on one of my multisites and i have used a plugin to allow users to register tto resgister rather than allowing registrations at the network level.
I have used the bbpress shortcodes for the registration page and the login page however when i test registering as a new user it redirects me to a local-signup page which i assume is happening due to it being a multisite? Is there any way to have only one form that meeds to be filled in? Do i need a user and registration plugin?
The main issue i have is that qhen i do complete the registration process thw new user reveives no email…
I then added a plugin for Smtp, configured it and it works in itself but not diffrrence to the bbpress registration process.
Not sure how to fix the issue, i also tried allowing users to register at a network level but made no difference?
Do i need to add somethinking like the Ultimate user registrations plugin or wp forms? Will that make a difference?
Im ising using latest version of wp and bbpress on my site…
Hi Robin,
Sorry to re-open this.
the latest topics pagination works great! thanks to the code above,
BUT when I turned off threaded replies. the normal pagination in topics is strange..
here is what I mean
https://opentuition.com/forums/
the page numbers it shows are : 1, 2, 4
instead of 1, 2, 3, 4, or 1,2, 4
and when I go to some topic
and click on page 3
it shows like this:
1, 1, 2, 3
here is the example
https://opentuition.com/topic/obu-period-40-results-post-your-comments-instant-poll/page/3/
is there anything that can be done? do you think?
thanks
Kris
It’s still returning null, no output whatsoever. I even print_r($subs) inside the while loop and nothing shows up, I’m using the latest versions of bbpress and wordpress, the theme is a blank starter theme with only bbpress plugin activated
untested but something like
<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
<?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?>
<?php $subs = bbp_get_user_forum_subscriptions( $uid ) ; ?>
<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
<?php $forum_id = bbp_get_forum_id( $forum_id ); ?>
<?php if (in_array($forum_id, $subs)) { ?>
<p><?php bbp_forum_title(); ?></p>
etc.
<php } ?>
<?php endwhile; ?>
<?php endif; ?>
wow, could be many of these or combination of them or your theme
The best I can suggest is
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
ok, thanks for sending that – I had something set that was not giving me that on my test site – now I can match your process, but i do not get the error.
what other bbpress related plugins are you running ?
I’m reading mixed complaints within our forum from those who choose to subscribe to certain topics to receive emails for new replies.
Some say they are receiving emails, some say they’re only receiving them here and there, others are not receiving them at all. I’ve also been reading that some are receiving administrative emails but not emails for new replies in topics.
Our client’s users rely on their email notifications, unfortunately, so I’ve been in the search for a more reliable fix. Any suggestions?
For reference, I am using the WP Mail SMTP plugin that is linked to a paid SMTP.com account. So, in theory, the SMTP should be letting the users receive these emails, no?
Any tests I run on my end have been successful, using a Subscriber, Editor, and Admin user roles. I have also mentioned spam and phishing folders as well as whitelisting but users have done these things and are still experiencing issues.
Any help in solving this would be appreciated!
I’m currently using bbPress version 2.6.5 with the Kleo theme.
so rainy afternoon, so I have wrapped wpup’s code into a plugin, and fixed a couple of things that were different.
This plugin technically works, but without creating multiple threads I can’t really test !
so if anyone fancies trying it out, feel free and let me know if it does what it is supposed to.
and sorry @xprojectsx – I am just putting it out there, I don’t promise to fix it if it doesn’t work, but am happy to take a look, and I don’t promise to maintain it – you download and use on this basis !
If it does work, I’ll add it to the trac ticket for this thread, and maybe add it to my style pack plugin bug fix page.
bbp threaded replies
Hi, I’m curious what plugin you are considering to switch to? I’ve purchased and tested several including trying to get “support” from commercial options, and have not found a very good/comprehensive forum solution with good support. The best forum for wp that I found was simple press but they were bought out a few years ago and since then the support is terrible. Any question will be answered with a pitch to get you to hire them to customize. Before that I tried wpforo but it is lacking a lot of features especially on the admin side and I had problems communicating with their support.
There just does not seem to exist such a plugin for wordpress that has both good support (either commercial or community) and comprehensive features needed to run an active forum. (I’ve used a bunch of non wp forums such as vb, phpbb, smf etc)
I’ve come to the conclusion that if you have to use WP and need a forum with comprehensive features and administration tools, then bbpress is the best option and you may need to hire a developer to get it to do what you need. The next option would be a non-wp forum that you could bridge. But again, if you have a legitimate WP forum plugin option to consider, I’d love to hear it.
it works in my test site, so I cannot explain why it is not working for you – there is nothing further I can do
I’m having trouble getting shortcodes for a picture gallery to work in topics. Did some looking around here and it seems I may need a shortcode plug in and also possibly a shortcode whitelist plugin to go with it. I looked at this one bbPress2 shortcode whitelist, but it is a bit old and hasn’t been tested with 5.5.1. I’m running 7.4.10 PHP, LiteSpeed webserver, 2.6.5 bbpress.
The shortcode for a photo gallery shows up in the post as text but that is all. https://transmissiontuner.com/blog/forums/topic/allison-bellhousing-types/
I asked for support on this from the photogallery plugin and they said it was a bbpress problem.
thanks!
this should hide it, but test to make sure you don’t find any exceptions !
add_filter ('bbp_get_author_link' , 'rew_hide_author', 30 , 3 ) ;
add_filter ('bbp_get_reply_author_link' , 'rew_hide_author', 30 , 3 ) ;
add_filter ('bbp_get_topic_author_link' , 'rew_hide_author', 30 , 3 ) ;
function rew_hide_author($author_link, $r, $args) {
if (!is_user_logged_in()) $author_link='' ;
return $author_link ;
}
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
I suspect that it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
The breadcrumbs don’t appear to respect the actual homepage settings for the blog. If there is a homepage selected, but the setting is actually to show latest posts, the breadcrumbs most frustratingly and seemingly inexplicably show the title of the page selected as homepage instead of latest posts – even if the actual homepage is set to latest posts.
To reproduce, select some page to be homepage. Save. Switch to latest posts (default) for homepage without clearing the selector. The breadcrumbs continue to show the title of the selected inactive setting for page instead of the actual site title, or home or something sane even though the url points to the homepage.
I added [bbp-forum-index] on that same test page (bottom) and there’s still no freshness showing
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Had a look and cannot find anything obvious
For testing purposes, Create a test page with [bbp-forum-index] shortcode and see if Freshnesh and then Latest Post appears, if it does not then a conflict it maybe ?
First open this URL to bypass the “coming soon”: https://www.defensivebjj.com/?bypass=turtlez
Then here is a page that should display the topics index: https://www.defensivebjj.com/members-forum-test/
These are the shortcodes I am trying (both bbstyle pack and bbpress)
[bsp-display-topic-index show=”20″ forum =”611″ search=”no” breadcrumb=”no”]
[bbp-single-forum id="611"]
The shortcode I use for BBPress is [bbp-forum-index] and it shows freshness for myself.
Try this on a test page to see if this works ?
(I am not an expert, so bare-with)
ok, it works in my test site, so I cannot explain why it is not working for you
I am using a wordpress site to make forums with bbpress. We like to have a lot of security and dont like to show ip addresses to anyone other than keymasters, https://prnt.sc/uozyfi is an example of what this looks like.
Is there a way to edit a part in the theme/css or make it so only keymasters can see ips?
Please use baby steps or something that someone who is moderatley tech literate can use.
Theme: OceanWP
Theme Version: 1.8.9
WP Version: 5.5.1
bbPress Version: 2.6.5
bbPress Tweaks Version: Latest (idk?)
Site Address: https://brucedraco.com
I remembered where I saw indented sub-lists – it was section 4 of part 2 of the step by step guide. It says there that indented sub-lists are the default but when I created the test child forum mentioned above it appeared left-justified not indented. I think indented looks better. Why shouldn’t the default be working for me?
Thank you – good to know that I haven’t done something wrong. Having been encouraged to dig deeper I now believe that the sub-lists I noticed somewhere must have been child forums of a parent forum.
I’ve created a test child forum and it does appear beneath the parent forum on the main page.
Thanks, Mark, but I’m not sure what you exactly said.
If you mean I ask Xenforo to help me, then that’s pretty much clear they won’t do anything about it. It’s like someone asks you to help him/her to migrate from bbpress to Xenforo. Will you do it? of course not! Why should they help me upgrade your plugin in order to support migrating from their latest version of forum software to yours? (logically they will help those who are using your forum, to migrate to their forum. Not the other way around)
But if I misunderstood, would you mind clarifying it, please?