Forum Replies Created
-
In reply to: PHP notice on version 2.6.11
Same notice here, with v2.6.13. So I patched includes/extend/buddypress/loader.php
line 42 :
esc_html__( 'Forums', 'bbpress' ),
to :function_exists('esc_html__') && did_action('init') ? esc_html__( 'Forums', 'bbpress' ) : 'Forums',
and line 119 :
'search_string' => esc_html__( 'Search Forums...', 'bbpress' ),
to :'search_string' => did_action('init') ? esc_html__( 'Search Forums...', 'bbpress' ) : 'Search Forums...',
and it’s gone.
I had several similar notices from different plugins, and I suspect WPML to cause this issue. I can’t deavtivate it because last time I did it was a complete mess 😅
I don’t have much time to go further this now, but I saw this topic so I guess Bbpress is not causing it.
In reply to: hide ip addressSorry, I just saw that I wrote my message in French. 😅 So: Thanks @vinod-dalvi, your snippet still works in 2024 😊
In reply to: hide ip addressMerci @vinod-dalvi, votre snippet fonctionne toujours en 2024 😊
In reply to: Forum attributes – their meaningCould be usesful for some…
In reply to: Can’t upload avatar image under 451pxYou wasn’t far and your clue helped me to find the solution. Thanks again 😉
https://buddypress.org/support/topic/cant-upload-avatar-image-under-451px/In reply to: Can’t upload avatar image under 451pxOops… I can’t believe I posted this in the wrong forum. I thought this was Buddypress forum (bbpress and buddypress was both open in my browser :p ) Is there a way to delete this posts? I will post in buddypress forum. And, by the way, cropping works in WP -> Media and also with Ultimate-member plugin si I guess is something with Buddypress… I’ll check this. Thanks for your answer Robin (The plugin you made for me is still working great (bbpress search by category ID :))
Hi, the apostrophe (simple quote) was displayed as ' ; in the email subject so I fixed this by adding this line:
$topic_title = mb_convert_encoding($topic_title, 'UTF-8', 'HTML-ENTITIES');
in myrsite\wp-content\plugins\bbpress\includes\common\functions.php, lines 1094 and 1252 (bbpress 2.5.12). Between these 2 lines:
$topic_title = strip_tags( bbp_get_topic_title( $topic_id ) ); $topic_title = mb_convert_encoding($topic_title, 'UTF-8', 'HTML-ENTITIES'); $topic_content = strip_tags( bbp_get_topic_content( $topic_id ) );
I’m a beginner with php so maybe there is a better way to achieve this, but worked great for me 🙂
In reply to: Search form by forum IDHi Robin, and thanks a lot for your answer. I spent thours trying to achieve this but without success. The search just always returns results from all forums. I must confess I’m a beginner with PHP… But, is there any chance that this feature could be added in your “bbp additional shortcodes” plugin. Something like [bbp-search forums='10,12,15']. I just discovered your plugins on your website and you did an amazing work. Of course I’m ready to give some donation for that but I like to know if this is possible or not first 🙂 But maybe it’s not as simple… Thanks