Hi All,
Is there anyone here having a code for adding new members to group automatically once they’ve signed up? I have tried this code
//Automatically add new users to a group
function automatic_group_membership( $user_id ) {
if( !$user_id ) return false;
groups_accept_invite( $user_id, < # group ID #> );
}
add_action( ‘bp_core_activated_user’, ‘automatic_group_membership’ );
But it didn’t work. I’ve replaced the < # group ID #> with my group ID–> 1 in function.php in my child theme. That didn’t work. So I went to add it in bp-custom.php. No luck either.
Would you mind helping me please?
My WordPress Version is 4.3.1
My Buddypress version is 2.3.3
Thank you!
Hi, I’ve seen people having this issue around the web but I’ve not found any answers, just wondered if anyone can help as I’ve spent days trying to fix this.
The problem – New posts and their comments are not showing up on the activity stream, nor are notifications sent for comments. All other activity and notification aspects (messages etc.) work fine.
This was working 2 weeks ago, I have since changed my URL though (updated all database links), everything else is fine except this issue.
I have:
tried deactivating ALL plugins
switching to 2015 theme
ensured “Hide site from search engines…” is NOT ticked in settings (I’ve found this to be the most common cause of this issue, sadly not in my case)
removing and reinstalling buddypress
reinstalling wordpress
If anyone has and ideas I’d be really grateful, I suspect this is related to the change of url but I don’t have the advanced knowledge to investigate any further than I have.
I’m using wordpress 4.3.1 and buddypress 2.3.3 at http://kopfans.net, the site is at final testing stage and once this is resolved it’ll replace a live socialengine site.
3 reports in 3 weeks sounds as though there could be an issue here. Can you open a ticket on Trac?
https://buddypress.trac.wordpress.org/
You can use the same username and password that you use here in the forum to log in. Please provide as much background info as you can regarding your setup.
There’s currently also 29 themes in the WordPress Theme Dir tagged “BuddyPress”. See here. I’m not sure if any of these will be different to the themes you’ve seen already at BP Inspire, but it’s worth taking a look 🙂
“You are not allowed to show this page”
Error : Http 403 refused.
That’s what i see if i try to login with Buddypress login widget, i’m having this error on my wp-login.php page redirection. BUT, the thing it makes me crazy is that i can login if i go by my side to the wp-login.php page of my website. It only happend sometimes, but someday this error is not happenning. For exemple, atm i’m able to login with buddypress login widget on my computer, but not on my phone…
my website configuration :
http://www.excel07.fr
Wordpress 4.3.1, BP version 2.3.3, Hotest at One.com.
Thanks in advance for replies…
@danbp:
Yes permalinks are enabled. This is a copy of my .htaccess file
“# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress”
Anything that needs to be changed ?
Hi,
I am facing the same issue.
My WordPress version- 4.3.1
BuddyPress version- 2.3.3
Theme- Twenty Thirteen
Plugins used- Branded Login Screen, Register Plus Redux.
As an Admin, able to edit my profile but not able edit profile as an user.
And all components of BuddyPress is throwing 404 error.
Can anyone please help me as I am new to this field.
Thanks
Hi @skvirly,
unfortunately, i think nothing about your issue, except that it seems that something is interfering somewhere.
The best practice in such case is to start from the begin.
Activate WordPress and 2015 theme. Check that anything is correctly working.
Then activate BuddyPress. Re-check.
Then bbPress. Re-check.
Then, activate Sweet Date theme. Re-check.
If all is Ok, and only if all, you now have a base install of WP/BP/bbP and your theme working correctly. There shouldn’t be any notice or warning at this stage. If you got one, it’s a probleme with the theme.
If this is ok, you add one plugin. And re-check. This normally make things easier to debug.
As it is apparently related to xprofile, it could be possible that if you use contactform plugin for your register page, that something is wrong with that plugin. But this is only a hypothesis, not a certainty.
Note that php memory_limit of 128 mo is enought to run a script, when BP is running on a single install. Aside, note also it’s default for php 5.6 version.
Happy debuging.
a) If I click to “View” the message (not the html link), in the majority of cases I’m taken to the error page. I’m not clear why this is the case?
Did you happen to delete those activity items? The reason I think you are getting the error page is because those activity items don’t exist.
b) Is there a way to disable html coding in these message boxes?
Yes. You need to filter the text so that all HTML tags are stripped out. There are WordPress functions that can do this for you. See wp_filter_nohtml_kses().
Ref: https://codex.wordpress.org/Function_Reference/wp_filter_nohtml_kses
2. How do you get the edit facility to appear under Profile? I have Extended Profiles checked. I can only see “View” and “Change Profile Photo”.
This could be a theme issue. Try activating TwentyFifteen to see if you get the edit facility appear.
3. Is there a way to disable the html coding for all of the message boxes i.e. site-wide, private, public, groups and members?
Yes, but it isn’t as straightforward as updating a setting. You’ll need to filter each one, using wp_filter_nohtml_kses() to strip out the tags, as mentioned above.
Hope this helps!
Hello
WordPress 4.3.1 running Weaver Xtreme Child theme. Buddypress Version 2.3.3.
Activity
I have 3 questions and apologies for having adding these questions separately elsewhere. Refer to the link above.
1. Under members, I have a lot of spam messages. This question is in two parts: a) If I click to “View” the message (not the html link), in the majority of cases I’m taken to the error page. I’m not clear why this is the case? b) Is there a way to disable html coding in these message boxes?
2. How do you get the edit facility to appear under Profile? I have Extended Profiles checked. I can only see “View” and “Change Profile Photo”.
3. Is there a way to disable the html coding for all of the message boxes i.e. site-wide, private, public, groups and members?
Hope you can help
Gary
I installed BuddyPress on Catch Base Theme. putthelightin.com It seems to have installed fine but I can’t register. Of course I am registered automatically as admin but I am speaking of attempting registration under different user.
After filling out registration form and clicking “Complete Registration”, I have had two different experiences. One told me to check my email for information. That information never arrived at the email. I attempted another registration with different credentials and email and this time nothing happened. How do I fix this?
BuddyPress Version 2.3.3 – WordPress 4.3.1 running Catch Base theme – putthelightin.com
Hi @damland
Thanks for the report. Bug reports can be opened on Trac:
https://buddypress.trac.wordpress.org
The username and password you use here in the forums will work there too.
There is a guide available showing how to get started with Poedit. It isn’t technically demanding, but you do need to follow the steps carefully. Hope this helps!
https://make.wordpress.org/polyglots/handbook/tools/poedit/
Hi danbp
I’ve read through that before and it doesn’t sound so easy to me.
I’m not a PHP, BuddyPress or WordPress expert I’m afraid, so editing core files is not something I feel comfortable doing. Plus if I wanted to add an image where would I do that? That’s why I was hoping there was a way to do this using a template file as I want to do more than just change the page title.
I don’t know how to generate a .MO file and I wouldn’t know how to edit a .PO or a .MO file either or what to put in them.
If you offer any further support, that’d be great.
So far, I’ve copied this file: buddypress/bp-themes/bp-default/registration/register.php into my child theme and edited it and added content form tips where I want them, but I’m still left with the ‘Create an Account’ text at the top that I can’t get rid of – any ideas?
Evie
You can add custom option fields for References and Places Worked:
Profile → Edit
Not sure that adding a memberlist as drop down is very clever. What if you get a community of hundreds of members ?
To get database info, see here: (that’s a common WP task)
https://codex.wordpress.org/Class_Reference/wpdb
Thanks for the link, but I’m not a WordPress or Buddypress coder, so it’s all a bit beyond me to be honest…
I am using WP 4.3.1, BP 2.3.3 and Sweet date theme, here. Any plugin I want to use besides the ones mentioned before makes my activity stream in the WP dashboard disappear. I am also using bbPress 2.5.8, rtMedia 3.8.19, akismet 3.1.3, contact form 7 v4.3. All the plugins deactivated makes my activity stream appear again, any of the other plugins activated makes it disappear again. I first thought that it was a bbpress issue only, but after systematic troubleshooting it rather seems to be a Buddypress related issue. Any help is greatly appreciated.
The Theme My Login plugin is useful in handling redirection. Taken from the plugin’s feature list:
Redirect users upon log in and log out based upon their role
I’ve done this myself using the plugin and can confirm it works quite well with BuddyPress installed.
Hi
@Jose
Your reply [You need an API Key because your WordPress has to “talk” with WangGuard server, it is like Akismet, you need and API Key, but it is free. In any way, if you need to get a “Premium” API Key, it will be 12€/year. I think it is very cheap….] does not answer what Vignesh has asked: how to get API if one is starter and yet to get to the mark of $200-5k queries..
At least I could not figure out.
If I had, I could give it a try..
Best,
Arvind
BuddyPress use 3 pages by default: members, groups and activity and a small bunch of templates depending the context.
These 3 pages are not used as ordinary WP pages, and exist for internal usage with WordPress, as slug placeholder only. These pages must stay empty and independant of any template or model.
The best way to add featured images, is to hook into an existing function/filter or action. There’s no need for a static page.
For more complex addition, you can use plugin.php template file which exist in /single/ directory of members and groups component template.
See get_posts and get_the_post_thumbnail on WP Codex
Post type of featured image is attachement
Read also about BuddyPress:
Post Types Activities
Template Overload from a Plugin
or a working example similar to what you try to do (if i understand you correctly).
https://buddypress.org/support/topic/my-contributions-tab-with-subtabs/#post-244609
Do I need to create these wordpress pages myself?
You will need to use hooks. The basic idea is to attach a custom function to the relevant filter hook then inside your custom function you can use number_format() to group the thousands.