We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

meesage sent in email | Forum

Topic location: Forum home » Support » General Questions
Stan Jensen
Stan Jensen Jul 1 '19
When someone sends someone a message, the recipient gets a copy of the message in the email notifying them of what the message says


Has anyone figured out a way around that so they get notified there is a message waiting for them?  If they put in their WhatsApp number then people do not have to login in to see what it defeats the purpose of a paid membership


Thoughts?


dave Leader
dave Jul 2 '19
A plugin could do this quite easily, maybe someone could do a plugin and call it something like message waiting  :0)


I do believe there is a hookable event before the message goes out that the plugin could hook into and rewrite the message. 

Stan Jensen
Stan Jensen Jul 4 '19
you had me until you said hookable event, how is that created?
dave Leader
dave Jul 4 '19
Many oxwall plugins use events like registration, adding a photo, deleting a photo, that sort o0f thing, when you do something on oxwall its called an event.  


Oxwall is set up to where you can listen for that event, before (such as before deleting), during, or after the event, and then have your plugin do something. 


Check out the classes folder and the event_handler.php file.   You will see events listed on the bottom, that code binds your plugin to that event and then runs your function in the listener accordingly. 


This is called hooking into an event. 


There are too many events to list here but there are alot of them.   Most of them are listed in the core files if i remember correctly. 


Basala mander
Basala mander May 12 '20

Quote from dave Many oxwall plugins use events like registration, adding a photo, deleting a photo, that sort o0f thing, when you do something on oxwall its called an event.  


Oxwall is set up to where you can listen for that event, before (such as before deleting), during, or after the event, and then have your plugin do something. 


Check out the classes folder and the event_handler.php file.   You will see events listed on the bottom, that code binds your plugin to that event and then runs your function in the listener accordingly. 


This is called hooking into an event.  visit official site


There are too many events to list here but there are alot of them.   Most of them are listed in the core files if i remember correctly. 


Many thanks for that complete information!
The Forum post is edited by Basala mander May 13 '20
carson
carson Sep 27
AN9 WhatsApp is a modified version of the original WhatsApp application, designed to provide users with additional features and customization options. Unlike the standard version, AN9 focuses on enhancing user experience by offering a variety of themes, privacy settings, and advanced functionalities that cater to individual preferences. It has gained popularity among users looking for a fresh take on the classic messaging app. For download Click here