email notification on new posts to all registered users in phpbb - forum

Am developing a forum for internal use in our company using phpbb. All users are created by admin, so there is no worry about sparm users. I want to send email notification to all registered users on each new post in a specified forum (say company announcement).
I know there is a subscribe forum functionality. But I dont think its a good way to tell all users to subscribe that forum.
Is there any way to achieve this?

in \includes\functions_user.php
FIND:
'user_notify' => 0,
REPLACE IT WITH:
'user_notify' => 1,
That will set the reply notification to default for new users.
IF you have already existent users, then run the following query via phpmyadmin:
UPDATE phpbb_users
SET user_notify = 1
WHERE user_type <> 2;

You can modify the phpbb code to automatically subscribe them to the forum in question upon registration. That way you don't have to tell the users to manually do that.
Pete

As a workaround, if you don't mind doing it, you can send a PM to all registered users every time you post there, with the same content. I'm a member of a phpbb forum where when making a forum post, there's an option to select all registered users.

Related

Direct link to newsletter - kentico 9

We are using kentico 9 at work for our website.
You can subscribe to our newsletter using a "box" which is integrated all the way down on our homepage.
However, I would like to have the opportunity to share a direct subscription link on social media so people can click on it and subscribe to the newsletter.
Now, I have to invite people to go on our website and to go down the page to subscribe which is inconvenient (nobody is going to do this).
I can't find a way to get a direct link (I'm not a developer).
Does anybody know how I could do it ?
Thanks in advance ! :D
Anne
If someone want to subscribe to newsletter, he/she must provide you with email address and I'm not sure that can be done with direct link, because you are not aware of user email address (your target group is unknown group from social media).
You can set up anchor in 'subscribe to newsletter' link, which will automatically scroll down your page to box at the bottom, but I don't think that is the best solution. Maybe, to create a new content page, with only purpose to subscribe users to newsletter (have some introduction text, and widget for 'newsletter' where users can subscribe). I don't know is that what you are looking for, but it is nicer solution then asking people to scroll down and subscribe to newsletter.
Best regards,
Dragoljub
My suggestion would be to create a specific landing page with that signup form on it. This way you can have a link you share in social media that takes them directly to that page and allows them to put in their info (first, last and email) and sign up for that specific newsletter. This way it's a specific call to action on that page and allows for the user to only do one thing.

Branch.io: Extract custom value from link

we're facing a problem right now: We're using the SMS gateway feature from branch.io which simply does not work properly worldwide (e.g. Lituanian cell phones won't receive any messages at all).
Therefore i need a fallback method for people that cannot receive an SMS to their phone with the downloadlink in the Appstore. (The branch.io Links have an effect on the branding of our app)
The fallback is to let them use a voucher code which COULD be generated from a custom value that we store for each Link
This is an ordinary Link with its 2 custom values
The landing page http://learnmat.ch/spark7 opens in the browser and i'd like to be able to identify the SponsorID on the website so that i can return a voucher code that is suitable for the specific SponsorID of the Link.
Right now i've already integrated the Web SDK into the website.
Is that "reverse engineering of the SponsorID" possible based on the Link and the WebSDK integration?
I'd really appreciate your help!
Thank you,
Sven
Jackie from Branch here.
Our SMS page service supports international numbers but only if the number the SMS has to be delivered is in the same country the SMS is being sent from. Could you please make sure the sender is physically located in Lithuania? I'd also suggest creating your own Twilio integration if you want to bypass these restrictions we have on our system https://docs.branch.io/pages/web/text-me-the-app/#use-your-own-sms-service
Regarding your fallback method: you want to have users click on a Branch link that will open your website and based on the link data (sponsor ID), you want to provide them with unique voucher codes? If my assumption is correct, you can achieve this by custom event tracking and user identity tracking. (relevant docs: https://docs.branch.io/pages/dashboard/analytics/#user-value-attribution)
Hopefully, this helps. Let us know if you have additional questions about the info above, or about anything else related to integrating Branch.
Best,
Jackie Choi

subscription service - email sending

Am looking for some help in a subscription service email sending from domino using Xpages.
scenario : Paul Goodman is a building contractor and he would like to subscribe to his category named "Buildings and Road”.
When someone asks question about his category "Buildings and Road” he and everyone else that have the same subscription , should get email. I have a LS Agent that goes thought a view to send these emails but I would like
to have his done as soon as the message is saved and it has to send one at the time to void spam filters. I know I could execute the LS agent onSave but do you see another solution maybe with JavaScript ? I have only seen some .NET & PHP solutions here.
You have a series of options here:
Extract your logic into a LS library, so it can be used by several agents. Then have on that runs on save (and another one on a new subscription)
Use a DOTs task to listen to documents save - you can write your logic in Java then
Call an ?OpenAgent URL from your client side JavaScript
Put it into your XPage for new articles
Since you have the agent already, I'd go with the first one

Don't let member to send message in telegram group

I'm looking for a way in telegram group that don't let member to send message or, delete message after a person send.
Is it possible to create a bot like this how help admins to stop chatting after start the bot?
Is there any other way to do this?
Now you can do this.
Restriction from chatting in group:
Now you can achieve this with restrictChatMember() Bot API method.
Deletion of users' messages:
For deletion use this method: deleteMessage()
DON'T forget to grant admin rights to your bot.
11/07/18: This answer is no longer up to date please look at woozly's answer
Short answer: No (at least not with the bot api)
Longer answer:
There currently is no way of stopping someone from chatting without outright kicking them out of the group. Additionally, bots currently lack the ability to delete messages so that's also not doable with the bot API.
Edit: Actually it's probably possible using the Telegram API instead of the Telegram Bot API where you would just create a regular user which is controlled programmatically to delete messages of "muted" people. I assume that this is likely not as simple as doing stuff with the bot API but in theory, it's possible.
#telemethebot has exact the feature you request:
Silent Mode
When group silent mode switched on, only group administrators can speak in that group. This help you turning your Telegram supergroup to a channel temporarily.
Teleme - Features

Telegram bots not working for all users

I have created several Telegram bots. They work for my account and also on several other accounts that I have tested with.
But I get reports from several users saying the bots never respond.
It there some user setting that would prevent an account from getting messages from bots? Or any other idea why it would not work for some accounts?
Okay, found the issue, it was pebcak.
This issue was it was failing for users that had no last name set in their account because our code was accessing the last_name from the json data.
So make sure your code does not rely on a first or last name.
But I get reports from several users saying the bots never respond.
This is very unusable information. In default all users are equal for the bot usage and no difference between any users if you don't implement it programmatically. But if they says so then try send the POST query to those users in Postman for example and take a look in response. After this it must be clear what kind of problem there.
An example of POST:
https://api.telegram.org/bot{your_bot_token}/sendMessage?chat_id={user_chat_id}&text=test
Note that chat_id those users required.

Resources