Sending messages from external site

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
keprta.martin
Registered User
Posts: 4
Joined: Thu Apr 27, 2017 4:27 pm

Sending messages from external site

Post by keprta.martin »

Hi guys,

I have recieved a request from customer to create standalone online tool which could send mass messages to users on multiple phpbb forums. Can somebody explain to me how can I directly bypass standard sending and send message by hard way , by direct insert into database?

Thank you
rxu
Extensions Development Team
Posts: 3711
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Contact:

Re: Sending messages from external site

Post by rxu »

keprta.martin
Registered User
Posts: 4
Joined: Thu Apr 27, 2017 4:27 pm

Re: Sending messages from external site

Post by keprta.martin »

Hi,

I wasnt able to find any solution online so i made one myself. Messages in PHP work in following manner
1. Create message in privtmssgs table
2. Set "rule" , that means who can see message , who is recepient and so
3. Set values in phpbb users table to increment value of unread pm
Post Reply

Return to “Extension Writers Discussion”