So, I want to edit the new user admin notification email to include BuddyPress custom profile fields.
This is the email currently:
“New user registration on your site [sitetitle]:
Username: [username]
E-mail: [email]”
Does anybody know how? I have tried a few plugins that are supposed to work, even one that supposedly works with BuddyPress, but I have not been able to get them to work at all. I still get the default email.
Thanks..
I have this same issue. I found that the user’s forum role does not get applied until they not only activate their accounts, but also they must login at least once for the forum role to be applied.
This is not ideal, as I have buddypress custom user profile fields that I need available to me when a user registers, and I cannot view their profile on the forums until they login for the first time.
The final version should be ready for bbPress 2.5 in ~8 weeks (10/29/13 14:00:00)
I have not started on the passwords as these are hard and I have to do them for most of the new importers so I will get started on these next week I hope.
We are importing Email, URL, AIM & Yahoo into the default WordPress user profile and importing SMF’s ICQ, MSN, Signature, Avatar (link only), Location & Personal Text values and storing them in WordPress wp_usermeta
table so this can be later imported/manipulated into any custom WordPress profile plugin like BuddyPress, this is not automated in any way though.
After weeks trying to find something that would work, I found the code on wordpress forums to remove completely gravatars (and redirects it was causing.. )
here is it:
function bp_remove_gravatar ($image, $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir) {
$default = get_stylesheet_directory_uri() .'/images/mystery-man.jpg';
if( $image && strpos( $image, "gravatar.com" ) ){
return '<img src="' . $default . '" alt="avatar" />';
} else {
return $image;
}
}
add_filter('bp_core_fetch_avatar', 'bp_remove_gravatar', 1, 9 );
function remove_gravatar ($avatar, $id_or_email, $size, $default, $alt) {
$default = get_stylesheet_directory_uri() .'/images/mystery-man.jpg';
return "<img alt='{$alt}' src='{$default}' height='{$size}' width='{$size}' />";
}
add_filter('get_avatar', 'remove_gravatar', 1, 5);
function bp_remove_signup_gravatar ($image) {
$default = get_stylesheet_directory_uri() .'/images/mystery-man.jpg';
if( $image && strpos( $image, "gravatar.com" ) ){
return '<img src="' . $default . '" alt="avatar" width="60" height="60" />';
} else {
return $image;
}
}
add_filter('bp_get_signup_avatar', 'bp_remove_signup_gravatar', 1, 1 );
As I am now planning to disable buddypress completely. I am looking for an easy way to let users upload their avatars in bbpress, anyone tried it already?
The file is located in /wp-content/plugins/bbpress/templates/default
If you edit this file manually when you update bbPress your changes will be lost.
The link above in my post shows the steps needed to copy this template to your own theme so you can use your own custom templates without bbPress overriding it during updates.
It is in the feedback-no-forums.php
template \templates\default\bbpress
If you want to modify this template for your theme here check out the docs on theme compat.
https://codex.bbpress.org/theme-compatibility/
Hello hello,
This is my first post so sorry if i post it in the wrong place :$
I wanted to hide my forum by default,I achieved this. Having achieved this, my question: Where in earth do I change the friendly “Oh bother! No forums were found here!” message???? Can’t find it anywhere! I am using bbpress 2.4
Thanks in advance
thanks for checking the queries. I believe it’s not your importer, actually…
I think there’s just an issue with my databases. I did the optimization for all tables, made another local copy (a brand new installation of Ubuntu with default settings for apache, php and the largest settings for mysql allowing it to use more resources).
However, after some more digging, I’m starting to think that my tables are the reason for this slow-down. Specifically them being a mix of MyISAM and InnoDB after many years of conversions, WP updates and one forum conversion from phpbb to vanilla.
I tried to get some out-of-memory errors but all it does is slow it down and it keeps going really slowly. Even setting it to 2000 rows at 1 second doesn’t seem to push it to run out of memory. The “top” command just shows me that it’s working away at 60% CPU and 11% memory for mysql and 50% CPU and 2% memory for apache.
MySQL workbench shows that I only have 6 connections active, which is probably another related issue. I don’t know how to change that but my current running test conversion is with all WP tables converted to InnoDB. It fluctuates at 50-200 writes per second according to MySQL workbench
This is total guesswork on my end (I’m no expert) and I thought it might be a helpful starting point for others with similar issues…
Hi guys,
Have a problem working out how to use the archive page and shortcode to create a forum index.
Currently, the default archive page created for forums gives me an unstyled archive page without a H1. My archive page slug is “forum”
So, Instead of this I have decided to make a regular page, name it forum and stick the shortcode for the forum index in. Perfect!! I thought…..
2 The issues remain. Although the index page looks good as a regular page, the breadcrumbs when in a single forum / topic take users back to the archive page, not the new forum index page.
The second is that the archive page actually still exists…. I would like if possible to be able to overwrite access o the old forum archives when creating the forum index.
Basically, I don’t want 2 archive or forum index pages to exist for the site.
I wonder if using WXR Splitter (http://www.rangerpretzel.com/content/view/20/1/) and breaking up the file into 10 managable parts and importing them one at a time might do the trick. What are your thoughts?
My current problem is trying to associate/map 400 users from one wp install to another. They always end up being associated with the administrator account by default. Can you imagine going through 400 pull down menus for each occurrence? That would make for a fun afternoon.
Hello.
Standalone bbPress 1.0.2
I have to do few changes with my working forum.
1) First I use mini-stats plugin what shows http://www.pruulimine.ee/foorum/?stats=statistics that information. But I have to know top posters also, how can I do that to see?
2) Users can upload avatars but how is possible to set some default ready avatars what user can pick so he/she doesn’t have to upload.
3) My registration works at the moment when user register, then he will recieve password after approving in admin panel. But is this possible to register immediatly with user own password and with captcha to avoid robots. Then there is no need to admin approve those users.
Maybe someone know solutions.
For full support I can pay for help!
The fancy editor is disabled by default. You have two choices:
Enable Visual Editor
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/
It’s for good reason that it’s disabled though. It considerably slows down mobile devices and is just all around far more unpredictable than the plain editor in terms of how users might mess up with it.
bbpress 2.3.2 on WP 3.6
get 3 errors logged in php errors.
[Thu Aug 29 14:41:32 2013] [error] [client 202.46.56.52] PHP Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/wp-includes/functions.php on line 3012
[Thu Aug 29 14:41:44 2013] [error] [client 119.63.193.196] PHP Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/wp-includes/functions.php on line 3012
[Thu Aug 29 14:42:11 2013] [error] [client 54.246.119.211] PHP Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/wp-includes/functions.php on line 3012
searching all my files this only seems to occur in the bbpress plugin.
find . -name “*.php” -print | xargs grep bbp_setup_current_user
./plugins/bbpress/includes/core/sub-actions.php: * @uses do_action() Calls ‘bbp_setup_current_user’
./plugins/bbpress/includes/core/sub-actions.php:function bbp_setup_current_user() {
./plugins/bbpress/includes/core/sub-actions.php: do_action( ‘bbp_setup_current_user’ );
./plugins/bbpress/includes/core/actions.php:add_action( ‘set_current_user’, ‘bbp_setup_current_user’, 10 );
./plugins/bbpress/includes/core/actions.php:add_action( ‘bbp_setup_current_user’, ‘bbp_set_current_user_default_role’ );
Hi Solheubner,
Awesome! It totally worked haha! Sorry it took me so long to see your reply. For some reason I havent put on e-mail subscriptions.
Of course what you have now is that it does not check if you had a subscription on that topic and put a check in the box if you did. But this is a lot better then having it always on for everyone!
Is there are plugin or a way to have a default size when posting videos? IE…YouTube
If you willing to use https://wordpress.org/themes/firmasite theme for bbpress, i can make customization for it.
Default forum example: http://demo.theme.firmasite.com/forums/ (You can change style from top-left icon)
There is a customized version of bbpress style: http://social.theme.firmasite.com/forums/
Before i start to build your theme, you have to provide some things:
▶ Your custom website design ideas. All details. You cant change this one after i start to build your theme.
▶ All design assets if you need any. (logo,images etc)
▶ Your preferred custom/premium bootstrap skins. Yes, you can select multiple and change whenever you want! (Please dont request more then 5) You can create yourself or buy from: http://codecanyon.net/category/skins/bootstrap
▶ Your preferred custom/premium icon font pack. (I can include my premium icon pack for your theme. Example icons: http://shop.theme.firmasite.com/premium-icons/ )
I can finish this in 10~days with 3 revision for 700$ and 1 year bug fix support. You can pay from paypal. If you want to keep your theme up-to-date after 1 year, you can pay 200$ per year.
You can contact me from http://unsalkorkmaz.com/iletisim/
No, by default bbPress does not have a ‘post preview’ feature at this stage.
There are various plugins for using different editors and some are compatible with bbPress and some have a post preview.
Take a look around https://wordpress.org/plugins/ and see if anything is suitable.
Hi Everyone!
For my main forum homepage or the archive i want to display different forums into sections rather than having a list of forums that is the bbpress default.
So this is the code used to display all the forums,
<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
<?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
<?php endwhile; ?>
So how would i add some arguments to this to display certain forums from there ID’s?
Also on the main page i want to show 5 recent topics, i believe the loop code is this,
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
<?php endwhile; ?>
If anyone has managed to use a custom loop using the above code to display 5 recent topics or a custom WP_Query, i’ll be very grateful if you could show some example code.
Kind Regards
~ Matt
Hi,
Your best bet would be to create a custom page template for your WordPress theme where you basically display the header and footer without the sidebar.
Create three custom templates, sidebar, left sidebar and right sidebar, for your default page.php file in your wordpress theme make it so it doesn’t have any sidebars. Then by default bbpress will use this page to display the forum.
What @xevo says is correct. If you put it in the correct place (meaning it’s loading correctly) that CSS will hide the default small avatars and prevent them from being displayed.
Try adding
function subscribed_by_default() {
echo '<script type="text/javascript">jQuery("#bbp_topic_subscription").prop("checked",false);</script>';
}
add_action('bbp_theme_after_topic_form_subscriptions', 'subscribed_by_default');
add_action('bbp_theme_after_reply_form_subscription', 'subscribed_by_default');
to your functions.php
Hey guys!
I’ve got the option to subscribe to topics on, but I dislike the fact that its already checked for every topic. So if a user is not paying attention, hes going to get a lot of e-mails.
I’d much rather have it off by default and let the user click the subscribe box if he wishes to subscribe to a topic.
Can I turn it off in a php file somewhere? I’ve looked around but could not find it. I was wondering if someone else ran in to the same “problem”.
UPDATE:
I have carried out the following troubleshooting activities:
- Deleted my bbpress child theme (problem did not go away)
- Changed my theme to the default twenty thirteen then twenty twelve but still noticed the same error when i attempt to use the theme customizer.
yeah… I’ve ended up doing it locally too. I tried the Vanilla conversion from the migration I did previously and ended up getting tons of SQL errors. So I ended up just pulling out the tables from my vBulletin db that the bbPress converter actually uses and am using those to run the conversion locally.
So far so good on the local conversion. I’m up to about 225,000 on the replies with no stalls yet just using the default set of 100 and 1 sec delay.
Rachael
Thanks, My theme can now read my bbpress.css file based on the directory structure you advised.
One observation and question though:
I noticed that when i created a blank bbpress.css file in my child theme, it wiped off the default styles created by the parent!! So, do I copy the complete parent bbpress.css file or do I make a child bbpress.css file.
If i am to make a child bbpress.css file, then how do i reference the parent css file, as it is done in wordpress child theme design?
Regards