Pepperbase
Forum Replies Created
-
Forum: Plugins
In reply to: [Front-end Editor] editable custom field and number formatHi,
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 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?
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 https://www.ads-software.com/plugins/buddypress-multilingual/ if you want multilangual content.
Cheers.
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.
Would be really nice to have this feature, especially on mobile devices.
Thanks.
Forum: Plugins
In reply to: [BuddyPress Follow] customize follow buttonGreat.
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.
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
In reply to: [JW Player for Flash & HTML5 Video] player in ssl insecure contentThat was easy ??
Thanks!
Forum: Hacks
In reply to: BuddyPress Profile LinkHi,
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
In reply to: [WordPress HTTPS (SSL)] Disables Ajax in BuddyPress – 3.3.5+1
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.
+1 for location of the user on mobiles and desktops.
Forum: Plugins
In reply to: [Plugin: Leaflet Maps Marker] changing the directions link on the mapsHi,
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
In reply to: [GD Star Rating] translate Google Rich SnippetsAny update on this?
Are you going to do the same with the style sheet? Only add the css file when a shortcode is included?
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?