Welcome to Geeklog, Anonymous Thursday, April 18 2024 @ 10:37 pm EDT
Geeklog Forums
Forum, always notify
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
You can enable notify always for each forum separately - "Track this forum" and you have a user option "auto notify" for any topics that you post or reply to.
Geeklog components by PortalParts -- www.portalparts.com
Geeklog components by PortalParts -- www.portalparts.com
16
0
Quote
Status: offline
=MF=Hack
Forum User
Junior
Registered: 12/19/03
Posts: 32
Are those instructions needing to be individually set for each user?...or are those global settings?
I would like ALL users to receive forum notifications without having to go through each user's settings and adjusting their notification preferences.
In other words, when a new user account is created, they would automatically begin receiving forum notifications.
I would like ALL users to receive forum notifications without having to go through each user's settings and adjusting their notification preferences.
In other words, when a new user account is created, they would automatically begin receiving forum notifications.
2
0
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Receive notifications for what ?
- All new topics and reply posts on all topics?
- All new topics ?
- All replies to topics they create or have replied to ?
Geeklog components by PortalParts -- www.portalparts.com
- All new topics and reply posts on all topics?
- All new topics ?
- All replies to topics they create or have replied to ?
Geeklog components by PortalParts -- www.portalparts.com
0
1
Quote
Status: offline
=MF=Hack
Forum User
Junior
Registered: 12/19/03
Posts: 32
Quote by Blaine: Receive notifications for what ?
- All new topics and reply posts on all topics?
- All new topics ?
- All replies to topics they create or have replied to ?
- All new topics and reply posts on all topics?
- All new topics ?
- All replies to topics they create or have replied to ?
Sorry I didn't clarify:
- All new topics and reply posts on all topics
Our user base is small enough that this would not be an overload on the user's email.
0
0
Quote
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
This solution would be helpful when making a user forum admin. Most users don`t understand the technology of a forum and its adjustments. So if I make someone "deputy" forum admin I`d like to subscribe him to the forum he`s in charge of.
0
0
Quote
Status: offline
ppmnt
Forum User
Chatty
Registered: 06/09/04
Posts: 53
I did this for a GL site we use at work. Only do this if you feel comfortable modifying the tables directly. Make a DB backup first.
The SQL:
This shows current settings:
This updates so all existing forum users will get notified of all replies to their own posts (the "Notify me of replies" checkbox):
COMMIT;
To do this first find the forum ID. The easiest way is to just look at the URL of the forum, e.g.: /forum/index.php?forum=22
Then use this SQL to see if the user is already subscribed to the forum (i'm using uid 4, of course you need to use the uid of the user):
SELECT * FROM gl_forum_watch WHERE uid=4 AND forum_id=22;
If you see something like this (topic_id 0) the user is already subscribed to the forum:
+-----+----------+----------+-----+------------+
| id | forum_id | topic_id | uid | date_added |
+-----+----------+----------+-----+------------+
| 227 | 22 | 0 | 4 | 2004-09-20 |
+-----+----------+----------+-----+------------+
If not, you can insert a row like this:
INSERT INTO gl_forum_watch ( id , forum_id , topic_id , uid , date_added )
VALUES ('', '22', '0', '4', '2005-04-28');
id is an auto-increment value, so you don't need to insert it. 22 is the forum id, 0 means all topics, 4 is the uid, and obviously 2005-04-28 is the date.
The SQL:
This shows current settings:
Text Formatted Code
SELECT uid, enablenotify, alwaysnotify FROM gl_forum_userprefs;This updates so all existing forum users will get notified of all replies to their own posts (the "Notify me of replies" checkbox):
Text Formatted Code
UPDATE gl_forum_userprefs SET alwaysnotify=1; COMMIT;
Quote by 1000ideen: This solution would be helpful when making a user forum admin. Most users don`t understand the technology of a forum and its adjustments. So if I make someone "deputy" forum admin I`d like to subscribe him to the forum he`s in charge of.
To do this first find the forum ID. The easiest way is to just look at the URL of the forum, e.g.: /forum/index.php?forum=22
Then use this SQL to see if the user is already subscribed to the forum (i'm using uid 4, of course you need to use the uid of the user):
Text Formatted Code
SELECT * FROM gl_forum_watch WHERE uid=4 AND forum_id=22;
If you see something like this (topic_id 0) the user is already subscribed to the forum:
Text Formatted Code
+-----+----------+----------+-----+------------+
| id | forum_id | topic_id | uid | date_added |
+-----+----------+----------+-----+------------+
| 227 | 22 | 0 | 4 | 2004-09-20 |
+-----+----------+----------+-----+------------+
If not, you can insert a row like this:
Text Formatted Code
INSERT INTO gl_forum_watch ( id , forum_id , topic_id , uid , date_added )
VALUES ('', '22', '0', '4', '2005-04-28');
id is an auto-increment value, so you don't need to insert it. 22 is the forum id, 0 means all topics, 4 is the uid, and obviously 2005-04-28 is the date.
0
2
Quote
All times are EDT. The time is now 10:37 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content