Help - Search - Members - Calendar
Full Version: notifications & multiple blogs
Movable Type Community Forum > Additional Resources > Tips and Tricks
wishiwasgolfing
I have 2 blogs set up under 1 mt installation, a family news blog and a photo gallery blog. Each has the text box to leave your email address to be notified of new posts.

If i sign up in the gallery notification list I don't get signed up in the news notification list.

Is there a way that when I sign up for one I can be signed up for the other? I would like to send notifications regardless of if the post was a news entry or photo entry.

Thanks,
r
yurivs
Hi
I want the same thing. Does anyone have any idea?
thanks
[]´s
jackola
QUOTE (wishiwasgolfing @ Mar 28 2003, 08:56 PM)
I have 2 blogs set up under 1 mt installation, a family news blog and a photo gallery blog. Each has the text box to leave your email address to be notified of new posts.

If i sign up in the gallery notification list I don't get signed up in the news notification list.

Is there a way that when I sign up for one I can be signed up for the other? I would like to send notifications regardless of if the post was a news entry or photo entry.

Thanks,
r

I was coming here to find out the same thing...

Use multiple hidden INPUTs?
Use comma separated values (1,2,3) ?

I'd very much like to know if this is even possible.

Thanks!
kadyellebee
I don't know if this helps, but on the Plugin Directory (which uses 4 blogs for the various type of plugins), I use one blog as my notification list storage place -- All of the sign-up boxes on the site subscribe the user to the main list. Then when notifications get sent out, everybody's in one place.

Kristine
yurivs
Hi Kristine
This sounds good. Unfortunately the MT3.0D has a limit of 3 blogs for free users. sad.gif
thank's
[]'s
skia
If you use, as Kristine suggests, one blog to store all notifications, then you can modify the sub send_notify routine of the CMS.pm in lib/MT/App to send all notifications from all blogs on an installation to the notification list of a specified blog.

in the sub send_notify routine (line 2595 in MT 2.66), find:
CODE
   my $iter = MT::Notification->load_iter({ blog_id => $blog->id });

and change to:
CODE
   my $iter = MT::Notification->load_iter({ blog_id => '6' });


Substitute for 6 the number of the blog id where you store your notifications.

Now all the blogs on the installation can send out notifications to emails listed in the notifications list for one of those blogs.

The drawback of this solution is that you can't have a test blog or a blog on the same installation that only sends email notifications to a select list.

(I'd love to see a Test button on the Send a notification form that will only send one email to the author for preview before hitting Send to the whole list. Guess I'll be learning some Perl).

Stacey
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.