Forums

How to patch a plugin (7 posts)

  1. scotto15
    Member
    Posted 7 years ago #

    There is a patch out there to patch the plugin registered only. I have the patch d/l. What do i do to put the patch on?

  2. mikegoe
    Member
    Posted 7 years ago #

    Yes...same question...on a windows box running Apache and WP 1.5. I know in in the unix world I'd run "patch"....

    Michael G.

  3. Cypher
    Member
    Posted 7 years ago #

    Grab Windows version of patch from here:
    http://users.ncrvnet.nl/gmvdijk/utilities.html

    Regards

  4. astorm
    Member
    Posted 7 years ago #

    Get it from the gnuwin32 project. http://gnuwin32.sourceforge.net/packages/patch.htm

  5. scotto15
    Member
    Posted 7 years ago #

    on linux, when i tried to patch it got this error

    patching file registered_only.php
    Hunk #1 succeeded at 26 with fuzz 2.
    Hunk #2 FAILED at 57.
    1 out of 2 hunks FAILED -- saving rejects to file registered_only.php.rej

    does that still mean that it has patched it ok

  6. carthik
    Member
    Posted 7 years ago #

    http://carthik.net/wpplugins/registered_only_patched.phps

    is the patched file, for your convenience.

    Please let me know if it works fine.

    I have to dedicate some time to updating the plugin, but was sort of waiting for 1.5.1. Sorry for the delay.

  7. Trent Adams
    Member
    Posted 7 years ago #

    I can't seem to get this to work now. There are no errors in the plugin, it just gives me a blank page when I am logged in and redirects me to the login page when I am not logged in. It is working for non-logged in members (redirect) but still not working when I am logged in. Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags