Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
Email digest or email notification of posts
Avatar
Kirk Woellert
Guest
Guests
Sep 1, 2010 - 9:47 am

Our site, George Washington Space Society just migrated from Google Groups to Word Press on dedicated hosting. We installed and use SimplePress for our forum- and we really like it. Only one issue. Previously on Google Groups our members could adjust their profile to be immediately notified of a new post or recieve for example a daily or weekly digest. It worked very well since a lot of our members are busy professionals and dont always recall to visit our site and check for announcements, etc.

Is there way emulate such capability in SimplePress?

r/

Kirk

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 1, 2010 - 4:48 pm

We don't currently offer an email digest although there is an open ticket to look into ths for the future.
Forum members can subscribe to topics which will send emails but the auto-subscribe feature only applies to topics they post in.
The best option at the moment are the RSS feeds.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kirk Woellert
Guest
Guests
Sep 2, 2010 - 11:47 pm

There was a- for lack of better word hack that would perform this function. I thought the thread was here in this forum....true?

 

r/

Kirk

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 3, 2010 - 4:05 am

It's fairly simple to change the code to send emails to all members on each post if you know a little php. The file is /library/sf-post-support.php which has the email notification routine in it and selects the users to send it to basefd on subscriptions.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kirk Woellert
Guest
Guests
Sep 5, 2010 - 12:31 am

ok, uhm is this the code ur talking of?

 

…in /library/sf-post-support.php (line 89):

sf_send_email($admins_email, __('Forum Post', "sforum").': '.substr($topicname,0,30).'…'.' ['.get_option('blogname').']', $msg, '', $header);

I think the red one is a bug… sf_send_email() accepts only 4 parameters

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 5, 2010 - 4:36 am

Yes we know. That has been cleaned up in the next update - 4.3.4

But that isn't the bit you want. You want the next section which deals with subscriptions

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kirk Woellert
Guest
Guests
Sep 12, 2010 - 10:51 am

Is there a chance some code prototype might be offered? I looked at the subscription section and its not apparent how to go about enabling notification of posts to the members. I'm getting more and more querries from our members as to why they are not recieving their notifications like they used to from Google Groups. Any insights appreciated.

r/

Kirk

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2010 - 11:01 am

not sure what you want Kirk…  members can already subscribe to topics… and can auto subscribe to topics they post in…  thats very similar to google groups…  there is no digest ability and thats a serious code change…

but if you want them to be notified of EVERY new post in the forum change

$users=$wpdb->get_var("SELECT topic_subs FROM ".SFTOPICS." WHERE topic_id=".$newpost['topicid']);

to

$users=$wpdb->get_col("SELECT user_id FROM ".SFMEMBERS);

and coment out or remove this line

$users = unserialize($users);

and you should be close… obviously havent tested so you may need to play with it…  and this will send ALL users an email on EVERY new post…  so BEWARE of the load on your server if you have lots of members or a busy forum…

and that code is in sf-post-support.php around line 95...

Avatar
Kirk Woellert
Guest
Guests
Sep 16, 2010 - 12:40 am

Hmm. I gave it shot and the my test time out with this message:

"Forum not set - Unable to create post"

I refreshed the page and my test post appears in the particular forum. I waited a few mintues and the email account under my profile (as site admin) didnt get a notification. Is the code change the only mod I must do? Or as you say this is "close".

Avatar
Kirk Woellert
Guest
Guests
Sep 16, 2010 - 12:44 am

I must correct myself. One of our users claims they got a notification. Appears to work but not "cleanly"? i.e. it took about 15 secs for the aforementioned error msg to appear, and then I only saw my post when refreshed the browser.

Thoughts?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625