Notifications
Clear all

Private messages configuration options?

11 Posts
2 Users
0 Reactions
2,023 Views
Posts: 34
Customer
Topic starter
(@jamie)
Member
Joined: 5 years ago

One question, now that I've checked the add-on settings and I don't see it there, is there an option somewhere to disable attachments for private messages?

Reply
1 Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@jamie-morris,

Please navigate to the Dashboard > Forums > Settings > Styles admin page put the following CSS code in  the "Custom CSS Code" textarea:

.wpforo-messages-content #wpf-post-create .wpf-extra-fields {
display: none !important;
}

Don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking. 

Reply
Posts: 34
Customer
Topic starter
(@jamie)
Member
Joined: 5 years ago

Also seeing a weird thing, including [conversation] in the private message notification template outputs only the recipient name in the email (not the text of the private message) but if I include [msg] it displays both the message text and the link. I don't think that's the expected behaviour?

Reply
1 Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@jamie-morris,

Everything is correct. 

Please note, if you included the [conversation] shortcode, you will see only the Conversation link, and if you want to see the message text, you need to include the [msg] shortcode too. So everything works as expected.

[conversation] - Conversation link

[msg] - Message content

Reply
Posts: 34
Customer
Topic starter
(@jamie)
Member
Joined: 5 years ago

Thanks for the CSS code, that works, but I'm afraid the shortcodes aren't working as expected (they're working as described above, i.e. one does nothing, the other outputs both link and text, which means we can't position them individually). Any idea why that may be the case?

Reply
Page 2 / 2
Share:
Scroll to top