You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
Slavok wrote:This code will send notifications about new post. Add this code after the line 208...
Many Thanks. I tried it, but it seems that the code is not run. I tested by doing:
system("echo $mytext > /path/to/file.txt");
Nothing is written. I moved the echo test further up in post.php, and then it wrote the text to the test file.
Also, the odd thing is that pun_mail(...) never sends anything even at the top of post.php, BUT when I subscribe to a topic it sends the mail. I guess the code is just in the wrong place?
What is different after subscribing to a topic? (I'm using SMTP, btw).
Thanks,
Marcus
Yes, I looked at two notification mods. They required a huge number of edits, and I couldn't get the one I tried to work -- maybe no longer worked in my 1.2.x version.
Anyway, none of the mods really do what I need, which is one simple task:
Just send a copy of every post to the admin or moderators. I tried a few hours editing the subscriber and post scripts in PunBB, but I couldn't get it working because I don't have enough knowledge of the code.
Thanks for any hints or code snippets.
Does anybody know how to modify 1.2 so that I can get a copy of each post?
Thanks.
Posts found: 3