Forum Replies Created
-
In reply to: Questions about a new community project
1- need to create a website where users login
BuddyPress can do this but the rest of your requirements will either need to be custom coded or you’ll need to find a plugin because BuddyPress doesn’t have that functionality out-of-the-box.
In reply to: Where to put custom CSS for BP Child themeIn your child theme, you’ll have a style.css file. If you don’t then you can create one so your folder structure will look like this:
wp-content/themes/your-child-theme/style.css
In reply to: Solved – Customize the login page of wordpressThe Customizing Labels, Messages, and URLs article should help.
In reply to: Resend activation emailYou can trigger an activation email manually:
bp_core_signup_send_validation_email( $user_id, $user_email, $activation_key );You will need to get
$user_id,$user_emailand$activation_keybefore hand.In reply to: MembershipYou’ll probably need a plugin for that, or even custom code a solution because, by default, BuddyPress doesn’t give members the opportunity to create new pages.
In reply to: Solved – Customize the login page of wordpressCheck out the article on Page Templates.
In reply to: Ephemeral MessagesYou’d need to build a custom solution because I don’t think there’s anything available, at least for BuddyPress.
Take a look at the WordPress Transients API. That might help.
In reply to: Ephemeral MessagesSo there is no easy way to program around it?
What are you trying to do?
In reply to: Ephemeral MessagesPrivate messaging in BuddyPress is persistent (saved to the db). There is also “flash” messages but these are stored as a cookie and are removed after the page request.
Did you move WordPress? If so, check out the Moving WordPress article.
In reply to: Best gallery to use in BPThere are a few to choose from. I haven’t tried lately myself but these seem to be popular:
In reply to: Solved – Customize the login page of wordpressIf you’re having problems with Theme My Login, try Customizing the Login Form instead.
In reply to: Using wp_mail and emailsCan you instead use the
wp_mailfilter to change the message?add_filter( 'wp_mail', function( $array ) { // Set conditions here. $array['message'] = 'Change this'; return $array; } );That page is made up of template parts but you would start by editing your-child-theme/buddypress/members/single/index.php. If the file doesn’t exist you will need to create it. For more information check out the Template Hierarchy article
Ref https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
In reply to: Using wp_mail and emailsYou can change the content type of WordPress emails using the
wp_mail_content_typefilter:add_filter( 'wp_mail_content_type', function( $content_type ) { $content_type = 'text/html'; return $content_type; } );In reply to: I deleted my BuddyPress. NO!I deleted my BuddyPress
There’s 2 parts to BuddyPress. There’s the database and then there’s the files and folders.
If you deleted the database then you’ll need to use a backup. If you’ve deleted the BuddyPress files and folders only, then you can just upload them and everything should work again.
Hi Christopher,
I’ve not seen this done before probably because of the issues it would create with reference to duplicate content.
That’s not to say it isn’t possible but my guess is it won’t be easy.
In reply to: Sorry, you are not allowed to access this page.Nice one r-a-y!
In reply to: Sorry, you are not allowed to access this page.Are you logged in as a network admin or just a plain admin?
In reply to: User comments moderationI think you will need to build this because I haven’t seen a plugin that can do it and this kind of functionality isn’t in core.
In reply to: Solved – Customize the login page of wordpressThe Theme My Login plugin will let you do this. I’ve used it successfully with BP many times.
In reply to: Sorry, you are not allowed to access this page.It could be an authentication issue. Try clearing your cookies.
Are you using a plugin? Registering via Facebook isn’t possible with BuddyPress by default.
In reply to: Modify activity output in entry.phpYou can use the get_post_type() function. For example:
if ( get_post_type( $post_id ) === 'post' ) { // This is a "post" post } else { // This isn't a "post" post }It’s also helpful to know the default post type names:
- post
- page
- attachment
- revision
- nav_menu_item
In reply to: Show Recipient’s Avatar during Private MessageI believe bp_the_thread_message_sender_avatar() is what you are looking for in https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/messages/message.php