jcousin
Forum Replies Created
-
Well, I had to set up back all the website, because I had a conflict, but now it’s working, so thanks.
I’ve check the code, but doesn’t work.
And thats strange, because I have this code in many website and it’s working.
The exact code is:add_filter('um_profile_tabs', 'add_custom_profile_tab', 20 ); function add_custom_profile_tab( $hisTab ) { $hisTab['abogado'] = array( 'name' => 'Mi Abogado', 'icon' => 'um-icon-university' ); return $hisTab; } add_action('um_profile_content_abogado_default', 'um_profile_content_abogado_default'); function um_profile_content_abogado_default( $args ) { $profile_id = um_profile_id(); $IdAbogado = get_user_meta($profile_id, 'AbogadoId', true); $nicename = get_user_meta($IdAbogado, 'nickname', true); wp_redirect(site_url().'/mi-cuenta/'.$nicename); exit; }
I tried it and had some problem, so I had to install everything again, but now it;s working. Thanks for your help
Thats my problem, I haven’t this menu in the backoffice of wordpres, Any clue why I haven’t it ?
The first screenshot is the page with the search box (https://104.236.200.8/miembros/), but it send me to the homepage.
And there is no menu in the wp-admin to edit it, you know ?Perhaps I didn’t well myself, check the screenshot please:
https://104.236.200.8/wp-content/uploads/2016/11/a.png
https://104.236.200.8/wp-content/uploads/2016/11/b.pngTis is my link to the members directory
https://104.236.200.8/miembros/The problem is that I haven’t the menu which allow me to create a um directory.
I do have a page to see every members, and there is a shortcode, but when I try to access to it, I’m redirected to the hompage.
Here is the code, thanks.
add_filter('um_profile_tabs', 'add_custom_profile_tab', 20 ); function add_custom_profile_tab( $hisTab ) { $hisTab['reforma'] = array( 'name' => 'Nueva reforma', 'icon' => 'um-icon-ribbon-a' ); } add_action('um_profile_content_reforma_default', 'um_profile_content_reforma_default'); function um_profile_content_reforma_default( $args ) { wp_redirect(site_url().'/wp-admin/post-new.php'); exit; }
Hi and thanks for helping me.
Yes, I tried to deactivated everything but still not working and no cache plugin.
It was working fine but since I don’t know what or when, not anymore.When I click on the tabs (which should redirect me the back office) it send me to the profile, but shows me only the header.
Can it be a session problem ?
Forum: Plugins
In reply to: [SpiderCalendar] CapabilitiesI’m trying as an Editor to add an eent, but I don’t access to the Calendar menu in the back office, Editor can add en event ?!
Forum: Fixing WordPress
In reply to: get_current_user_id return 0THanks for the answer, I reinstal everything and it’s working, I don’t what’s happen.
Thank a lot again
J
Forum: Fixing WordPress
In reply to: get_current_user_id return 0Thanks for your help but it doesn’t work.
The strangest thing is that in the homepage it works perfectly, but when I go on the user profile from ultimate member it’s doesn’t. I haven’t had any problem with this plugin and I try to deactivated every plugin and to use a normal theme, but still happen.
Anyone please ?
Thanks again
All done, I found the error, thanks to close the thread
J
Sorry you couldn’t see the pictures.
Let me know if there is any solution.
thanks
j
https://www.redmadrededia.com/wp-content/uploads/2016/10/setting.png
https://www.redmadrededia.com/wp-content/uploads/2016/10/setting2.png
Forum: Plugins
In reply to: [Tickera - WordPress Event Ticketing] Tickera – Woocommerce – MarketplaceThanks for your answer, but what I was looking for, is not a multisite, because I dont want to replicate the website, I want only one website where users (registred but not admin) can upload an event and sell ticket, is it possible like this ?!
Thanks again for your help.
J