Coder Social home page Coder Social logo

No longer work about acf-tools HOT 23 OPEN

rostimelk avatar rostimelk commented on August 26, 2024
No longer work

from acf-tools.

Comments (23)

wpsumo avatar wpsumo commented on August 26, 2024 2

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024 1

/admin/post.php?post=846&action=edit&lang=us
Rewrite wp-admin slug.

Always wroked before, but good to mention using following plugins
WPML
ACF Extended

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Hi!

What version of ACF are you running?

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

Latest version 5.8.12

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Can you describe the issue you're having with:

  • What is it that is not working?
  • What browser are you using?
  • What field type are you using, and in what configuration?
  • Are you getting any error alert message?
  • Do you have any errors in your console?

Feel free to also add some screenshots if possible.

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Hi.

Are you still experiencing issues or can I close this issue?

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

What is it that is not working?

No longer see the copy field

What browser are you using?

Chrome on macOS

What field type are you using, and in what configuration?

Doesn't matter

Are you getting any error alert message?

No

Do you have any errors in your console?

No

Feel free to also add some screenshots if possible.

Doesn't give much just looks like with acf tools running.

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

If you click the ACF Tools icon beside the URL bar, does it say "ACF Tools is active on this page"?

image

If not. Would you mind sharing the slug of the page with me?

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

I see is not active on this page:
image

It's wp-admin, also using ACFE (ACF Extended with single meta).

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

@RostiMelk any update on the issue?

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Hi!

Sorry for the late answer.
I have made a test version for you which uses the <all_urls> permission. I do not recommend you use this normally as it might break other non-wordpress sites, but please let me know if this fixes the issue so I can proceed troubleshooting.

ACF-Tools-wp-sumo.zip

Install instructions:

  1. Go to chrome://extensions/
  2. Drag and drop the src folder into this window
  3. Write code
  4. Refresh Chrome Extension to test and debug as you develop

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Hi! That's great news. Can you please provide me with your whole url when using acf? Feel free to hide the domain, but I do need a full url to test with.

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

What do you mean, could you send me an example? the slug of the acf field group page?

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Hi.
Just send me the whole url when working on acf fields. Example:
https://domain.com/wp-admin/post.php?post=18&action=edit

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Ah there is your issue. Plugin recognizes the wp-admin slug to work. Your's is just admin. I will try to figure out a better way init the acf-tools code in the coming week.

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

Ah okay!
Maybe add a settings field allow to speciify admin slug if not default?
Maybe listen to the logged in cookie instead in wordpress?

Would be great thanks!

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Great suggestions! I would need to check if Browser Extensions have the permission to read site cookies at all.

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

@RostiMelk Hi Mate, any update on fixing this in core? Maybe ACF Tools can have a settings panel if not using default wp-admin/ to insert custom path?

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

Hi. Sorry for the delay on this. This will get fixed as soon as I have any free time. Been really busy lately.
You're also ofc welcome to submit a PR if you wish.

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

@RostiMelk Thanks no worry works with the non-official version you shared above so using this across the Chrome based browsers.
But guess you could insert a dynamic field here:

  "content_scripts": [
    {
      "matches": [
        "*://*/wp-admin/*",
        "*://*/**/wp-admin/*"
      ],

from acf-tools.

RostiMelk avatar RostiMelk commented on August 26, 2024

The problem is that you cannot put any dynamic code in that file. My idea is to have it match something else that would be global for all wp sites, or <all_url> and do the checks in js.

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

Okay let me know once released, could you send me a temproary fix for firefox as well? :)

from acf-tools.

wpsumo avatar wpsumo commented on August 26, 2024

@RostiMelk did you solve this? I'm still using the workaround.

Is the extension still maintained and improved its an amazing core and start but there is more things to add and improve. Happily pay for PRO features for the extension if it could include more features, code style preferences how to format the code etc.

from acf-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.