Title: Pepperbase's Replies | WordPress.org

---

# Pepperbase

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/pepperbase/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pepperbase/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-end Editor] editable custom field and number format](https://wordpress.org/support/topic/editable-custom-field-and-number-format/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/editable-custom-field-and-number-format/#post-3602056)
 * Hi,
 * I have a new approach using jQuery. I have created a numberformat function which
   I like to run when the ajax call to save data is complete. This is working:
 *     ```
       jQuery(document).ready(function() {
           jQuery( document ).ajaxComplete(function() {
       	numberformat('some_custom_field_name');
           }
       });
       ```
   
 * However, this code runs on every ajax call. How can I select the ajax calls from
   the front end editor to edit and save data? From [jQuery ](http://api.jquery.com/ajaxComplete/)
   I understand I can insert an if statement, but I cannot find the right handler
   to select the ajax calls, see below
 *     ```
       jQuery(document).ready(function() {
           jQuery( document ).ajaxComplete(function() {
               if ( "#some-fee-ajax-handler..." ) {
       	     numberformat('some_custom_field_name');
                }
           }
       });
       ```
   
 * Any ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] compatible with Buddypress (social network plugin)?](https://wordpress.org/support/topic/compatible-with-buddypress-social-network-plugin-1/)
 *  [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/compatible-with-buddypress-social-network-plugin-1/#post-3203294)
 * Hi,
 * For your information.
 * Just installed wp multisite with buddypress and translation does work with the
   multisite language switcher ‘out of the box’. Just make sure you have all the
   po/mo files on the right place and set the language in the general settings for
   each site.
 * It does not translate the content itself of course, but that is not something
   I want anyway. Take a look at [http://wordpress.org/plugins/buddypress-multilingual/](http://wordpress.org/plugins/buddypress-multilingual/)
   if you want multilangual content.
 * Cheers.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] do_shortcode JS and CSS files](https://wordpress.org/support/topic/do_shortcode-js-and-css-files/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/do_shortcode-js-and-css-files/#post-3896127)
 * Hi,
 * Yes that works, but I want to use Ajax on mobiles for performace reasons. Loading
   JS in the header and CSS on all pages wouldn’t help 🙂
 * Anyway, I decided to open a new page and send the marker via the url.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] list markers by distance](https://wordpress.org/support/topic/list-markers-by-distance-1/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/list-markers-by-distance-1/#post-3871873)
 * Would be really nice to have this feature, especially on mobile devices.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Follow] customize follow button](https://wordpress.org/support/topic/customize-follow-button/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/customize-follow-button/#post-3689213)
 * Great.
 * About the link_text in the follow button. Is there also a temporary solution 
   to remove the name of the user? I am displaying the follow button behind a user
   profile link (with username as text) and it doesn’t look nice to display the 
   username twice. It also takes to much space 🙂
 * I could use the localization file to remove the username, but that is site wide.
 * Thank you for the support.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Follow] feature requests: ajax loading image and follow button when logged out](https://wordpress.org/support/topic/feature-requests-ajax-loading-image-and-follow-button-when-logged-out/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/feature-requests-ajax-loading-image-and-follow-button-when-logged-out/#post-3689212)
 * Hi,
 * 1) Ok. I will go with some custom code.
    2) I am not using the BP defealt theme.
   You’re right, all BP buttons are without an AJAX loading image. I understand 
   from the discussion that this is on the BP roadmap? In the meantime, is there
   another solution to indicate loading time for the user?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JW Player for Flash & HTML5 Video] player in ssl insecure content](https://wordpress.org/support/topic/player-in-ssl-insecure-content/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/player-in-ssl-insecure-content/#post-3618731)
 * That was easy 🙂
 * Thanks!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [BuddyPress Profile Link](https://wordpress.org/support/topic/buddypress-profile-link/)
 *  [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/buddypress-profile-link/#post-3404872)
 * Hi,
 * Thank you. This is wat I was looking for. Do you have any idea if it is possible
   to use bp_get_loggedin_user_nav() to get the whole logged in bp user menu at 
   once in the main menu? I tried this code:
 *     ```
       add_filter( 'wp_nav_menu_items', 'mme_nav_menu_profile_links', 10, 2 );
       function mme_nav_menu_profile_links($menu, $args) {
           if( is_user_logged_in() && $args->theme_location == 'usenav' ){
   
               $profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('My Profile') . '</a>
                                   <ul class="sub-menu">' . bp_get_loggedin_user_nav() .  '</ul>
                               </li>';
   
               $menu = $profilelink . $menu;
           }
           return $menu;
       }
       ```
   
 * but the menu is not styled proberly. Does anybody know how to do this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress HTTPS (SSL)] Disables Ajax in BuddyPress – 3.3.5](https://wordpress.org/support/topic/disables-ajax-in-buddypress-335/)
 *  [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/disables-ajax-in-buddypress-335/#post-3487940)
 * +1
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] change direction link](https://wordpress.org/support/topic/change-direction-link/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/change-direction-link/#post-3288163)
 * Hi Robert,
 * Great! It works out of the box.
 * I have another suggestion. The direction link uses the coordinates for the location.
   Could you use Google places (just as in the backend)? Would be much more user
   friendly as you could than see all the information provided by Google.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] Search form and geolocation](https://wordpress.org/support/topic/search-form-and-geolocation/)
 *  [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/search-form-and-geolocation/#post-3283038)
 * +1 for location of the user on mobiles and desktops.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Leaflet Maps Marker] changing the directions link on the maps](https://wordpress.org/support/topic/plugin-leaflet-maps-marker-changing-the-directions-link-on-the-maps/)
 *  [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-leaflet-maps-marker-changing-the-directions-link-on-the-maps/#post-2622633)
 * Hi,
 * I would like to change the directions link of maps.google.com too (appears in
   the popup). Is that possible? I already changed the google maps local settings,
   but it didn’t effect the direction link, only the language of the map itself.
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GD Star Rating] translate Google Rich Snippets](https://wordpress.org/support/topic/translate-google-rich-snippets/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/translate-google-rich-snippets/#post-3234312)
 * Any update on this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] javascript on all pages](https://wordpress.org/support/topic/javascript-on-all-pages/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/javascript-on-all-pages/#post-3231917)
 * Are you going to do the same with the style sheet? Only add the css file when
   a shortcode is included?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] javascript on all pages](https://wordpress.org/support/topic/javascript-on-all-pages/)
 *  Thread Starter [Pepperbase](https://wordpress.org/support/users/pepperbase/)
 * (@pepperbase)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/javascript-on-all-pages/#post-3231916)
 * Great that you have got this working now. Hopefully this becomes common practive
   among all plugin builders.
 * Are there more loading time improvements on the roadmap?

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/pepperbase/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pepperbase/replies/page/2/?output_format=md)