@mercime ty 🙂
An update: I wrote an article about child-themes and how to add/remove custom bootstrap styles:
http://theme.firmasite.com/child-theme/
I came across a file that I see has existed, but it’s not part of my BP install, which is the latest upgrade.
Here’s what is CRAZY! I googled the exact text in my activation email, because I’m trying to edit the text. the BP CORE-FILTERS.php file is close, but it’s not the exact text:
"Thanks for registering! To complete the activation of your account please"
The core-filters.php has "blog" in each of the thanks texts. But this isn't coming to me in my activation emails. Wacky! ;-)
Seriously, I have spent at least 2 full working days playing with this activation text issue, even trying plugin WELCOME PACK. How is this text from the subject slug getting into my activation emails? I see it NOT in my files, anywhere.
Here's the link where i see it.
NOTE AGAIN: There's a slight difference in the two "Thanks" Areas. But, in my current core-filters file, the two areas are the same. Neither exactly match my activation emails, the way this one does.
Help. It's giving me a major headache.
thx.
http://svn.buddypress.org/tags/1.2-rc/bp-core/bp-core-activation.php
jz
Use this code in your themes functions.php or bp-custom.php courtesy of @sbrajesh:
`
/**
* BuddyPress replaces the space with ‘-‘ which is not known to the user
* We remove the attached function to stop BP from circumventing the space in username
*/
add_action(‘bp_loaded’,’bpdev_remove_bp_pre_user_login_action’);
function bpdev_remove_bp_pre_user_login_action(){
remove_action( ‘pre_user_login’, ‘bp_core_strip_username_spaces’ );
}
//add a filter to invalidate a username with spaces
add_filter(‘validate_username’,’bpdev_restrict_space_in_username’,10,2);
function bpdev_restrict_space_in_username($valid,$user_name){
//check if there is an space
if ( preg_match(‘/\s/’,$user_name) )
return false;//if myes, then we say it is an error
return $valid;//otherwise return the actual validity
}
`
Add this to your themes functions.php or bp-custom.php:
`
/*
* Remove autolinks created in buddypress profiles
*/
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );
`
Avatar information is not stored in the database, but rather in the filesystem.
Check your WP uploads folder, followed by another folder called “avatars”.
Avatars use a hash followed by a suffix to denote the type of avatar.
eg.
`/wp-content/uploads/avatars/USER_ID/dfjkljlksjdflksjdklf-bpfull.jpg` -for full-size avatar
`/wp-content/uploads/avatars/USER_ID/dfjkljlksjdflksjdklf-bpthumb.jpg` -for thumbnail avatar
You could, in theory, use anything for the filename of the avatar. Just make sure the suffix is there.
Give that a shot.
@charlietech
What exactly do you mean by a facebook cover? Do you mean a landing page? If so try this tutorial by Patrick Cohen:
http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
LOL! I should have known this as I had EnGrande nacho’s at a mexican restaurant the other night but it didn’t click! Cheers!
@richoz
A simple way would be to use a language file:
https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
Personally on my own test site I used a function that removes the tab all together since the stream is unified between you and your friends and make this tab irrelevant.
Some more information which I missed to mention:
Default theme – default buddypress theme
Secondary – a responsive theme called BUDDY
Shortcode came from the secondary Buddy theme
A complete list of this short-codes could be found here
http://demo.ghostpool.com/buddy/features/shortcodes/
It does have a short code for showing the activty stream
on FrontPage but it does not include input text box with it
Open for suggestions how to implement the input text box 🙂
Can someone reply i’m freaking out!!! Can’t find the solution anywhere!!!
I’m currently working on a custom registration form where i want to apply an image upload as the users “avatar”. Registering it to a new meta key is piece of cake, the hard part is, how do i overwrite the “buddypress” avatar? The one that’s available from Profile -> Change Avatar?
I’ve searched the entire web for this and the only thing i find is how to change “default avatar” for all users. I want to register this for the current user only!
How are buddypress avatars saved when processing the “change avatar” action in profile->Change avatar ? Is there a meta key of some sort where i can save an image dir to?
@mercime the theme is supposed to be buddypress ready but isn’t and only works properly with the template pack. It’s a Themeforest theme called MADE
I’m using WP3.51 and the BP1.7 beta2
I’ve disabled all plugins leaving only BP and we still have the duplicated posts, it’s a real nightmare.
@studiomgr Have you tried this one yet:
https://github.com/bphelp/private_community_for_bp
It is only designed to block buddypress pages, I use it and it works good for me.
Hi all,
I posted this to the bbPress forums, but couldn’t gauge a response. Using site-wide forums within BuddyPress, and trying in vain to get alternating colors to function with zero success. I’ve found this: `ul#topic-post-list li {
background-color: #555555;
}
ul#topic-post-list li.alt {
background-color: #888888;
}`
But again, zero result. :/ Any help would be appreciated!
I have the same problem with all my pages being visible, even though I blocked them through wp-members settings. I tried installing this plugin, but I still have all pages visible – but now they have error messages. I have tried several plugins to no avail – wp-members was supposed to block pages, but that doesn’t work. I also used BP-registration options, but it doesn’t work well. I am looking at possibly trying the bp-custom.php fix suggested here: https://codex.buddypress.org/developer/customizing/bp-custom-php/. I am not a pro – just looking for the simplest way to create a membership site and block pages from users who are not members and logged in. Would appreciate any guidance! Thanks!
Hi,
Apparently our site nasconline.com (live, but still in the finishing stages) is not compatible with BuddyPress and we feel it would be an important asset for our Association.
Our template, One Source by Cremina and Theme Forest, is currently not compatible per the
designer of the site, We are using WordPress 3.51 and after reading about the new v1.7 coming out
very soon we decided to install and try to configure 1.7beta2 but we could not find a way to implement anything.
I had just come across a thread yesterday on the BuddyPress site about how to edit our header, footer, etc. PHP files so that BuddyPress would work but I couldn’t find it today.
Could someone please give us some directions on how to do this?
Yes, i just changed it and the post button was there, so now we just have to get it to appear in the BuddyPress Scholar theme, any ideals?
Don’t directly link to the ‘raw’ version of the pastebin code, we can’t easily edit to show revisions.
If you look at bp-default theme sidebar.php you’ll see examples of how user links , avatars etc can be rendered;Â you’re trying to run functions that are only populated from BP classes when on those component pages, so they will fail on normal WP pages.
This would get you the user name and link:
bp_core_get_userlink( bp_loggedin_user_id() )
In the buddypress menu on a users profile page. Where it has “Activity, Profile, Friends, Groups, etc.”
http://doodlesncompany.com/members/blythedockham/profile/
Got it thanks “privacy at large” definitely a popular feature set!
@ubernaut @bphelp Grande means large in Italian and Spanish. I just added “En” 🙂
Sorry, didn’t mean to make it connfusing. It’s the marketing side of me which added it, lol.
When trying to post a comment on the activity stream clicking the comment button does nothing. The favorite and delete buttons work fine.
I believe this is a theme issue and hoping you can point me in the right direction for troubleshooting. I have verified that it works fine with the bp-default theme.
Themes I’m using: Responsive Theme by Theme ID with the Buddypress Child Theme
Things I have tried that didn’t work:
Uploading _inc to the root of the theme folder
Copying the contents of bp-default activity folder into my theme
Website details:
-Linux VPS with apache
-Buddypress 1.6.5
-Wordpress 3.5.1
I recently upgraded from 1.6.5 – I thought I tested it in 1.6.4 and it was working fine, but not sure how to downgrade to test. Site is not live yet but this is the last thing to fix before I import from my old blog so I’m stuck.
Can someone please help me with this or point me in the right direction to troubleshoot the problem?