A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Email digest or email notification of posts
Sep 1, 2010
9:47 am
Kirk Woellert
Guest

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

Sep 1, 2010
4:48 pm

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

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.

Yellow Swordfish
Sep 2, 2010
11:47 pm
Kirk Woellert
Guest

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

Sep 3, 2010
4:05 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

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.

Yellow Swordfish
Sep 5, 2010
12:31 am
Kirk Woellert
Guest

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

Sep 5, 2010
4:36 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

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

Yellow Swordfish
Sep 12, 2010
10:51 am
Kirk Woellert
Guest

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

Sep 12, 2010
11:01 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

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…

Sep 16, 2010
12:40 am
Kirk Woellert
Guest

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".

Sep 16, 2010
12:44 am
Kirk Woellert
Guest

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: America/Chicago

Most Users Ever Online: 444

Currently Online: steve.engelking, irlandes1
50 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2626

Members: 7363

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10898

Posts: 79583

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22240), Mr Papa (23688)