WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe To Comments Reloaded
[resolved] multisite features (44 posts)

  1. Ovidiu
    Member
    Posted 3 years ago #

    I'd like to rol this out on a multisite installation but I am unsure where control lies....

    what can the superadmin set up and what can the site admins change?

    it would be nice if the site admins can only change stuff that is relevant to their blog and subscribers to their blog, while giving the superadmin access to everything...

    can you elaborate a bit how the plugin currently works with multisite installations?

    http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/

  2. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi there,

    my plugin doesn't currently have any support for super admins. Each administrator will manage his/her own subscriptions separately. This may change in the future, I was planning to release a separate plugin to "network-admin" all the options. But it will take a while.

    Camu.

  3. Ovidiu
    Member
    Posted 3 years ago #

    ok, I am testing it out right now.
    is there a chance I can slightly modify the plugin so that this option:

    Enable double check

    I'd like to autoactivate the plugin on a multisite installation and some countries do have a legal requirement for a double opt-in...

    On a second thought, how about allowing your plugin to check for a file or a setting in wp-config.php? i.e. if some_key_defined in wp-config.php then load the setting from there? This would allow to have some global options...
    Now I see two options: allowing the siteadmin to set these and not allow admins to unset them or at least allow the siteadmin to set some defaults that the users can change later...

    anything like that seems feasible?

  4. Ovidiu
    Member
    Posted 3 years ago #

    and how about this feature:

    the link: subscribe without commenting could check if the user is logged in and automatically use his email address - as opposed to users who are not logged in and have to manually enter their email?

  5. Ovidiu
    Member
    Posted 3 years ago #

    oh, I see some mails got blocked via amavis:

    May 4 17:23:38 h1870666 amavis[18389]: (18389-02-26) Passed BAD-HEADER, <web1@h1870666.stratoserver.net> -> <target_email>, quarantine: Z/badh-Z8lORwgNdfwG, Message-ID: <231574f3564885f2e54e1d76eac769ec@zice.ro>, mail_id: Z8lORwgNdfwG, Hits: 1.273, size: 1009, queued_as: B562142434C, 499 ms

    need to check with amavis what exactly happened to this email...

    are you not using the wordpress mail functions? just wondering as I use this plugin: http://wordpress.org/extend/plugins/email-log/ to log all emails sent through wordpress and it doesn't log the mails sent from your plugin.

  6. Ovidiu
    Member
    Posted 3 years ago #

    mails came through after all.

    the confirmation link I need to click to confirm my subscription is this: http://adi.zice.ro/comment-subscriptions/?sre=ovizii%40zice.ro&srk=55d35599f7b082fe1267a34f61aba3a9&srp=52&sra=c

    I open it and nothing happens. Am I not supposed to be subscribed if I click that confirmation link?

  7. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    When I click on that link, I see the message that I'm supposed to see:

    Thank you for using our subscription service. Your request has been completed. You will receive a notification email every time a new comment to this article is approved and posted by the administrator.

  8. Ovidiu
    Member
    Posted 3 years ago #

    weird, this is what I see: http://screencast.com/t/NC4XadNhccA might be some caching involved but I am logged in so that should not happen...

    and before, when I posted it here, it was showing: C for awaiting confirmation... anyway, ignore this.

    maybe have a look at my other comments further up...

  9. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Well, if you're logged in as an ADMIN, the system recognizes you and shows you the ADMIN screen :)

  10. Ovidiu
    Member
    Posted 3 years ago #

    lol, ok, that explains a few things ;-)
    I'll get another account for testing purposes...

  11. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    I know, sometimes people are confused when testing this feature :)

  12. Ovidiu
    Member
    Posted 3 years ago #

    hm, tried again on another browser where I am not logged in and I don't see any confirmation, every time I land in my subscription management page. would you mind trying it? just use http://adi.zice.ro as test...

    oh and the title of my HTML mail looks like: Manage your subscriptions on adi's test blog

    that was supposed to be adi's blog its converting ' into '

  13. Ovidiu
    Member
    Posted 3 years ago #

    did you find the time to read through the ideas noted in my previous posts? (see above?)

  14. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    No, I am sorry but I've been busy with my other plugin lately.

    Camu

  15. Ovidiu
    Member
    Posted 3 years ago #

    ok, here are two more questions: what do the numbers mean behind subscriptions? http://screencast.com/t/LfbbXz8mNl

    and how can one change the used template? it would be a lot mroe comfortable if one could use a "real" page to manage subscriptions... i.e. see here: http://screencast.com/t/ppNFP1vLE

  16. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi Ovidiu,

    the number shown next to the title is the post ID, so that you can update all the subscriptions associated to that article using its PID (post ID).

    As for the real page, just follow these instructions

    http://lab.duechiacchiere.it/index.php?topic=71.0

    Cheers,
    Camu

  17. Ovidiu
    Member
    Posted 3 years ago #

    Thanks. I'd like to answer in that forum but I am told registration is currently disabled.

    I can't find that line I need to comment out. has it maybe changed with more recent versions?

    I only find this:

    if (strpos($_SERVER["REQUEST_URI"], $manager_page_permalink) !== false){
                            add_filter('the_posts', array(&$this, 'subscribe_reloaded_manage'),9,2);
                    }

    I have created my template and a page, now I only need to change that code...
    can't find this line: add_filter('the_posts', array(&$wp_subscribe_reloaded, 'subscribe_reloaded_manage'),9,2);

  18. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Yes, you're right, I haven't updated those instructions in a while indeed :) The line you found is the one that needs to be commented out.

    Camu

  19. Ovidiu
    Member
    Posted 3 years ago #

    hm, doesn't seem to work...

    not sure what I am doing wrong. as a guest, not logged in, I visit: http://zice.ro/informatii/spam-si-anti-spam-cum-ne-aparam-noi-pe-zice-ro/

    I click the link to subscribe without commenting and I end up here: http://zice.ro/abonari-comentarii?srp=338&sra=s

    the ID 338 is indeed the one I wanted to subscribe to. The page I end up on is indeed using the template I implemented and the permalink looks right BUT there isn't much on that page: http://screencast.com/t/l98Di4Zl1

    there is no content at all, except further down, I have the option to subscribe to the page where I am meant to manage my subscriptions, this should not be offered :-) especially since comments are turned off on this page...

    does this code still work: if (function_exists('subscribe_reloaded_show')) subscribe_reloaded_show();

  20. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Yes, that code needs to be added to the template page in PHP. Did you associate this template to your existing page?

    http://codex.wordpress.org/Pages#Page_Templates

    Camu

  21. Ovidiu
    Member
    Posted 3 years ago #

    as I said:

    - I created a new page, using the correct slug
    - I assigned the correct template
    - the template as made according to your instructions in that link

    since it doesn't work as shown above, I asked if the code to insert into the template might be outdated too.
    Any other suggestions to check?

  22. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    No, the code is fine. It may be a conflict with another plugin... like caching plugins or seo stuff.

    Camu

  23. Ovidiu
    Member
    Posted 3 years ago #

    ok, I'll leave it as it was before. caching is only turned on for non-logged-in users and the url for the comment management is on the exclude list for caching.
    no other seo stuff running except AIO seo pack and that one isn't changing URLs.

  24. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    AIO is known to have problems with StCR, I would test the page after disabling it (and the caching plugin) and see what happens :)

    Camu

  25. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Ovidiu,

    I'm working on the new version of StCR. I will keep your feedback in mind, but the option to "network admin" the configuration will not be available in this release. I need to better understand how to leverage WPMU built-in functionality to achieve what you asked.

    Cheers,
    Camu

  26. Ovidiu
    Member
    Posted 3 years ago #

    sure, I'll stay tuned :-)

  27. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    If you want to test the new version in advance, just send me a message via

    http://www.duechiacchiere.it/contatto

    and I'll send it to you as soon as it's complete.

    Camu

  28. Ovidiu
    Member
    Posted 3 years ago #

    just found another problem with the latest version, it seems the FROM name is automatically set to admin which is not good on multisite.

    it needs to actually take the username of the blog admin. it already gets the right email address but the user is admin :-(

  29. camu
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hm, this option can be customized in the settings :) Unless I'm not understanding what the problem is...

  30. Ovidiu
    Member
    Posted 3 years ago #

    yes, you are right.

    but we are talking about multisite. that means I enable this plugin, network wide and i.e. 1000 blogs have it active all of a sudden. out of those 1000 maybe 10 will check out the settings since people using hosted wordpress blogs usually are not that tech-savvy so there is a need for GOOD default values.

    I just checked some of the blogs and all have ADMIN as the FROM name while as the FROM email they have the admin user's email address so if the plugin is able to read and set the admin user's email address in the FROM email field, why not also read out the admin user's user name and put it in the FROM name field?

    I hope this time I managed to express myself better? If its still not clear please let me know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic