WordPress.org

Ready to get started?Download WordPress

Forums

Downgrading problems (17 posts)

  1. CompleXed
    Member
    Posted 8 years ago #

    Well,
    I wanted to use a few plugins and can only use it in WP 1.5 So I downloaded the downgrade script of http://www.somethingunpredictable.com and ran it. After I finished and accessed my admin panel it told me to upgrade back to 2.0.
    Any ideas on how to get around this?

    Thanks,

  2. Kafkaesqui

    Posted 8 years ago #

    Uh, you did delete your WordPress 2.0 files and replace them with the WP 1.5.2 install, correct?

  3. CompleXed
    Member
    Posted 8 years ago #

    Ah, no. So where do I get the 1.5.2 files?
    And do I run the downgrade first? Then delete the 2.0 files and then upload the 1.5.2 ?

    Or? Thanks!

  4. Kafkaesqui

    Posted 8 years ago #

    "And do I run the downgrade first?"

    I can't answer that, as I've not used the script. But older WP versions can be found here:

    http://static.wordpress.org/archive

  5. CompleXed
    Member
    Posted 8 years ago #

    What files would I be replacing as well?

  6. CompleXed
    Member
    Posted 8 years ago #

    Ok,
    downloaded 1.5.2 so should I replace all my folders? Or is there some sort of step - by - step guide around here?
    Thanks

  7. petit
    Member
    Posted 8 years ago #

    Well CompleXed, your question and approach makes me a little worried. The guy who wrote the script says:

    "In light of the recent monstrosity that is WordPress 2.0, I’ve thrown together a script"

    I, and many others, wouldn't agree. WordPress 2.0 is very stable and in the newly released 2.01 quite a few bugs are fixed. I just upgraded from 2.0 to 2.01 in five minutes and everything worked right out of the box *following instructions*.

    I also would be careful to use a "thrown together" script for changing the database back to the 1.5.2 version, unless this guy is a known MySQL guru.
    His script is humbly versioned as 0.1.

    Out of curiosity I must ask: Why do you want to downgrade?
    There must be a good reason so please share it with the rest of us!

  8. Ilione
    Member
    Posted 8 years ago #

    petit, OP said it was to use some plugins that were only compatible with 1.5

    CompleXed: I suggest you wait for the plugins to be upgraded or look for other plugins that do the same job. Most plugins have been upgraded or are in the process :o)

    Ilione
    x

  9. petit
    Member
    Posted 8 years ago #

    Ilone: I'm a lousy reader sometimes, thanks.
    My apologies go to CompleXed!

  10. CompleXed
    Member
    Posted 8 years ago #

    No apologies necessary :).

    The only plugin that I wanted to use was the "Registered Users Only" by Carthik Sharma. If you know of another script that works like this and for 2.0 I'd love to check it out!

  11. petit
    Member
    Posted 8 years ago #

    Are you sure you need a plugin for what you want to do?
    Did you read about the new Roles & Capabilities at http://codex.wordpress.org/Roles_and_Capabilities#Subscriber

    Of course you have to take other precautions too, such as stopping the indexing by search engines, using robots.txt.
    Not all robots are well behaved :)

    Reading about the "Registered Users Only" plugin, Carthik says that you may have to shut down the feeds, as they seem to get out anyway.

    Another veeery old method is to use standard http Basic Authentication. You might know of the method ?
    In the .htaccess file you add:

    AuthType Basic
    AuthName "Safe"
    AuthUserFile /home/dir/htpasswd
    Require valid-user

    where AuthUserFile points to the htpasswd file where the encrypted user/password for each user resides.

    But, I guess you don't want to know this, as it means you have to manually run the htpasswd program to add new users ;)

  12. CompleXed
    Member
    Posted 8 years ago #

    Honestly, all I really get from the roles and capabilties thing is that subscribers can 'read'. All I really want is 'guests' who haven't registered to see a register page or a login page or something.
    ^ Hopefull that made a bit of sense.

  13. petit
    Member
    Posted 8 years ago #

    Maybe this discussion can lead you somewhere:
    http://wordpress.org/support/topic/8560/page/2?replies=42#post-195342.
    Look at the last entry ( second page ) suggests that someone succeded to hide the whole blog for non registered guests and still offer them a form to register.

  14. CompleXed
    Member
    Posted 8 years ago #

    Works like a charm!
    Thanks a lot petit!

  15. petit
    Member
    Posted 8 years ago #

    Happy to here that!
    It's always a pleasure when searching leads to finding :)

  16. CompleXed
    Member
    Posted 8 years ago #

    Ah, well it seems I've got a new problem.
    I did everything that was posted... now users login and post comments. Except when they post a comment it shows up as "Anonymous"
    Any idea why that is?

    This was the code I added between *** "require_once( dirname(__FILE__) . '/wp-config.php');" and "wp();"...

    // Is there a user logged in?

    get_currentuserinfo();
    if (! $user_ID ) :
    include './wp-login.php';
    die();
    endif;

    // end

    ----
    I'm confused why it would show them up as Anonymous...

  17. CompleXed
    Member
    Posted 8 years ago #

    It must have something to do with the getting the names from the database?
    Perhaps I need to change a line in the code that I added?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags