I have BuddyPress integrated with bbPress.
Maybe I should I left it alone, but in bbPress I changed the slugs:
Forum Root (from “forum” to “community”)
Forum (from “forum” to “discussion”)
The new urls work fine in bbPress.
mysite.com/forum/forum/a-topic/
…is now…
mysite.com/community/discussion/a-topic/
But in the activity streams in BuddyPress (sitewide and user), some of the the update links to these forums are broken. Some links go to the new urls, but some still go to the old urls (leading to 404 errors).
I used both tools in admin for repairing indexing in both bbPress and buddyPress (several times), with no luck.
Any suggestions on how to fix this?
I thought about changing bbPres slugs back, but then I’m concerned there will still be broken links.
Thanks for any suggestions.
I am sorry but I don’t know much about buddypress. Could you tell me exactly what you want me to get you? Here is the screenshot of the settings page: http://screencast.com/t/IrGOsR58r
I am using Buddypress plugin on my site haveing Bangkokpress theme and when I hit the add friend button to add someone it gives me this error “Friendship could not be requested.”
I also checked it with different themes, still have the same error.
Please help me fix this.
Here is the URL of the site: http://bit.ly/1G1xx3O
Hi @mastodontmedia
Look into using the bp_after_has_members_parse_args filter. I think it’ll let you override the meta_key and meta_value params. That may help you do what you want?
See here for a tutorial on how to use the filter.
Wide subject and several answered on this forum.
Askimet covers comment spam and doesn’t avoid clever spam bots to hit directly the DB.
Basic recommandation is to use table prefix different of the classic wp_. This calms down most bots.
A closed door is always a challenge for any spammer. WP is not fort Knox and depending your host, what YOU did and many other security details, this has no end in fact. If your site is Facebook, you’ll probably receive more spam than if it would be mykittycat homepage. Glory has a price ! 😉
Some htaccess rules against reputated spam server and one or to plugins aside what exist natively in WP should be enough to protect you a little from massive spam.
For example: buddypress honeypot + ban hammer for BP
or more simple and rought
http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/
… + searching this forum, maybe you can find more tips. 😉
You just need an existing user_id.
He an example where you get a field value to add in a custom action in one of your template.
function bpfr_field( $custom_field ) {
global $bp;
// is xprofile component active ?
if ( bp_is_active( 'xprofile' ) )
// fetch the user_id
$current_user = wp_get_current_user();
$current_user_id = $current_user->ID;
// fetch the data
$custom_field = xprofile_get_field_data('42', $current_user_id); // 42 is a field ID
// show the data
echo '<div class="authorinfo">'. $custom_field . '</div>';
}
add_action( 'myfield', 'bpfr_field', 1 );
Then, add this at the appropriate place in your template <?php do_action( 'myfield'); ?>
Another example, which you can add at the begin of a custom function.
global $bp;
// Check if the Activity component is active before using it.
if ( ! bp_is_active( 'activity' ) ) {
return;
}
if( bp_is_user() && ! bp_get_member_user_id() ) {
$user_id = 'displayed: '. bp_displayed_user_id();
} else {
$user_id = 'get_member_user: '. bp_get_member_user_id();
}
// your stuf here
Note that both examples use global $bp, a check for active component with a different usage for a same result: if not active, the function will do nothing. This allows you to deactivate a component without throwing a warning or a php failure despite the function is in your theme, bp-cutom or plugin.
Ok after some thought (i dont have a clue if this can be done ) but is there anyway that you could upon clicking the buddypress tab ‘profile’ (for example) on a members page you could have it anchor to a specific part of the page after it refreshes the page? Let me explain why, the reason i ask is that to get to the profile tab on a members page involves scrolling a little down my page, so upon clicking the profile or any other tab on a members page it will refresh the page and jump back to the top making you have to scroll back down to the subnav that is just out of view.
So the question is this, could i make each of the top level navigation tabs after being clicked and the page reloads anchor back down to the corresponding sub nav tab?
I hope this explains exactly what im trying to say haha, if it can be done can you give me any clues as of how to do this?
A quick follow up question…
Can I echo the xprofile_get_field_data fields elsewhere in WordPress (outside of Buddypress) in the same way?
ie :
$location = xprofile_get_field_data( 'Location', $user_id );
echo $location;
Obviously replacing user_id with the numeric user id.
@mrgiblets i once recall downloading lots of various ajax all plugins and testing them but i noticed that alot of things could easily break for me due to the plugins i use, maybe worth trying it again? what is the issue with messaging with that plugin?
@danbp i understand what your saying but maybe just have all the default tabs ajaxed? if this was the case plugins that create new tabs within buddypress would have to follow suit, no?
@henrywright yes im gonna take a look later through the link you posted.cheers
Hey guys,
I’ve been developing wordpress powered sites for years, sometimes I build them locally and other times I build them live (depending on what I’m doing).
I’m currently building my first BuddyPress powered site (live) and I have noticed a serious amount of spam accounts signing up every time that I leave “anybody can register” open.
I’ve never seen this before with any other wordpress site that I’ve built online.
I never use Akismet or any other kind of anti-spam filter in WP as I’ve never thought the spam account problem was serious enough to warrant it, but I’m 100% going to need one with this BP powered site because it’s getting out of control before anybody even knows the site is out there. (I’ve told WP not to index the site on search engines while I’m building it).
So a couple of questions….
1) Are you guys getting a large amount of fake spam accounts on your sites as well?
2) If you are using a plug-in to prevent spam, which one are you using and does it work ok?
3) Does anybody know what it is about a Buddypress install that is encouraging all of the spam bots through the door?
The site i’m currently developing with Buddypress (my first buddypress site) is totally Ajaxed using Ajaxify WordPress Site Pro.
All profile tabs are now ajaxed as well as everything else.
There is a small issue with messaging but the plug in developer is fixing that as we speak.
You can directly search in BuddyPress with notepad++ or a similar tool.
Or online, here:
http://phpxref.ftwr.co.uk/buddypress/nav.html?_functions/index.html
Also by in-depth reading the codex.
Hey @mcpeanut
I don’t think there’s any reason why these shouldn’t have ajax functionality. It may well be planned, but I’m not sure? Take a look through the open Trac tickets to see if anything is in the pipeline.
Please don’t double post !
Closing this topic which can be continued here:
https://buddypress.org/support/topic/mentions-suggestion-js-problem/
I’m just wandering why certain parts of buddypress has been made to ajax quite well such as the tabs on the sitewide-activity page and the members search area etc, but why has this not been integrated in the profile pages too? because clicking any tab on a users profile reloads the page and kicks you back to the top? can these also be made to use ajax?
i was maeing i havent got this issue before i activated Buddypress not BBpress sorry for confusing
Please read here, as you have to debug your install.
Are all pages assigned to BP components ?
Have you same issue with Twenty Fifteen or one of the other WP default themes ?
Note also that you got that issue after activating bbPress, which has his own support.
And as you use a premium theme, we can’t help you much here, as we have no free access to it’s code.
No, that code didn’t work either – but this does:
.group-button .leave-group {
display:none !important;
}
and this removed the container it was in so you don’t get left with a 26px gap:
.buddypress div#item-header div#item-header-content #item-buttons {
height: 0px;
}
Not perfect or the correct php way but it is a solution for those that can’t make the first one here work.
Cheers.
Hello
I have finally get Buddypress installed but after i have done that its like my browser is freezing everytime im going in to some Buddypress related sites like member pages and Activity page.
http://www.playstationforum.dk/members/nistelroy78 <– My profil page
or just activity page http://www.playstationforum.dk/activity/
I have follow installed.
1. WordPress 4.11 Installed
2. Buddypress 2.2.1
3. Add Meta Tags
4. Advanced Excerpt
5. Advanced Responsive Video Embedder
6. Akismet
7. bbPress
8. bbPress Votes
9. bbp style pack
10. BuddyPress
11. Code Snippets
12. CodeStyling Localization
13. CodeStyling Localization Preserver
14. Customize Posts
15. Disqus Conditional Load
16. Disqus Recent Comments Widget
17. Enhanced Media Library
18. GD bbPress Tools
19. Jetpack af WordPress.com
20. Kraken Image Optimizer
21. Live Stream Badger
There wasnt any load issue before i installed bbpress and its only on the bbpress releated sites.
I Use ThemeFuse GameZone.
The only reason why I started this topic was because I spoke to a WordPress representative and as I’ve done here, after explaining the issues to the rep, they said for me to get in contact with the creators of the plugin that allows me to do all of these news feed configurations so I assumed it was through here, BuddyPress. And I already was reading through the Codex, videos tutorials, support forums and speaking to numerous amounts of representatives and didn’t get anywhere. But okay, I will try reaching out to the creator of the Vipress theme and hopefully get my questions answered. Thank you.
I told about BuddyDrive because you have a download button aside a description written in french. And that plugin author is french, like me. And i’m a user of this plugin….
You use a premium theme, and we can’t help you much here if you have an issue with it. As we have no free access to it’s code.
As site admin, you can configure the registration form and add some description if you need some near a field.
Go to dashboard > users > profile fields
If you need some more details about BuddyPress feel free to read the Codex. And don’t hesitate to ask your theme support.
Have a nice day too.
@danbp
I understand everything that you’re saying, but everything that you’re saying through here is still not resolving my issue to get the registration process to work on my site. I am not allowing just any random person to upload to my server with random documents if I am not only having them labeled as “Authors” (where they are able to edit their OWN profiles and edit their OWN posts, so on and so forth) and not as “Administrators” (where a person has control to change up EVERYTHING on the site and the server), but also for the fact that this Vipress theme was created to be compatible with BuddyPress, therefore, allowing people to be able to create a profile with, in this case, the MyLoopNetwork.
As far as with the whole newly register user, I already know to keep in mind about who I allow to become a member for I am constantly checking the back end of my site on a regular basis. All I’m trying to do is create my own version of a website where users can sign up as a new user, create their own profiles, update their posts, upload their own pictures, connect with other MyLoopNetwork users, create groups that people can join, and pretty much build up on their own news feed through their profiles without conflicting with any sections or areas of the overall site.
I don’t know anything about this BuddyDrive plugin that you have mentioned, but for the record, this is my first WordPress website that I’ve been working on for months and I’m trying to learn as much as possible. I’m just trying to get some assistance on how to resolve certain issues that came across my way with configuring this particular theme. So with you saying, “You’re talking about pdf, doc and docx, but on the register page nothing appears about what type of file they have to upload (as it is required) and for what !” that’s what I’m trying to explain to you. That’s what pops up on my end and on other people’s end that are trying to create their own MyLoopNetwork profile, so therefore, I do not have any control over that, for I wasn’t the one that created that coding for it to show up that way. And then you was saying, “‘Here you’ll be able to upload images. Try it out now!’ is a bit vague.” you will have to ask the creator of this Vipress theme and ask them why they have it set that way because, once again, I am NOT the one that created this theme, and this is how it automatically showed up on the registration page when people were trying to create their profile. So unless you’re going to actually give me a full detailed, step-by-step guide on how to resolve the issues that I’m trying to fix, I thank you for your time and patience and I hope you have a good day.