Support

Home Forums Event Espresso Premium Plugin conflict with UsersPro

Plugin conflict with UsersPro

Posted: November 2, 2017 at 9:03 am


Melodie Reagan

November 2, 2017 at 9:03 am

Hello, we are having a plugin conflict with UsersPro. When we try to add the event date it appears that formatting from UsersPro is replacing EE’s calendar popup and removing functionality.

Here’s a link to a screenshot of the issue: http://coloradocompaniestowatch.org/wp-content/uploads/2017/11/Screen-Shot-2017-11-02-at-8.57.47-AM.png

Any thoughts on how to work around this?

Thanks!


Josh

  • Support Staff

November 2, 2017 at 9:08 am

Hi Melodie,

This can be fixed by adding a tiny PHP script that will dequeue/remove the UsersPro formatting from the EE admin page. Generally other plugins should only add their formatting to their own admin pages, and when they add them everywhere you’ll see conflicts like this one. Is there a place where we can download the UsersPro plugin to check its code out?


Melodie Reagan

November 2, 2017 at 10:28 am

Hi Josh,
Thanks for the quick reply. Here’s a temporary Dropbox link you can access the plugin. Let me know if you have any issues.
https://www.dropbox.com/s/0zebpqm5t6bmtjh/codecanyon-5958681-userpro-user-profiles-with-social-login.zip?dl=0


Josh

  • Support Staff

November 3, 2017 at 8:11 am

Thanks for the link. You can add the following code to remove the Userpro datepicker styles from the Event Espresso event editor page:

add_action(
    'toplevel_page_espresso_events', 
    'my_remove_userpro_stylesheet'
);
function my_remove_userpro_stylesheet(){
    wp_dequeue_style('userpro_admin_fa');
}

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Melodie Reagan

November 6, 2017 at 8:29 am

Works like a charm, thank you!!

The support post ‘Plugin conflict with UsersPro’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Melodie Reagan 2 years ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.