WordPress.org

Ready to get started?Download WordPress

Forums

Moderate New Blogs
[Plugin : Moderate New Blogs] Link 'Click to activate' broken (15 posts)

  1. maxime_k
    Member
    Posted 3 years ago #

    Hello,

    In the dashboard, when i click to activate new site with Super Admin account, i have an url error :

    http://mysite.com/wp-admin/network/ms-edit.php?action=confirm&action2=activateblog&ref=%2Fwp-admin%2Fnetwork%2Findex.php&id=3739&msg=You+are+about+to+activate+the+blog+newblog

    Thanks for your response

  2. irifkin
    Member
    Posted 3 years ago #

    It looks like this plugin is no longer maintained, but I was able to get it working. The two things that need to be fixed are:

    1) The paths to the files. ms-edit.php doesn't exist. It should bee /wp-admin/network/edit.php

    2) It needs the _wpnonce in the URL.

    I'd be happy to share a patch file with you or anyone else interested. I'm not sure if there's anywhere I can post it on here?

    Regards,
    Ian

  3. marikamitsos
    Member
    Posted 3 years ago #

    @irifkin That would be great Ian.
    I know lots of ppl who would love to use it again. It is one of a kind plugin
    As for posting you can use the pastebin over here.

  4. irifkin
    Member
    Posted 3 years ago #

    @marikamitsos Sure thing. I've posted the patch file: http://pastebin.com/HMJ37yfh

    For those comfortable with UNIX, you can run the following at the command line:

    patch ds_wp3_moderate_new_blogs.php < moderate.patch

    where "ds_wp3_moderate_new_blogs.php" is the path to the plugin and "moderate.patch" is the path to the patch file I'm sharing with you.

    If you're not comfortable with this, you can manually make the changes. The lines beginning with "--" are the lines before the patch is applied and the lines beginning with "++" are the lines after the patch is applied.

    Hope this helps!

  5. maxime_k
    Member
    Posted 3 years ago #

    thanks for that

  6. nims
    Member
    Posted 2 years ago #

    Hi ... can you kindly provide the patched file please, that can be used as it is.

  7. irifkin
    Member
    Posted 2 years ago #

    Hi Nims,

    Okay, here you go: http://pastebin.com/GaKW3ZPX

    Ian

  8. David Sader
    Member
    Plugin Author

    Posted 2 years ago #

    Here is the "works for me" update.

    http://wordpress.org/extend/plugins/moderate-new-blogs/

  9. irifkin
    Member
    Posted 2 years ago #

    Thanks for updating it, David. -Ian

  10. nims
    Member
    Posted 2 years ago #

    Thanks David .. cheers !
    I tried it and its working but there are few more things that you can add. I would like to request you to incorporate the following.
    Like when a person clicks on activation link in the mail, he should get a message saying
    "Thanks for verifying your email. Your site is under moderation and will be activated soon by the site admin if found appropriate."

    At present it shows a confirmation message that says your site is active, which is wrong.

    Also, once admin approves the site, user should get an email telling that your site is active now.

  11. irifkin
    Member
    Posted 2 years ago #

    Hi nims,

    when a person clicks on activation link in the mail, he should get a message saying

    I think this assumes the person gets an email. What if the person already has an account? In my installation, for example, I have people login with a SSO system, so new accounts are created automatically and consequently they don't get a verification email for their address. With that in mind, my users do not see the confirmation message you described.

    Is this email standard WordPress functionality or part of a different plugin?

    Also, once admin approves the site, user should get an email telling that your site is active now.

    I created a seperate small plugin (if you can even call it a plugin!) to send an email like this. Basically I just created a function that sends an email and applies it to the activate_blog action.

    It could be a nice feature to have built-in, but it can be separate.

    Ian

  12. David Sader
    Member
    Plugin Author

    Posted 2 years ago #

    @nims this plugin does not alter the default messages sent out by WordPress - I would't need the feature you suggest in my installs, so I doubt I'll add it. In my install I may approve a whole batch of new users/blogs before users even get online to check their mail - so the addition would be moot. The default message when users follow their link to an inactive blog is sufficient for me. Sorry.

  13. David Sader
    Member
    Plugin Author

    Posted 2 years ago #

    @irifkin You said "I created a seperate small plugin". That's my thinking. I have dozens of small plugins doing all kinds of little things. I much prefer the collection of small plugins rather than an ├╝ber file trying to do too much.

  14. nims
    Member
    Posted 2 years ago #

    @David Oh I thought you had created this plugin for the community as a whole :-)
    Anyway am greatful for whatever you have shared ... cheers !

  15. nims
    Member
    Posted 2 years ago #

    @irifkin My point was basically to let the users know that there is still a final moderation step to be taken by the admin before their blog/site gets activated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic