-
Boone Gorges posted on the forum topic Is there a way to add a max width to images or remove dimensions field in image box in BP-TinyMCE? in the group BP-TinyMCE: 13 years, 11 months ago
@ewebber – Did you do what Ezeke suggested? Worked for me on forums:
.post-content img { max-width: 400px; height: auto } -
claudeg posted on the forum topic Adding a max width to images in Tinymce in the group BP-TinyMCE: 13 years, 11 months ago
@ewebber thanks for this, it almost work for me… I’ve put image on line 51 of bp-tinymce.php. Then I was able to upload a photo in a comment with the specified dimension (have to take care of the ratio) and write some text. But when I’ve tried to post my comment, it says something like the […]
-
r-a-y posted on the forum topic PHP help links in bp_core_add_message in the group How-To and Troubleshooting: 13 years, 11 months ago
@ewebber – Just checked. Yeah the message gets escaped, so you can’t add HTML by default. If you want to add HTML, you’ll have to remove how BP renders the message, then you’ll have to write your own custom message function. Untested, but this should work in your theme’s functions.php : ` remove_action( ‘wp’, ‘bp_core_setup_message’, 2 ); function […]
-
mercime posted on the forum topic I broke my site by disabling groups 🙁 in the group How-To and Troubleshooting: 14 years, 2 months ago
@ewebber glad you fixed it and seconding what DJPaul said, thank you for letting us know.
@ewebber
Active 8 years, 9 months ago