monjolitop
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Show Default Menu PagesHi @nfmohit,
I found a workaround :
function redirectAfterProfileDisplay() { $location = bp_core_get_user_domain(bp_displayed_user_id()).'slug_name'; bp_core_redirect($location); return; } add_action('xprofile_screen_display_profile','redirectAfterProfileDisplay' );
Where slug_name is the page slug.
It works for me.
Regards,
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Hide tabs in other profilesHey,
Yes, everything works without the code snippet.
I did those test. I deactivated all but 3 plugins (Woocommerce, buddypress and your plugin) and I still have the issue. I tried changing the theme and it works. So it come from my theme.Thanks,
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Hide tabs in other profilesHi @nfmohit
My code snippet is :
function exclude_tab_if_not_personal_profile() { if (!bp_is_my_profile()) { bp_core_remove_nav_item('planning'); } } add_action( 'bp_init', 'exclude_tab_if_not_personal_profile' );
I have a page with ‘planning’ slug.
Thanks,
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Personnal new pageHi,
Done : https://www.ads-software.com/support/topic/works-perfectly-dev-is-really-quick/#new-post
Thanks for your work.
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Hide tabs in other profilesHello,
I tried your solution, it works, the menu are hidden
But i tried to hide 1 menu and when i click an menu not hidden, i got an error 404.Could you please tell me why ?
Thanks
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Show Default Menu PagesHi,
I’m interested about the solution.
Have you develop the feature ? Or is there a workaround ?Thanks,
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Personnal new pageHello,
That’s what i did.
Thanks for your work and your time.
Best regards,
Forum: Plugins
In reply to: [Custom Profile Menu for BuddyPress] Personnal new pageHello,
Thanks for your answer.
I would like to put a variable in my shortcode.
For my test :
1. I modify the budypress.php
2. Get my user id with$user_id = bp_displayed_user_id();
3. send my shortcode with my varecho do_shortcode( '[shortcodename param='.$user_id.']' );
And it works.Now, i want to add this php in a file displayed by your plugin.
Can you tell me how to do this ?Thanks,
Forum: Plugins
In reply to: [Polylang] Widget translationUP
Forum: Plugins
In reply to: [Polylang] Widget translationHello,
Anybody can help me?
Thanks,
Forum: Themes and Templates
In reply to: [Vogue] Display error when clicking third imageI fixed my issue with :
.flex-viewport {
height: 100%!important;
}Thx
Forum: Plugins
In reply to: [WooCommerce] Woocommerce error on checkout?a aurait été plus simple en fran?ais depuis le début..
J’ai corrigé mon problème. J’utilisais un plugin non-officiel pour le mode de paiement (payplug). J’ai viré le plugin non-officiel et j’ai mis le plugin officiel et ?a fonctionne.
Merci beaucoup pour le temps que vous avez pris pour répondre à mes questions !
Bonne journée.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce error on checkoutI don’t understand..
Forum: Plugins
In reply to: [WooCommerce] Woocommerce error on checkout2. With comma for decimal separator.
@payplug Can you help ?
- This reply was modified 5 years, 4 months ago by monjolitop.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce error on checkoutA customer told me that she could not finish her order.
I tried with different products and it appears that the problem come from the price of the product.
I changed the price from 33,90 to 33,50 and it works. When i set back 33,90, it does not work.
The customer have an error when clicking on “order” (just before payment redirect) and when i try, i press F12 for developper mode on Chrome, and i can see the error “the ammount must be a positive integer[…]”.I hope i’m clear enought