• Resolved fatihaker

    (@fatihaker)


    Hi,
    Firstly thanks for the nice plugin. Its really lightweigh and usefull. I was thinking to buy but noticed that there is some conflicts with WpDataTables (and also some others too). As I see that UsersWp load all the scripts in each page, if its needed or not and I guess this is the problem.
    I guess you need to change the logic, it will make your plugin more compatible, faster and lighter. I guess there is no need to load scripts in all pages except the related pages like profile, register, login and etc.
    I have unloaded the scripts by an asset plugin from all the pages (except UsersWp pages like register, login and etc), and all the problems are solved for both side of WpDataTables and UsersWp.

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    We have intentionally loaded all the scripts and the CSS on all pages as we got support requests regarding designs and scripts not working for the widgets which are used on non-usersWP pages. One can always disable loading the scripts on the other pages by dequeuing or using assets plugin. We will check regarding the conflicts with the WPDataTables plugin and I think it will be regarding designs only which can be corrected. Let us know if you face any other issues here or on our support forum and we will be happy to help you.

    Regards,
    Patrik

    Thread Starter fatihaker

    (@fatihaker)

    Hi Patrik,

    I have unloaded the files for frontend pages and solved the issues for a while. Although it creates some problems, its managable. But for the backend pages, there is a few problems. I dont know if its possible to unload files for backend pages. Such as; while UsersWp active, I cant view (so cant change) the details(settings) of tables which I created with WpDataTables. Each time to manage a table, I need to deactivate UsersWP and then re-activate when my manage is done. Its being really tiring for me and much importantly for members.

    Also, there should be settings to disable for image uploads. Also need a setting to set a max file upload limit, file type and etc. Its directly using the php upload limits as I guess. I dont need user profile page so I directly delete the page so nobody uses. I just use account page. Also there should be a disabling setting for user listings. I delete those pages too.
    Thanks.

    Hi,

    I have installed WpDataTables and found that it is also using bootstrap and there might be a conflict with our AyeCode UI kit. For this conflict, you don’t need to disable the plugin each time. Just go to Settings->AyeCode UI->Backend (wp-admin)->Load JS and change the settings to “Required functions only” and if it doesn’t resolve the issue then change it to “Disabled”. Let me know if this resolves your issue or not.

    Regards,
    Patrik

    Regarding your 2nd point, If you want to use this plugin for login/register only then you may have chosen it from setup wizard while activating a plugin. If not then you can run the wizard again by going to the UsersWP settings page and from the top right corner click on Help and go to Setup wizard tab and click on Setup Wizard button. On 2nd step, you will see “How will you use UsersWP” where you can untick other options than login/register and complete the wizard process. This will remove the other pages and will not be accessible from the frontend. Can you explain for what you need settings to disable for image uploads, max file upload limit, file type and etc? If you are talking about the profile then you can go to UsersWP Settings->General->Profile->Click on Show Advanced Button and you will get file size settings.

    Regards,
    Patrik

    Thread Starter fatihaker

    (@fatihaker)

    Hi Patrik,

    If I choose “Required functions only”, even the WpDataTable’s main screen cant load. So I have totaly disabled the js and also started to use legacy design (if there is a bootstrap conflict). And the conflict was solved. Then I reactivated Bootstap desig. Right now, it looks ok, but let me use and test for a few days. I will be here for final results. Its all about Js as see.

    For the 2nd point, its my mistake I missed the settings. I did re-run the wizard and selected only Register/login and Profile, just removed the user directory. But the usr list and etc pages are re-created again after the wizard. So Im not sure if its disabled or not. I have deleted the pages again. If I remove profile too, people will not able to change their details like name, surname, e-mail and etc, right ? In fact I wanna keep profile, but I wanna remove account page (the page with avatar and banner).

    Also please let me know where I can find the line of ” You will see the options to disable the active notifications for UsersWP and it’s add ons.” is being displaied in Notification tab. I couldnt see it in translation files and templates and etc. As I guess its the only thing that I didnt translate.

    And, may I safely remove all UsersWP components (js and css) from all the pages except UsersWP pages of register, login, profile, password change and etc ?

    Thanks.

    • This reply was modified 6 years, 2 months ago by fatihaker.

    Hi,

    I have tested in my system and it worked for me when I choose “Required functions only” but it depends on site by site so let me know if you face any other issues.

    For changing details like name, surname, e-mail and etc user can do it from the account page and not profile page. I am not sure which page you are assuming as profile and which page as account page but let me confirm that the page with the form to get user details is called account page and page with the banner, avatar, and tabs is called profile page.

    The string should be translatable using .po file you can find in the userswp/languages/userswp-en_US.po and create your own language file using this.

    Yes, You can remove those components if you are not using any UWP module on pages other than UWP pages.

    Regards,
    Patrik

    Thread Starter fatihaker

    (@fatihaker)

    Hi again Patrik,

    As I see it works more stable if I disable usersWp js’s and bootstrap. Issue comes up again if I activate any of these. You say you used, did you create any table and use it ? And test it while changing the table details, or load of the tables in frontend ?

    As I see there is an update for UsersWp, recapthca and social login. Do you recommend to update ? The plugin works right now in a way, honestly Im not sure to update cause of the inner question “what if gets worse”.

    Thanks.

    • This reply was modified 6 years, 1 month ago by fatihaker.

    Hi,

    We have provided separate settings for frontend and backend in Settings->AyeCode UI where you can do respective settings for your site. I don’t see any issues on the frontend for my site. If it creates issues on the backend then you can change setting for the backend to either “Required functions only” or “Disabled”.

    Regards,
    Patrik

    Thread Starter fatihaker

    (@fatihaker)

    Hi,

    How does it affect if I select “Required functions only” for frontend js ?

    Thanks.

    Hi,

    It might break some of the functionality and layouts using the bootstrap in the frontend if the bootstrap run by the wpdatatable is not loading the latest version of bootstrap bundle. You can get more ideas by doing it for your site and check if anything breaks.

    Regards,
    Patri

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘WpDataTables conflict’ is closed to new replies.