1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

wp-o-matic duplicate posts. -RESOLUTION

Discussion in 'Blogging' started by GloCk99, Jul 29, 2009.

  1. GloCk99

    GloCk99 Regular Member

    Joined:
    Mar 12, 2009
    Messages:
    368
    Likes Received:
    224
    Location:
    The BigSmoke
    Hey all,

    This is something that was making me pull my hair out for days on end. Finally found a solution and thought i would share.

    This plugin has issues when pulling posts in the newer versions of WP. So there is a workaround. Do the following.

    1. Goto wp-includes
    2. Find post.php and open with an editor (SAVE A COPY BEFORE DOING THIS!)
    3. Search for $suffix = 2 (May not be exact match, search for "suffix" would be easier)
    4. There are 3 instances of $suffix = 2
    5. In each instance replace "$suffix = 2;" with "return 0;" (no quotations!)
    6. Save and run a fetch in wp-omatic to test.

    Job Done. This has worked a treat for me on all my autoblogs.

    Take it easy.
     
    • Thanks Thanks x 2
  2. insider

    insider Regular Member

    Joined:
    Jul 5, 2009
    Messages:
    344
    Likes Received:
    134
    Location:
    Europe
    I guess we should start a thread with all wpomatic hacks / mods / fixs etc :p
     
  3. spatel6549

    spatel6549 Newbie

    Joined:
    Jun 4, 2009
    Messages:
    45
    Likes Received:
    3
    Home Page:
    thanks. I tried it on my site (breakingjist.com).
     
  4. finerpleasures

    finerpleasures Regular Member

    Joined:
    Feb 17, 2009
    Messages:
    322
    Likes Received:
    97
    does this work on wordpress 2.8
     
  5. GloCk99

    GloCk99 Regular Member

    Joined:
    Mar 12, 2009
    Messages:
    368
    Likes Received:
    224
    Location:
    The BigSmoke
    Yeh i'm using 2.8 at the moment and is working fine. Not sure about 2.8.2 though