#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Images in System Em...
 
Share:
Notifications
Clear all

[Solved] Images in System Emails?  

    Last Post
RSS

Glowball
Posts: 54
 Glowball
Topic starter
January 1, 2020 3:43 am
(@glowball)
Trusted Member
Joined: 4 years ago

I'd like to add a couple images to be sent with emails (such as the email for a new topic reply).  I add the images to the template in Settings -> Emails by using the Add Media button.  Everything looks great and I click Update Options.  Then the images are stripped from the email.  What am I doing wrong?  Thanks!

Topic Tags
emails images setup
6 Replies
Sofy
Posts: 3775
Sofy - Facebook Sofy - Twitter
 Sofy
Admin
January 6, 2020 9:04 am
(@sofy)
Support Team
Joined: 3 years ago

Hi @glowball,

Please send the admin login details to info[at]gvectors.com email address. I'll ask developers to check the issue for you. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Glowball
Posts: 54
 Glowball
Topic starter
January 6, 2020 1:45 pm
(@glowball)
Trusted Member
Joined: 4 years ago

Hi Sofy, sending my admin credentials via email to a shared inbox seems like a pretty bad idea.  Is there another way?  

It sounds like the images are supposed to stay, which is good to hear.  

4 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3775
Sofy - Facebook Sofy - Twitter
January 6, 2020 1:58 pm
Reply toGlowballGlowball

@glowball

let me ask the developers about the issue. I'll update the topic asap. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Glowball
 Glowball
(@glowball)
Joined: 4 years ago

Trusted Member
Posts: 54
January 6, 2020 2:03 pm
Reply toSofySofy
Glowball

@sofy Much appreciated, thanks!

Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3775
Sofy - Facebook Sofy - Twitter
January 7, 2020 7:43 am
Reply toGlowballGlowball
Sofy
Glowball

@glowball,

Please try to add the following code in the active theme's functions.php file and check again: 

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, 'img') ) $allowed_html['img'] = array();
if( !wpfkey($allowed_html['img'], 'style') ) $allowed_html['img']['style'] = 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();
if( !wpfkey($allowed_html['img'], 'alt') ) $allowed_html['img']['alt'] = array();
return $allowed_html;
}

Please let us know if it doesn't help.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

VereK liked
Glowball
 Glowball
(@glowball)
Joined: 4 years ago

Trusted Member
Posts: 54
January 7, 2020 1:44 pm
Reply toSofySofy
Glowball
Sofy
Glowball

@sofy  I added this filter and tried to add an image to the email template, and it stuck.  I think we're good to go -- the filter did the trick.  Thanks so much for your help!!!

  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Images insertion with copy/paste
    5 months ago
  • Is there any way to alter the email shortcodes with out altering the core of the plugin?
    7 months ago
  • Help 4 a new user
    1 year ago
  • Uploading and Embedding images
    2 years ago
  • Cómo subir fotos y vídeos y que se vean en el post
    2 years ago
Topic Tags:  emails (2), images (8), setup (2),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages  wpforo-advanced-attachments-128x128  wpforo-embeds-128x128 wpForo User Custom Fields addon  wpForo – Blog Cross Posting addon  wpForo Ads Manager
View all Addons »

Recent Topics

  • Subscribing through the subscription manager in some cases doesn't update the "subscribe to topics" button on forum

    By afreymuth, 10 hours ago

  • a little problem, I need help, thanks

    By adultwork, 12 hours ago

  • How to configure: When click on Topic it goes to 1st page (Topic starter)

    By nalin_duminda, 14 hours ago

  • Seeking assistance solving new users not getting a confirmation emails on WP Multisite

    By Hansie, 15 hours ago

  • White text on White background...again and again...

    By Morosirus, 20 hours ago

  • display a shortcode in the category description

    By mazohho, 21 hours ago

Topic Tags

  • new features43
  • seo39
  • translation36
  • plugin conflict35
  • forum33
  • buddypress31
  • login31
  • threaded layout30
  • registration29
  • ultimate member28
  • moderation27
  • editor25
  • avatar24
  • shortcode24
  • css23
  • tags22
  • menu21
  • migration20
  • url20
  • profile20
View all tags (1474)

Recent Posts

  • RE: Fatal error:

    @robert OK, thanks my prob...

    By Bujkilla, 5 hours ago

  • RE: Views are no longer counted

    Again , Views are counted very well, but not in real...

    By Robert, 9 hours ago

  • RE: How are "views" calculated?

    Please read this topic attentive from first post. It's ...

    By Robert, 9 hours ago

  • Subscribing through the subscription manager in some cases doesn't update the "subscribe to topics" button on forum

    Hi,I think this is just a development oversight more th...

    By afreymuth, 10 hours ago

  • a little problem, I need help, thanks

    Hello,I'm not sure if I posted where I should, but I wa...

    By adultwork, 12 hours ago

  • How to configure: When click on Topic it goes to 1st page (Topic starter)

    Currently when click on topic it goes to the last page ...

    By nalin_duminda, 14 hours ago

  • Seeking assistance solving new users not getting a confirmation emails on WP Multisite

    Problem: When a new user registers through WPForo, they...

    By Hansie, 15 hours ago

Share:
  Forum Statistics
20 Forums
7,788 Topics
39 K Posts
2 Online
14.9 K Members

Latest Post: Fatal error: Our newest member: soikeotaixiu Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2021 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation