Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Jagerman] Write user_show_user_icons ="1"

Quote Reply
Re: [Jagerman] Write user_show_user_icons ="1" In reply to
Jason,

While you are cranking out sql statements I would like to do 2 things:

1) I'd like a statement I can run regularly to set post_reply_notify = 0 on all posts in the forum_Post table for all users where user_email is "invalid@email.address" in the forum_User table.

I was thinking of the statement below but I'm not sure it will check against the forum_User table:

UPDATE forum_Post SET post_reply_notify = 0 WHERE user_email IS "invalid@email.address";

2) I would like to remove all subscriptions from forum_ForumSubscriber for all users where user_email is "invalid@email.address" in the forum_User table.

I'm know very little to nothing about sql so I thought I'd ask. I unfortunately have a lot of users with invalid email addresses that came over with a migration and my mail server is being flooded with bounced notifications to this address.

Thanks for the help! Smile

Safe swoops
Sangiro
Subject Author Views Date
Thread Write user_show_user_icons ="1" ArmyAirForces 3621 Sep 27, 2002, 9:53 AM
Thread Re: [ArmyAirForces] Write user_show_user_icons ="1"
Jagerman 3518 Oct 2, 2002, 10:20 AM
Post Re: [Jagerman] Write user_show_user_icons ="1"
ArmyAirForces 3511 Oct 3, 2002, 9:55 AM
Thread Re: [Jagerman] Write user_show_user_icons ="1"
Teambldr 3513 Oct 3, 2002, 10:18 AM
Thread Re: [Teambldr] Write user_show_user_icons ="1"
Jagerman 3501 Oct 3, 2002, 4:20 PM
Thread Re: [Jagerman] Write user_show_user_icons ="1"
Teambldr 3501 Oct 3, 2002, 4:36 PM
Thread Re: [Teambldr] Write user_show_user_icons ="1"
Jagerman 3484 Oct 3, 2002, 7:27 PM
Post Re: [Jagerman] Write user_show_user_icons ="1"
sangiro 3481 Oct 4, 2002, 9:25 AM