Thread Starter
Ovidiu
(@ovidiu)
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);
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
Thread Starter
Ovidiu
(@ovidiu)
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();
Yes, that code needs to be added to the template page in PHP. Did you associate this template to your existing page?
http://codex.ww.wp.xz.cn/Pages#Page_Templates
Camu
Thread Starter
Ovidiu
(@ovidiu)
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?
No, the code is fine. It may be a conflict with another plugin… like caching plugins or seo stuff.
Camu
Thread Starter
Ovidiu
(@ovidiu)
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.
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
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
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
Thread Starter
Ovidiu
(@ovidiu)
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 🙁
Hm, this option can be customized in the settings 🙂 Unless I’m not understanding what the problem is…
Thread Starter
Ovidiu
(@ovidiu)
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.
Good point, Ovidiu. Unfortunately it seems like WordPress doesn’t allow that:
http://codex.ww.wp.xz.cn/Function_Reference/get_bloginfo#Parameters
As you can see there’s a value for admin_email, but nothing about admin usernames 🙁
Camu