Notify new topic only

Started by mawds, November 15, 2012, 10:00:25 AM

Previous topic - Next topic

mawds

Hi, just moving from eblah and have pretty much found my way around all I need apart from emailing members on a new topic on a specfic board. This nearly hit's the spot http://www.simplemachines.org/community/index.php?topic=446840.msg3140746#msg3140746

We are a motorbike club and arrange rideouts, therefore when a member posts up a new rideout or we post the newsletter up I want to email all members. I do not want to have follow up emails only on new topics. If they want to have emails on replies that's up to them. Other boards are general discussion etc. so no need there.

as we are a local group membership is around 60 people so no worries about server load :) I may have to put up another forum soon though that would be public, so lot's more members. It's a toss-up between facebook and a forum atm on that one!

Does anyone know of anything? that will also apply when a new member signs up.

thx

mawds

Hi

noooo responses :/ bit like the eblah boards!

I found the smf_log_notify table in the sql database and figured that I could just insert them as they register. Tried it with one and it works OK by the looks of it, logging into the test account and viewing the board shows it as 'unnotify' now. Are there any other area I need to insert this into or will that one table be the only lookup area/cross reference??

thx

Joker™

Umm, I'm always confused when it comes to email thingyy :P.

To my understanding you want to send the email to all members when a new topic is created in a specific board and not for all replies. Is that correct?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

mawds


emanuele

The easiest way is to tell your members to click on the "Notify" button present into the board (see for example here: http://www.simplemachines.org/community/index.php?board=60.0 ).
The alternative *could* be that at registering the notification would be set to on for the specific board...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

mawds

thanks, that is the problem, some members need help navigating a keyboard nevermind clicking on things :D not exactly computer savvy ;)

oh, and I'm already sick of this boards enter the letters to post - how many posts before it goes?

emanuele

If you need something !quick", you can open Subs-Members.php and add this code:
$smcFunc['db_insert']('ignore',
'{db_prefix}log_notify',
array('id_member' => 'int', 'id_board' => 'int'),
array($memberID, 11111),
array('id_member', 'id_board')
);


just after the line:
$memberID = $smcFunc['db_insert_id']('{db_prefix}members', 'id_member');


Instead of "11111" put the id of the board you want has notifications on.
This is valid to turn on the notifications of 1 board. If you need more you have to add a new equivalent block of code.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

MrPhil

It's either 5 or 10 posts before you're not required to solve a CAPTCHA. I don't recall which.

Advertisement: