amphicar770
03-16-2005, 12:22 PM
VB enables users to subscribe to a forum in order to receive a daily digest of messages. I would like to be able to automatically subscribe users to select forums at the time of registration. User could then unsubscribe later if they wanted to.
A "phase 2" enhancement might add fields to the registration form which tell the user "You will automatically receive a daily email containing the contents of the following forums. Deselect the check box if you do not wish to receive these emails". Another phase 2 enhancement would allow the admin to subscribe a user to the daily digest mail.
If it helps any, here is some info I rcvd from vbulletin support
Quote:
Originally Posted by amphicar770
Is there a way that the administrator (me) can subscribe a given user to one or all forums?
You would need to run a query like this for every forumid (Y):
Code:
INSERT INTO subscribeforum
(userid, forumid, emailupdate)
VALUES ('X', 'Y', 'Z')
Where X is the userid of the user, Y is the forumid of the forum, and Z is the number 0 (no email updates), 2 (daily updates), or 3 (weekly updates).
This should work. You will want to backup first.
Quote:
Originally Posted by amphicar770
Can I establish email subscription to a specific forum by default when a new user registers?
That would require custom code. For help with this I recommend you post on www.vbulletin.org.
A "phase 2" enhancement might add fields to the registration form which tell the user "You will automatically receive a daily email containing the contents of the following forums. Deselect the check box if you do not wish to receive these emails". Another phase 2 enhancement would allow the admin to subscribe a user to the daily digest mail.
If it helps any, here is some info I rcvd from vbulletin support
Quote:
Originally Posted by amphicar770
Is there a way that the administrator (me) can subscribe a given user to one or all forums?
You would need to run a query like this for every forumid (Y):
Code:
INSERT INTO subscribeforum
(userid, forumid, emailupdate)
VALUES ('X', 'Y', 'Z')
Where X is the userid of the user, Y is the forumid of the forum, and Z is the number 0 (no email updates), 2 (daily updates), or 3 (weekly updates).
This should work. You will want to backup first.
Quote:
Originally Posted by amphicar770
Can I establish email subscription to a specific forum by default when a new user registers?
That would require custom code. For help with this I recommend you post on www.vbulletin.org.