Below you’ll find a bb/wordpress based website I’ve been working on.
I just have an issue that I can’t seem to fix.
Whenever a user favorites a post or such the website redirects to a 404 page not found error page.
Would anyone who is experienced in this field be able to help?
Thanks in advance,
Here is the website: http://www.ifmsa-jo.org/justlc/
yep I confirm I retried a fresh install of wordpress with a new db; I only install BP from within the admin – no specific options during the install -I choose the default BP theme and same problem happens.
I can’t find a ticket, but I’m pretty sure it’s come up before somewhere — probably buried in the depths of trac…
Roger’s solution would be to modify Post and Page activity items to link to the ?p=… link format; those do a canonical redirect to the “real” URL, so such a change wouldn’t affect search engines.
However, we’ve finished work on BP 1.6. We’re going to put out a release candidate very very soon, so this issue would have to be considered for a future version of BuddyPress.
@dvd3141 If you can make an enhancement ticket on https://buddypress.trac.wordpress.org/ so this isn’t forgotten about please. 
Yes, the activity stream items are created at the time a post is created, so the bug is explicable. Surprised it’s not been encountered before ( @djpaul – have you noticed this previously? ).
I suspect the best solution is to store the links in the activity stream in a ‘permalink neutral’ way, and then apply a filter that ‘adds’ the current permalink structure to them when they are displayed / accessed.
If I change the permalinks setting in WordPress Settings / Permalinks, then all previous BuddyPress activity updates become broken. For example, “Joe Bloggs wrote a new post ‘New Post’ — the link to New Post still uses the old permalinks structure, and results in a 404 error.
Anyone else seen this happen? Is there a simple fix?
Not possible. BuddyPress doesnt’ use WordPress user roles or capabilities, so I don’t think we can do this granularly at the moment.
Hi : congrats for your work.
1 . The Group Creation Wizard creates a loop : first step – group details – completes and the next step button links you to a blank page with another next step button – then wordpress crash with “do you really want to do this /try again” message.The Group Details are saved though and can be modified from the admin panel.I tried to browse every forum related to group creation problems and tried everything , on fresh installs with the unaltered BuddyPress Default theme.and the bbpress URI thing does not seem to work either.I tried to remove all steps but the Group Detail step but I’m not that good.
2 . Forum topic creation does not work within BuddyPress; fresh install, no worksey.
I could definitely use a fix !
Can anyone help me out with this ????
Hi,
The error log I posted encompasses the errors that have been generated while I was micking around with reinstalling buddypress and bbpress.
I have both bbPress and Buddypress installed currently, and I also have the Activity Streams component enabled.
However, a ticket from way back three years ago explains what I think the problem is. https://buddypress.trac.wordpress.org/ticket/241
If I go to my profile, and post an update on my profile, this gets saved in bp_activity. But anything new topic creation or reply on my bbPress forum, it DOES NOT get saved in that table. So it looks to me that stuff created in the BuddyPress side gets saved in bp_activity, but stuff from the bbPress side do not.
Is there any way so that user activities from bbPress gets saved to this BuddyPress table?
=========
== EDIT ==
=========
I have tried deactivating all plugins apart from bbPress and BuddyPress. Also, switched to the theme that came with BuddyPress. SiteWide Activity Stream is still limited to just BuddyPress activities.
Note that I have User Groups and Discussion Forums (within Groups) DISABLED, which is how I do want it, as we want the community as simple and straighforward as possible while still enjoying the awesome features like messaging from BuddyPress
I also imagine that if I were to create Groups in BuddyPress, and then post messages in Forums of that Group, it will get posted to the Activity Stream. But I really do not want Groups.
I understand that this may very well be how the plugin was designed to work, but this is a plea for a little help now 
No, where your navigation is ( most probably in header.php ), place the last code snippet i posted.
Don’t install the plugin i posted, it was simply to give you an idea of the bp member links
sorry , i didnt get it , if the plugin is activated and i paste this second code somewhere in the theme it will show that menu?
1. WordPress Version 3.4.1
2. WordPress NOT on a subdomain
3. WP installed on root of domain
4. Not an upgrade.
5. WordPress was functioning pre-Buddypress, and it still is as far as I can see.
6. BP Version 1.5.6
7. I did not upgrade BP.
8. I have lots of other plugins, ones that are concerned with BP are bbPress, BP Sitewide Activity Widget
9. I am using a BP theme that came with Tersus theme, which got auto-detected in the setup wizard
10. I have not modified the core files.
11. I do not have custom functions in bp-custom.php?
12. bbPress Version 2.1. I installed it via the Plugin manager.
13. error_log http://pastebin.com/hJAmK8YY
14. Hosting provided by Ventra IP
15. Server: LAMP
In the community site that I am trying to set up, the landing page is one of the most important to the client. I couldn’t find any other way to set up what he wants apart from using Sitewide Activity Widget plugin. http://buddydev.com/plugins/buddypress-sitewide-activity-widget/
However, when I insert the widget that this plugin installed, the activity stream looks to be empty. I go into phpMyAdmin, and notice that the tables prefix_bp_activity and prefix_bp_activity_meta are both empty. I try and do something (anything) in the forums then check the table, nothing is being added to those tables.
The plugin i posted was a guide line, place this somewhere within your theme: http://pastebin.com/JLjMynR0
If the user is logged in, it will show up. It is a link to the users @Mentions
unfortunately none of them worked 
WP themes which are updated to latest WP versions like Twenty Ten and Twenty Eleven plus BuddyPress’ own bp-default theme have custom menu functions you’ll find in Appearance > Menus.
Just create a link named “Community” and add whatever links you want under it.
e.g. for bp-default theme or its child theme https://codex.buddypress.org/extending-buddypress/how-to-set-up-your-main-site-navigation-using-the-built-in-wordpress-menus/
@mercime, I am using the standard default template and have gone into the general settings of wordpress and checked the box for anyone to be a subscriber. Still nothing.
@hornet1968 if you’re using a WP theme, you also need to install/activate the BP Template Pack plugin and go through Appearance > BP compatibility process. We have a list of “template-packed” WP theme near the bottom of this page https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
User levels were replaced by roles in WP 2.0, and were deprecated in 3.0 — so, checking wp_user_level and such like shouldn’t be relied on
https://codex.wordpress.org/User_Levels
Okay guys I went to the wordpress settings page and check the box which says anyone can register and now i go this nice side bar on my site as it is in the picture below which allows my front-end users to login and register but the problems I am facing with this is that if user types the wrong password, then wordpress takes them to it’s old fashion page where they see that login box and it says I am not accepting the password and my users from there have to reset password and so on. So my objectives are as follow:
Sorry for not being so clear but my objectives are:
1.) add a reset username/password fields to appear in sidebar instead of going to wp-login page.
2.) if the username/password were wrong, link it back to my own page and saying its wrong instead of going to wp-login page.
Here are the links to my pictures which explains my problem.
Image 1: http://imageshack.us/photo/my-images/825/picture1whatididwas.jpg/
Image 2: http://imageshack.us/photo/my-images/401/picture2whatiwantis.jpg/
Image 3: http://imageshack.us/photo/my-images/607/twant.jpg/
hi,,
global $current_user;
get_currentuserinfo();
$userLevel = $current_user->wp_user_level;
switch ($userLevel){
//https://codex.wordpress.org/Roles_and_Capabilities
case 0: $_SESSION = 2; break; // member
case 1: $_SESSION = 2; break; // Contributor
case 2: $_SESSION = 1; break; // author
case 3: $_SESSION = 1; break; // author
case 4: $_SESSION = 2; break;
case 5: $_SESSION = 2; break;
case 6: $_SESSION = 2; break;
case 7: $_SESSION = 2; break;
case 8: $_SESSION = 0; break;
case 9: $_SESSION = 0; break;
case 10: $_SESSION = 0; break; // admin
default: $_SESSION = 3; // guest
}
and read this https://codex.wordpress.org/Roles_and_Capabilities
This was from a plugin I developed for a site, you should find just about everything you need in there, and if not have enough of an understanding to fill in any ones that aren’t covered: http://pastebin.com/xC1jd4vv
also check out: http://wpmu.org/daily-tip-how-to-add-all-navigation-links-to-the-buddypress-admin-bar/
and: https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
next time wait a day, I’d say that’s the average response time, if it’s sooner, be grateful!
Are you being serious? You are asking just 1 hour later, why no-one has responded to your question?
You can’t add conditional menus / menu options via the WordPress menu settings in wp-admin.
If you want conditional menus, and those with PHP driven dynamic links (e.g. changing for the current user), you will have to code them in your header / navigation templates.
Are you using a plugin to create your user levels? If so, which one? WordPress supports roles and capabilities for users by default, but doesn’t have numeric levels.
If s2member have a look at their documentation for if queries on member level.
@b1gft there are a couple of simple ways to go about deleting “freshness” from group forums
1. Simplest of the rest -> Just add the following at the bottom of your theme’s style.css file
`span.time-since { display: none !important; }`
or 2. Copy over https://buddypress.trac.wordpress.org/browser/tags/1.5.6/bp-themes/bp-default/forums/forums-loop.php to your themes /forums folder, open it up and delete line #85
or 3. filter bp_the_topic_time_since_last_post in functions.php