Hey there,

I tried to setup the automatic subscriptions on my site, and it does not work! I tried to test on a 4.7 fresh install and it workd fine on that test site.

I tried to update the table on the db as recommended in the readme, but that did not help. I also of course checked the permissions.

I can select to subscribe to the content when I add it, and also when clicking on the links below the content... but the automatic subscriptions does not work. At least it does not seem to show in the "control panel"...

Any ideas of where to look to have more details??

My guess it's that it could be a conflict wit some module... so you need me to show a list of all modules installed?
Thanks

Comments

patchak’s picture

weird things are happening on the site...

1) admin has the subscription checkbox checked for all content types, so I guess automatic subscription is on for user 1
2) all other authenticated users seem to have a box to subscribe to a post, expect if they go their account, and simply press 'submit'.. WITHOUT CHANGING ANYTHING IN THE ACCOUNT.

Just pressing submit in a users account removes the subscribe checkbox in all content types, and actually activates the auto subscribe function...

Does that means that all my users have to go on their account and simply press submit??? It does not really makes sense... Is there a way to update all accounts automatically???

I tested with a lot of accounts that are already created... and my guess is that the behaviour will be OK for new members, but not for old members... IS there a way to mass update their accounts or I have to ask them to go to "edit" and simply press "submit" (3/4 of them won't do it I know that)....

Please help!
patchak

patchak’s picture

ok here is what I found...

If I use the module that is attached in the "themable email content" thread, the auto subscriptions seems to actually work fine....Is it possible that is takes some time to the site to actually "active" these subscriptions, maybe cron has to empty the site's cache or something like that?? This is really annoying and confusing, because now I have some users that have their autosubscription working fine even without hitting the submit button in their account, and still some users that do not work...

ALSO, the checkbox in the content creation form is not there for members that uncheck the 'auto subscription" option in their account! (also with the module from the themable email content thread)

If I use the recent 4.7 branch subscription module, the auto subscription does not work unless I go in the account and the hit edit button without changing anything, as the autosubscription checkbox is checked... BUT users that uncheck their autosubscription option in their account, WILL see the checkbon in the content creation form.

WHat I would like is to use the official 4.7 branch module as it now offers the node title in the email which is great, but can you tell me why the autosubscription does not work unless I manually go and click submit in the users account?

Is this a cache, cron related issue????
Thanks

dziemecki’s picture

Take a step back and use the latest module from the repository. I can't support code I have not personally tested and integrated into the main tree.

patchak’s picture

Hi dziemecki,

I agree to take a step back and to test the latest 4.7 realease.

That's what I did on my test site which is a mirror of my main site...

So here goes;
1) when a user unchecks the autosubscribe box, the checkboxes are there on the content creatin forms, no problem

2)If I select autosubscribe, the user profiles will show a check in the autosubscribe checkbox, but it does not seem to be activated until the user (or me) press submit in the user account, even though nothing was changed (as the option is already selected)...

Please note that this behaviour has been reproduced on another site with drupal 4.7. The only difference between the mirror site and the prod site is that the mirror site uses category module instead of taxonomy ... and the other test site too? could it be a conflict with category module??

Thanks

patchak’s picture

ok.. I installed the latest 4.7 release on m production site, so I replaced the other one that was attached in the thread about the themable email content.

So I can confirm that the same behaviour happens with the taxonomy module and it is not category module related.. ( I guess it was obvious, but still...)

So the behaviour is the same.
1) users do not activate the subscriptions automatically unless the submit button is pressed in their account
2) when the autosubscription option is disabled, all returns to normal as checkboxes appear in the content creation form for the user.

So the only problem left would be to find a way to refresh the user's status without having to edit their account manually (pressing the submit button)

Thanks for the help.
Alex

dziemecki’s picture

Finally, something I can respond to: The behaviour you are seeing is "by design". This module is not intended as a tool to "force" emails on people so, when you set the autosubscribe option to "on", you're just making that user profile form load with it pre-loaded IF THEY HAVEN'T ALREADY SET IT. If they have made a choice, the user's choice trumps. In any case, there is nothing for this variable in the user's profile until they submit it. I suppose the admin could open a user's profile and submit the variable for them, but there is not system-wide profile update API that I am aware of. Not sure I'd want to use it, even if there was.

Hope that makes sense to you.

patchak’s picture

Ok thanks for the answer... well at least I know where to stand...

As for it making sense, I'm not sure... as my users all want to have autosubscription but now I have to tell them to go edit their account... Well, it's not so bad.. so OK! Thanks!

patchak

patchak’s picture

After thinking about it...

This autosubscribe option does not really change anything...

I mean, the new users will have it anyway pushed (forced) in a way, because not much of them will really "edit" their account. And the other ones have to go there and to resubmit their account to get it..

I mean, if the purpose is not to force anyone, I think it fails because the new users will have it anyway?

It's just that I imagined that autosubscribe actually acutosubscribed everyone to the nodes they particpated in.... Some kind of "opt-out" system instead of opt-in...

Thanks for the answer,
patchak

dziemecki’s picture

Assigned: Unassigned » dziemecki
Category: support » feature

re: "I mean, if the purpose is not to force anyone, I think it fails because the new users will have it anyway?"

The box is checked, but it isn't set until they hit the submit, so even new user's aren't forced. They are just presented with a "suggested" configuration, which they can choose to use, or not.

If a default "autosubscribe" could be implemented with a user "opt-out" option, it would probably be okay. I'll consider that as a possible future upgrade.

patchak’s picture

Thanks for the response.

I think that autosubscribe/opt-out feature would be really useful for starting sites like mine, as it happens a lot that new members post a message on the forums, and just never come back to check responses.. So I have to mail them to tell them to come back.. I AM the autosubscription n my site ;)

patchak

mediafrenzy’s picture

I'm needing this feature also - as I'm wanting to replicate the standard forum behavior of notifying my users when someone replies to a thread they've posted in.

Unless there's already another module which can do this?

dkg’s picture

Status: Active » Closed (duplicate)

This ticket is the same as issue 108656 which i've just submitted a patch to.