Skip to:
Content

BuddyPress.org

Opened 3 years ago

Last modified 13 hours ago

#8561 reopened enhancement

Allow Custom Logo in Email Header, and allow Header and Footer to accept HTML Content

Reported by: gamicord's profile gamicord Owned by:
Milestone: Priority: normal
Severity: normal Version: 9.1.1
Component: Core Keywords: needs-design-feedback
Cc:

Description

I downloaded and installed a simple Email Template plugin that I like. Here’s the link– (https://wordpress.org/plugins/email-templates/)

The only difference between that one and BuddyPress is that it let’s us add our Custom Logo: which is good for branding.

1.) Can BuddyPress add this functionality to make it possible for us to add our Logo by default?

2.) Can BuddyPress make it possible for the Header to accept HTML Content?

This will be good for us to achieve more flexibility and control.

If BuddyPress will take it a step further, it should make it possible for us to pull dynamic Content into the Header and Footer, and then be able to style these with plain CSS.

a.) Add icons or Logo to Email Footer.
b.) Add your Social Media handles to Footer.
c.) Move the “Subscribe” text to Left, Middle or Right position.
d.) Use HTML on Header and Footer, to add certain elements like Dashicons, Font Awesome icons, and so on.

e.) Make the Email Template a Drag-and-Drop Feature built with Blocks, and can be saved as Email Templates.

Thanks for your understanding in implementing this request.

Change History (16)

#1 @imath
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Hi,

You can already achieve a, b, c, d by overriding the email template from your active theme. You simply need to copy the bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php file into a /buddypress/assets/emails/ directory of your theme. Once there you can do your edits.

About e) I believe we'll first try to do this for regular BuddyPress content when the WP FSE feature will be stable enough. I'm unsure we'll do it for email templates. Of course if someone want to contribute to BuddyPress to add it, we'd be very happy.

#2 @gbordormor22
13 months ago

Your answer is helpful, but not very helpful.

What this means, is that-- for those who are strong Developers and can write PHP, and know much about Template overrides, your answer would have led them on the right path of how to solve their problem.

But for those who are Dummies, and know nothing about writing the first line of PHP, and know nothing about Template overrides, your answer will leave them more confused and lost than ever.

I am asking for a default feature in BuddyPress Core-- where we don't need to do anything extra to get our BuddyPress Email Header to natively accept our Site Logo either through Tokens or Short tags like {site_logo}.

You see, in WordPress, we simply go to Customizer. And under Site Identity, we choose Site icon, Site Logo, Tagline and all such--- without needing extra Code snippets, Template override and any other whatnots.

I am asking that BuddyPress 12.0 should function in similar way-- where in the Settings, we should just normally add Static or dynamic contents like {site_logo} in the Header, and this should normally fetch the Site Logo, without us needing extra Code snippets, Template override and any other whatnots.

Since May 2009 of BuddyPress' release, this is 14 Years that BuddyPress has been serving us plain Email Header.

in BuddyPress 12.0, this stance should change. It's time for BuddyPress to advance and evolve its Email Templates, and give us ability to now add our Site Logo in our Email Header, as well as the ability to add Site Logo and other dynamic contents to our Email Footer as well.

2.) I saw this Code on Github---- https://github.com/imath/bp-email-header-logo/blob/master/bp-email-header-logo.php

is this Code still relevant for BuddyPress 12.0 ? --- and can I insert it into my Live website to have the Email Header Logo on my BuddyPress 12.0 powered website?

#3 @gbordormor22
13 months ago

  • Resolution maybelater deleted
  • Status changed from closed to reopened

#7 @ecemem
5 weeks ago

I am also saying for a default feature in BuddyPress Core-- where we don't need to do anything extra to get our BuddyPress Email Header to natively accept our Site Logo either through Tokens or Short tags like {site_logo}.

You see, in WordPress, we simply go to Customizer. And under Site Identity, we choose Site icon, Site Logo, Tagline and all such--- without needing extra Code snippets, Template override and any other whatnots. https://zxcycs.top
https://dazlao963.top
https://myboyapk.top
https://onlinekredite.top
https://bershkaziuspmall.top
https://chanrausach.top
https://chengshijiazu.top
https://hydraruscpznew4af.top
https://hydraruzapsnew4af.top
https://manjugarik.top
https://markethelper.top
https://sushi-time.top
https://hilaryshaw.top
https://moneyeasily-ddh.top
https://psju.top
https://qlre.top
https://xdki.top
https://adstricks.top
https://buysynthroid10.top
https://buytenormin7.top
https://coupedumonde.top
https://fineblog.top
https://k8games.top
https://myactos7x.top
https://myprotonix7x.top
https://nmox.top
https://prednisone4all-365.top
https://tongshengkeji.top
https://footmercatolive.top
https://hydra2020.top
https://hydraruzxpznew4af.top
https://rjjy985.top
https://lgvhm.top
https://b01node.top
https://provera2016.top
https://readthese.top
https://reklamevirale.top
https://bitofast.top
https://crestor8.top
https://loansforbadcredit.top
https://prozac4.top
https://retina15.top
https://seanonline.top
https://tadalafil1.top

