Write a function or plugin for WordPress

  • État: Closed
  • Prix: $50
  • Propositions reçues: 1
  • Gagnant: bowenac

Tableau de clarification publique

  • bowenac
    bowenac
    • il y a 7 ans

    Sounds to me like it would make more sense to fix the upload script to not use phpThumb... Send me a PM and I'm sure I can get this working how you want it working.

    • il y a 7 ans
    1. bowenac
      bowenac
      • il y a 7 ans

      Are you around wanted to mention which I am sure you have already done is to create a backup of your posts table before running the plugin etc.

      • il y a 7 ans
    2. bowenac
      bowenac
      • il y a 7 ans

      I just updated the plugin and changed the regex in case your first url is not an image. You mentioned it was but just incase, I am checking for the first http that contains an image extension.

      • il y a 7 ans
  • bowenac
    bowenac
    • il y a 7 ans

    Ok I got this working if you want to test it out. I tested it by inserting some test posts, and replcaed the url in the db with your url example. Then I tossed some images in the uploads folder without using wordpress so that they were not in the media manager. Then ran the plugin, it created the thumbs and they show up in the media manager, as well as using the correct updated url.

    • il y a 7 ans
    1. xfilevw
      Titulaire du concours
      • il y a 7 ans

      Great, looks like you're moving in a right direction, but let me clarify a bit further.
      Once the image is retrieved from the uploads folder and added to the library (you've done that), I want it REMOVED from the post content. Instead, it should be ATTACHED to the post (just update the parent = post ID), and set as FEATURED for this post.
      Also, consider that if the plugin loops through the posts table, it will likely timeout, because there are 20,000+ posts, so we need to handle that somehow as well.

      • il y a 7 ans
    2. xfilevw
      Titulaire du concours
      • il y a 7 ans

      I can't post the HTML that needs to be removed from post (problem here with this form), but there's a pattern.

      • il y a 7 ans

Meilleures propositions de ce concours

Afficher plus de propositions

Comment commencez des concours

  • Publiez votre concours

    Publiez votre concours Rapide et facile

  • Obtenez des tonnes de propositions

    Obtenez des tonnes de propositions De partout dans le monde

  • Attribuez la meilleure proposition

    Attribuez la meilleure proposition Télécharger les fichiers - Facile !

Publier un concours maintenant ou rejoignez-nous maintenant !