Hi,
I’m trying to add an admin-only sub tab under the profile section of users. Here’s my code:
`
bp_core_new_subnav_item( array(
‘name’ => __( ‘Test’, ‘buddypress’ ),
‘slug’ => ‘test’,
‘parent_url’ => trailingslashit( bp_displayed_user_domain() . $bp->profile->slug ),
‘parent_slug’ => $bp->profile->slug,
‘screen_function’ => ‘test_something’,
‘position’ => 40,
‘user_has_access’ => current_user_can(‘edit_users’),
‘site_admin_only’ => true,
‘item_css_id’ => $bp->profile->id
) );
`
I know I’m doing this mostly right, because I can get the tab on my own (admin) profile page. However, I can’t see the tab on anybody else’s. If I change the slug to settings, I will see the tab on any of the users as expected.
Therefore, this looks like this behavior is specific to Profile section.
In bp-members-loader.php : Line 137, I see the following code that cancels the sub nav creation for anybody other than the current user.
`
if ( !is_user_logged_in() && !bp_is_user() )
return;
`
Is this the reason why adding sub menu doesn’t work? Is there a way around this?
It has been upgraded though.
I saw something about buddypress not working if I have it installed in a directory (which is quite dumb if you ask me) could this be the problem?
The sites directory is kreativempire.com/kreativkulture
Yes. We’re moving to full integration with WP Toolbar nee adminbar in BP 1.6 if not earlier.
In fact, BP buddybar and WP adminbar are fully integrated in BP Trunk already https://buddypress.trac.wordpress.org/browser/trunk
@inweb thank you for sharing your solution to current WP 3.3 and BP 1.5.2 forums. However, this thread is more than a year old and solution was different. Closing this thread.
@tjherman
== Says it’s already installed. Is there another solution I’m missing? ==
Go to Settings > Forums and check the Archives Base, if you have group forums running change the slug from “forums” to something else e.g. sitewide-forums or discussions
@zaphod_b are you trying to install sitewide forums?
== it gets stuck at the step where it says that I have to manually upload to …/bp-themes. ==
This means that for some reason, you server prevented the automatic transfer of the required BP folders into the folder of your activated WP theme.
1. Download a copy of BuddyPress to your computer hard drive – https://wordpress.org/extend/plugins/buddypress/
2. Unzip, and upload the following folders from the BuddyPress folder to your server’s wp-content/themes/name-of-your-WP-theme via FTP/cpanel/FileManager:
– activity
– blogs (if you’re on multisite)
– forums
– groups
– members
– registration
3. Proceed with Step 3 of the BP Compatibility Process
I suspect the theme you purchased might not have been upgraded for WP 3.3 and BuddyPress 1.5.2 and those are issues you have to bring to the theme author. /they should provide free support for their premium themes.
I recall this problem popping up a lot when having the stand-alone version of bbpress working with WordPress which was always a pain. Maybe this is the same problem?
Always fixed the problem by fixing the permissions between bbpress and wordpress.
Should be in your buddypress plugin’s folder.
I am having trouble with installing. I have the latest version of WP, BuddyPress Template Pack installed and activated, and BuddyPress installed and activated.
The trouble I have is that when I activate BuddyPress Template pack, and it says it is going to walk me through the steps/compatability, it gets stuck at the step where it says that I have to manually upload to …/bp-themes. It seems it can’t move templates to the theme folder. So when I actually examine my file structure, via FTP, I look in wp-config and there is bp-themes folder to be found. So I can’t complete this step. I’ve looked everywhere for bp-themes (I do see the default BP theme installed when I choose “themes” from the dashboard).
Specifically, the message I get is: You have activated the BuddyPress Template Pack, but you haven’t completed the setup process. Visit the BP Compatibility page to wrap up. When that doesn’t work automatically, it says I have to locate the following which does not exist:
You will need to connect to your WordPress files using FTP. When you are connected browse to the following directory:
/home/healthyw/public_html/homewoodconnect.com/wp-content/plugins/buddypress/bp-themes/bp-default/
Any thoughts on what is going on and how I properly finalize this installation?
Thank you.
I got this problem too. I did a fresh install of WordPress MU today, installed Buddypress and then tried to enable forums. No go. Tried a lot of things, nothing works. Also tried with bbpress, no go.
I really hope this gets fixed really really soon! This is a very serious bug.
WordPress as well as BuddyPress has little hooks that when certain actions are accomplished it will run a function. So BuddyPress as hooked in the the post hook and posts an activity update about that blog post. You probably could do the opposite but the activity update is missing some content a post would require, like the title as the activity update is just content.
Another issue would be to separate out what is considered a blog post and what is not on posting. I personally would not go this route because of user confusion. Look into using a separate post form for front end blog posting. There are many topics here about adding a front end blog posting form.
I finally found an answer which I shall tell you about in case anybody else is trying to do the same.
I changed the theme to “Suffusion” http://aquoid.com/news/themes/suffusion/
installed the suffusion buddypress pack. When you go to activate BP use the option “don’t change my theme”
and Viola we have buddypress working with the WP register and login.
I also have a VERY similar issue. I’m WP 3.3 BP 1.52.
I’ve renamed my old plugin folder, created a new plugin folder, installed BP and then went to activate Forums for Groups and I’m also getting the..
Error Message : “You do not have sufficient permissions to access this page.”….
Any idea?
… but I believe it works the other way… if they create a post it will show in their buddypress activity… tho I could be wrong on this.
I set up Buddypress on a theme I purchased on Themeforest which was made for BuddyPress.
After setting it up, Im noticing alot of pages not working..
When I click register it takes me to the home page (how do I set up the register page?
I set up a “test” profile to interact with my admin account..from the Test profile I am unable to view my admin accounts profile when clicking it from member list. Also, after sending a friend request, on the admin account I click the notification to go to the request page and I get a 404…among other pages like composing messages, etc,
What is going on?!
This was working great for me til today, for some reason it just stopped working – the button to attach a file is there but nothing happens on click. Didn’t see any script errors when I ran it in Google Chrome – help!
Thanks
@princehemo10
It’s really difficult to help as I don’t understand arabic and google translate isn’t much use in this situation.
It’s also unhelpful that there doesn’t seem to be an official arabic translation of buddypress ( or here or here )….
( https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/ )
Does it work with bp-default theme?
If it’s the premium theme from http://www.theme-junkie.com/themes/freshlife/ then they might provide support for it on their forum: http://www.theme-junkie.com/forum/
I had this problem and have finally solved it.
Here’s what I did:
1. deactivate all plugins except buddypress
2. change theme to default
3. backup your bb-config.php file
4. delete bb-config.php
5. backup /public_html/wp-content/plugins/buddypress/bp-forums
6. rename /public_html/wp-content/plugins/buddypress/bp-forums
7. download the latest version of Buddypress
8. upload new version of /public_html/wp-content/plugins/buddypress/bp-forums
9. upload rest of the latest version buddypress files
10. go to your dashboard >Buddypress > components >forums click to install group forums and it will create a new bb-config.php file
11. create a new group – DO NOT SELECT ENABLE DISCUSSION FORUM
12. save the group
13. go back into the group and select enable discussion forum
14. create a new topic for your new forum
15. If it works – check the other groups.
16 If the other groups don’t work – de-select enable discussion forum and save – then select discussion forum and save again – see if that helped.
17. change to your custom theme – double check again. You may need to redo step 16 for some of your groups
18. reactivate your plugins and check again – you may need to redo step 16
I know that seems like a lot of steps – and possible you could skip some of them – but that’s the exact process I used and it worked… woot!!
Good luck
Stef
I had this problem and have finally solved it.
Here’s what I did:
1. deactivate all plugins except buddypress
2. change theme to default
3. backup your bb-config.php file
4. delete bb-config.php
5. backup /public_html/wp-content/plugins/buddypress/bp-forums
6. rename /public_html/wp-content/plugins/buddypress/bp-forums
7. download the latest version of Buddypress
8. upload new version of /public_html/wp-content/plugins/buddypress/bp-forums
9. upload rest of the latest version buddypress files
10. go to your dashboard >Buddypress > components >forums click to install group forums and it will create a new bb-config.php file
11. create a new group – DO NOT SELECT ENABLE DISCUSSION FORUM
12. save the group
13. go back into the group and select enable discussion forum
14. create a new topic for your new forum
15. If it works – check the other groups.
16 If the other groups don’t work – de-select enable discussion forum and save – then select discussion forum and save again – see if that helped.
17. change to your custom theme – double check again. You may need to redo step 16 for some of your groups
18. reactivate your plugins and check again – you may need to redo step 16
I know that seems like a lot of steps – and possible you could skip some of them – but that’s the exact process I used and it worked… woot!!
Good luck
Stef
I had this problem and have finally solved it.
Here’s what I did:
1. deactivate all plugins except buddypress
2. change theme to default
3. backup your bb-config.php file
4. delete bb-config.php
5. backup /public_html/wp-content/plugins/buddypress/bp-forums
6. rename /public_html/wp-content/plugins/buddypress/bp-forums
7. download the latest version of Buddypress
8. upload new version of /public_html/wp-content/plugins/buddypress/bp-forums
9. upload rest of the latest version buddypress files
10. go to your dashboard >Buddypress > components >forums click to install group forums and it will create a new bb-config.php file
11. create a new group – DO NOT SELECT ENABLE DISCUSSION FORUM
12. save the group
13. go back into the group and select enable discussion forum
14. create a new topic for your new forum
15. If it works – check the other groups.
16 If the other groups don’t work – de-select enable discussion forum and save – then select discussion forum and save again – see if that helped.
17. change to your custom theme – double check again. You may need to redo step 16 for some of your groups
18. reactivate your plugins and check again – you may need to redo step 16
I know that seems like a lot of steps – and possible you could skip some of them – but that’s the exact process I used and it worked… woot!!
Good luck
Stef
I had this problem and have finally solved it.
Here’s what I did:
1. deactivate all plugins except buddypress
2. change theme to default
3. backup your bb-config.php file
4. delete bb-config.php
5. backup /public_html/wp-content/plugins/buddypress/bp-forums
6. rename /public_html/wp-content/plugins/buddypress/bp-forums
7. download the latest version of Buddypress
8. upload new version of /public_html/wp-content/plugins/buddypress/bp-forums
9. upload rest of the latest version buddypress files
10. go to your dashboard >Buddypress > components >forums click to install group forums and it will create a new bb-config.php file
11. create a new group – DO NOT SELECT ENABLE DISCUSSION FORUM
12. save the group
13. go back into the group and select enable discussion forum
14. create a new topic for your new forum
15. If it works – check the other groups.
16 If the other groups don’t work – de-select enable discussion forum and save – then select discussion forum and save again – see if that helped.
17. change to your custom theme – double check again. You may need to redo step 16 for some of your groups
18. reactivate your plugins and check again – you may need to redo step 16
I know that seems like a lot of steps – and possible you could skip some of them – but that’s the exact process I used and it worked… woot!!
Good luck
Stef