Title: baptx's Replies | WordPress.org

---

# baptx

  [  ](https://wordpress.org/support/users/baptx/)

 *   [Profile](https://wordpress.org/support/users/baptx/)
 *   [Topics Started](https://wordpress.org/support/users/baptx/topics/)
 *   [Replies Created](https://wordpress.org/support/users/baptx/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/baptx/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/baptx/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/baptx/engagements/)
 *   [Favorites](https://wordpress.org/support/users/baptx/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BP Profile Search] empty fields variable in bps_add_fields hook since BP Profile Search 4.9.2](https://wordpress.org/support/topic/empty-fields-variable-in-bps_add_fields-hook-since-bp-profile-search-4-9-2/)
 *  Thread Starter [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/empty-fields-variable-in-bps_add_fields-hook-since-bp-profile-search-4-9-2/#post-12091651)
 * Hi Andrea, it is working now, thanks!
    Do you know why we have to use a lower
   priority only since BP Profile Search version 4.9.2? Is it better to use `bps_add_fields`
   or `bps_edit_field`? For the moment I will keep the first hook, otherwise I need
   to change more code. By the way, I am using the hook `bps_request` to get fields
   values and use remove_filter function when I am done since the filter is called
   several times. Is it a good practice or do you recommend another hook? (maybe
   using a native BuddyPress hook or function like bp_get_the_profile_field_value
   is better) Thanks.
    -  This reply was modified 6 years, 8 months ago by [baptx](https://wordpress.org/support/users/baptx/).
    -  This reply was modified 6 years, 8 months ago by [baptx](https://wordpress.org/support/users/baptx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Members Only] error: wpdb::escape is deprecated](https://wordpress.org/support/topic/error-wpdbescape-is-deprecated/)
 *  Thread Starter [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/error-wpdbescape-is-deprecated/#post-9706763)
 * Thanks, I reopened the topic for the other problem. I don’t know if we can edit
   the title to add the informations.
    Good point for the security, I did not think
   to check your plugin for CSRF 🙂 Now I tested XSS and found a security vulnerability:“
   </textarea><script>alert(1);</script><textarea>” :/ You should prevent this with
   a PHP function like htmlspecialchars.
    -  This reply was modified 8 years, 7 months ago by [baptx](https://wordpress.org/support/users/baptx/).
    -  This reply was modified 8 years, 7 months ago by [baptx](https://wordpress.org/support/users/baptx/).
    -  This reply was modified 8 years, 7 months ago by [baptx](https://wordpress.org/support/users/baptx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Members Only] error: wpdb::escape is deprecated](https://wordpress.org/support/topic/error-wpdbescape-is-deprecated/)
 *  Thread Starter [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-wpdbescape-is-deprecated/#post-9626328)
 * Hi, I also noticed that the field “Opened Page URLs” cannot be reset because 
   empty values are not saved. Have a good day.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable User Gravatar] Disable Gravatar for BuddyPress](https://wordpress.org/support/topic/disable-gravatar-for-buddypress/)
 *  Thread Starter [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/disable-gravatar-for-buddypress/#post-9626240)
 * By the way, with all plugins disabled except yours, there are still gravatar.
   com requests on posts and the users admin page.
    I just noticed that it was reported
   here: [https://wordpress.org/support/topic/disable-gravatar-links-at-all/](https://wordpress.org/support/topic/disable-gravatar-links-at-all/)
 * I thought this plugin blocks all third-party requests for better privacy, I will
   not need it otherwise. Gravatar should not get the IP addresses of active users
   on the Internet, which is also sent with the HTTP referer header of the website
   visited.
 * The code I shared to disable Gravatar for BuddyPress completely blocks gravatar.
   com requests.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better Messages - Chat Rooms, Group Chat, Private Messages & AI Chat Bots] progressive enhancement and privacy](https://wordpress.org/support/topic/progressive-enhancement-and-privacy/)
 *  Thread Starter [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/progressive-enhancement-and-privacy/#post-9602253)
 * I also noticed errors when displaying conservation with a deleted user:
 * [Fri Oct 13 18:49:56.638393 2017] [:error] [pid 4477] [client 127.0.0.1:56716]
   PHP Notice: Trying to get property of non-object in /var/www/html/wordpress/wp-
   content/plugins/bp-better-messages/inc/functions.php on line 402
    [Fri Oct 13
   18:49:56.638411 2017] [:error] [pid 4477] [client 127.0.0.1:56716] PHP Notice:
   Trying to get property of non-object in /var/www/html/wordpress/wp-content/plugins/
   bp-better-messages/inc/functions.php on line 420 [Fri Oct 13 18:49:56.638416 
   2017] [:error] [pid 4477] [client 127.0.0.1:56716] PHP Notice: Trying to get 
   property of non-object in /var/www/html/wordpress/wp-content/plugins/bp-better-
   messages/inc/functions.php on line 427 [Fri Oct 13 18:49:56.638482 2017] [:error][
   pid 4477] [client 127.0.0.1:56716] PHP Notice: Trying to get property of non-
   object in /var/www/html/wordpress/wp-content/plugins/bp-better-messages/inc/functions.
   php on line 432
 * Another problem I had was that the email template uses the variable {{{messages.
   html}}} which displays a hardcoded English word “wrote” when emails are sent 
   so it is not possible send emails correctly in another language like French.
   
   Can we change this easily somewhere?
 * For information, the default email templates of BuddyPress does not have this
   problem because they are using more specific variables like {{sender.name}} and{{
   usermessage}}. These variables are not available in your plugin template for 
   the event “A member has unread private messages” but we could bypass the translation
   problem if you make them available.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual for BuddyPress and BuddyBoss] Compatible with polylang?](https://wordpress.org/support/topic/compatible-with-polylang-2/)
 *  [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/compatible-with-polylang-2/#post-9586882)
 * Hello,
 * I would be interested also to have an alternative since WPML is not free anymore.
   
   A standalone multilingual plugin for BuddyPress would be nice also. I don’t think
   there is an open source and updated fork of WPML, otherwise let us know. A big
   community project like BuddyPress should not rely on a commercial / paid plugin
   to offer multilingual functionality.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Contact Form 7 Won't Submit](https://wordpress.org/support/topic/contact-form-7-wont-submit/)
 *  [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/contact-form-7-wont-submit/#post-4686312)
 * Edit: saying “user agent agent is needed” as an error message, would at least
   help users to know the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Contact Form 7 Won't Submit](https://wordpress.org/support/topic/contact-form-7-wont-submit/)
 *  [baptx](https://wordpress.org/support/users/baptx/)
 * (@baptx)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/contact-form-7-wont-submit/#post-4686311)
 * I had the same problem when using Contact Form 7, an error message appeared in
   an orange box: “Failed to send your message. Please try later or contact the 
   administrator by another method.”.
    The problem is Contact Form 7 plugin that
   does not allow the form to be sent without browser user agent HTTP header. I 
   just blocked my user agent with Firefox addon ModifyHeaders. If I don’t want 
   to send user agent it’s my choice and it’s not necessary spam, so I call this
   a sort of censorship from Contact Form 7 because there is no option to allow 
   sending forms without user agent. By the way, this is the only topic still open
   about the orange box error that I’ve found on wordpress.org. If you close all
   topics (like [https://wordpress.org/support/topic/plugin-contact-form-7-when-i-try-to-send-the-form-i-get-the-orange-box-akismet-spam](https://wordpress.org/support/topic/plugin-contact-form-7-when-i-try-to-send-the-form-i-get-the-orange-box-akismet-spam)),
   there is no way for users to add more informations about the same problem, like
   I did here and I do not think creating a new topic for giving an answer is good
   idea.

Viewing 8 replies - 1 through 8 (of 8 total)