AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] Email Template Logo and images are not showing

2 Posts
2 Users
0 Reactions
1,999 Views
Posts: 1
 kool
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@kool)
New Member
Joined: 7 years ago
[#9776]
 
 
Hello,
 
My Email setting is not working see: Forum Settings = Email
 
1. The welcome email is showing error code in the new member email box
2. Logo is not showing email
3. I want to edit all email template ... correction now working
 
See attachment 
 
and see 
 
<img class="alignnone size-full wp-image-3062" src="https://ipadewa.com/wp-content/uploads/2019/08/logo-newa.png" alt="" width="340" height="80" />

&nbsp;

Dear [user_login],

Congratulations!

You have successfully joined ipadewa.com.

ipadewa.com is a forum and a platform where people all over the world share
their views and reviews on products and services across all industries.

Here is your Username: [user_login]

To set your password, click the link below. Or copy it on as address bar of a
browser

[set_password_url]

Thanks

Support Team
ipadewa.com


1 Reply
Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @kool,

Sorry for the late response. 

Some HTML tags are not allowed in the email content. You should add the following code in the active theme's functions.php file to allow the images to be included in the content: 

add_filter('wpforo_kses_allowed_html_email', 'custom_wpforo_kses_allowed_html_email');
function custom_wpforo_kses_allowed_html_email($allowed_html){
if( !wpfkey($allowed_html, 'span') ) $allowed_html['span'] = array();
if( !wpfkey($allowed_html['span'], 'style') ) $allowed_html['span']['style'] = array();
if( !wpfkey($allowed_html, 'img') ) $allowed_html['img'] = array();
if( !wpfkey($allowed_html['img'], 'src') ) $allowed_html['img']['src'] = array();
if( !wpfkey($allowed_html['img'], 'width') ) $allowed_html['img']['width'] = array();
if( !wpfkey($allowed_html['img'], 'height') ) $allowed_html['img']['height'] = array();
return $allowed_html;
}

Share: