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?
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