2 yabba Mar 27, 2011 19:14
![](https://forums.b2evolution.net/media/users/yabba/profile_pictures/.evocache/1693279350432fc95d975f2.jpg/crop-top-80x80.jpg?mtime=1372015408)
Actually, when the link is identified as "Subscribe via Email" clicking that link IS indeed opting in. So opting in lives on!
Well, unless I don't get help it lives on anyway.
How do you handle subscriptions? Is it a separate software where you want a user to be added?
Anyway the best thing is create a simple plugin that will execute sone code after user registration.
I handle subscriptions through b2evo, plain and simple. No separate software. I'm fine editing php to a certain extent, but I'm not the one to create a plugin.
The settings I'm looking for are somewhere in the b2evo code. I just need to know where and how to manipulate them.
¥åßßå, blonde bimbo - You got all those stars under your avatar. Come on - give me something I can USE!
Are you talking about the "Notifications" settings in user profile? Do you want that setting to be enabled for each new user, is that what you need?
No - Notifications only do this: Check this to receive a notification whenever someone else comments on one of your posts.
Under E-mail Subscriptions, NOTIFICATIONS is checked by default. What I want is for the Blog Subscriptions, POSTS to be checked by default.
Forgive any typos and stuff, I'm sipping a brew.
Edit the file /inc/collections/model/_collsettings.class.php line 136
'allow_subscriptions' => 1,
Edit the following to email post excerpts instead of full content.
/inc/item/model/_item.class.php line 4101
replace
.$this->get('content')."\n"
with
.$this->get('excerpt')."\n"
Line numbers may not match, just use search
sam2kb - It appears that you are the damn MAN around here. That's all I needed. Works like a charm.
Again, sam2kb is DA MAN!
By-the-way, my blog is at Blog.AutismEpicenter.com
no problem :)
sam2kb - You are the man. My problem is solved as I typed. In fact, I also changed how the email was formatted.
OK - I didn't tell you that I have 2 blogs on b2evo. The fix you gave me only works on the original blog, not my second one.
If somebody registers on the original blog, when I post they get the post emailed to them automatically. Perfect! But that same person ONLY gets posts from that original blog. When I post on the second blog no email notification is sent to them.
Now, if somebody registers on the second blog, when I post (whether I post on the original or on the second blog) no email notification is sent to them.
Original: Blog.AutismEpicenter.com
Second one: Apps.AutismEpicenter.com
Any idea of how to get it to work with the second blog as well?
So much for opt-in :-S
¥