#8 @inamototok
5 weeks ago

in BuddyPress 12.0, this stance should change. It's time for BuddyPress to advance and evolve its Email Templates, and give us ability to now add our Site Logo in our Email Header, as well as the ability to add Site Logo and other dynamic contents to our Email Footer as well.

https://coincultureblog.shop/
https://citytrendguide.shop/
https://citypulsehub.shop/
https://chicclickers.shop/
https://brightvibes.shop/
https://bookshelfchronicles.shop/
https://bookbrowsedaily.shop/
https://bookboundaries.shop/
https://bookbanterblog.shop/
https://blockchainview.shop/
https://forwardmerchantfunding.com/
https://chamberlainfunding.com/
https://blockchainbuzzblog.shop/
https://blockbloggershub.shop/
https://allinfos.shop/
https://digitaldispatches.shop/
https://localwaveblog.shop/
https://localvibesnow.shop/
https://localspotlightnow.shop/
https://localpulsetalk.shop/
https://localloopblog.shop/
https://localfocusnow.shop/
https://livelounge.shop/
https://learningmore.shop/
https://infinitefocus.shop/
https://giftsgala.shop/
https://freshreadsblog.shop/
https://freshgrocer.shop/
https://fashionfusionnet.shop/
https://fashionflexdaily.shop/
https://everydaypulse.shop/
https://everydayelevations.shop/
https://enlightenup.shop/
https://digitaldiversionhub.shop/
https://cryptowavehub.shop/
https://cryptotrendstalk.shop/
https://cryptocompasshub.shop/
https://cryptoclarityhub.shop/
https://cryptocanvas.shop/
https://coinviewnet.shop/
https://cryptoculturenow.shop/
https://coinspherehub.shop/
https://coinbuzzhub.shop/

#15 @forcepills00
25 hours ago

Hello!

You're advocating for a built-in feature that allows BuddyPress users to easily customize email headers and footers (e.g., by adding site logos dynamically) through the WordPress Customizer or BuddyPress Settings, without requiring code snippets or template overrides.

This suggestion makes a lot of sense because:

Ease of Use: Many BuddyPress users aren't developers and find it difficult to implement such features manually.
Modernization: Email templates that align with WordPress' native features, like using {site_logo} tokens, would bring BuddyPress closer to modern usability standards.
User Experience: Enhancing email templates with logos, site branding, and dynamic content improves the branding and professionalism of BuddyPress emails.

If this isn't already on the roadmap, I recommend raising a feature request on the BuddyPress Trac or discussing it in the BuddyPress Slack/Forums. Community-driven ideas like yours often spark valuable enhancements.

The code you referenced (bp-email-header-logo.php) on GitHub by imath adds the site logo to BuddyPress email headers. Here's an analysis of its relevance:

Compatibility with BuddyPress 12.0:

At its core, the code hooks into BuddyPress' email system using filters like bp_email_set_content_plaintext and bp_email_set_content_html. These filters are still valid in BuddyPress 12.0, so the code is technically compatible.
However, you should test it on a staging environment first, as there could be minor compatibility issues depending on your WordPress version, PHP version, or theme.
How It Works:

The script retrieves the WordPress site logo using get_custom_logo() (as configured in Appearance > Customize > Site Identity) and injects it into the email header. If no logo is set, it uses the site title as a fallback.
Steps to Use the Script:

Download the bp-email-header-logo.php file from GitHub.
Upload it to your WordPress installation under /wp-content/plugins/.
Activate it via Plugins > Installed Plugins in your WordPress admin dashboard.
Limitations:

While this script solves the immediate issue, it is a stopgap measure rather than a core BuddyPress feature.
It lacks a user-friendly interface for further customization (e.g., changing logo size or alignment directly from the admin dashboard).

Last edited 25 hours ago by forcepills00 (previous) (diff)
Note: See TracTickets for help on using tickets.