Customizing SMF > Modifications and Packages
Board Notification Mod - 1.2.1 released
Wilo:
Hi,
Thanks for the clarification. It was working fine for me in the past.
I have removed all individual notifications from my profile. I go to a board, click notify, check any topic and the notification status is still off. This implies the mods not working for my forum correct?
If so can you please advise on the best way to roubleshoot this?
Thanks again for all your help and responses.
W.
SabreOfParadise:
It is called board notification mod. So why are you checking the topic notifications?
To check if it is working:
- Subscribe to a board
- Create a test user
- Make a new topic with the test user
Second test:
- Make a new topic with your own user
- Answer with the test user
If you get an email in both cases the board notification mod is working.
Wilo:
Hi,
Thanks for the tests. I'm checking for topic notifications because of the following statement in the mods description.
--- Quote ---User will get notified of new topics and new posts if subscribed to the corresponding board.
--- End quote ---
Forgive me, i'm now very confused. Running the tests with, and without the mod has the same results.
Thanks again for your help with this.
SabreOfParadise:
The statement you are citing doesn't mention topic subscriptions. Perhaps the word subscription will make it more clear. You can subscribe to a board or to a topic in an unmodded SMF. When you are subscribed to a board you'll get just get notified of new topic not of new posts in existing topics. The board notification changes just that you'll also get notified of new posts in existing topics when you are subscribed to the board. Like the unmodded SMF the board and topic subscriptions are independent. So if you are subscribing to the board you are not subscribing to all topics. That's why you will not see your subscription in any of the topics within the board although you should get notified like you are subscribed to all topics plus when a new topic is created.
That's pretty much what you can already read in the first posting here, just using different words.
Which same results are you getting? If you don't get an email in neither case even the standard board notification for new topics doesn't work.
Check if the topic notifications are working and I suggest to use a different board for that test. Create a new topic there, make sure you are subscribed and add a posting there with the test user.
If you don't get a notification then, too, your email configuration is wrong.
If you get a notification I guess you've messed up something in the code. That would raise further questions: What exact SMF version are you using? How did you install the mod? If with the package manager: Did you get any errors? Do you have any other mods installed? If you still have a copy of your unmodded SMF: Check the files changed by the mod (you can see them in the package manager) with a diff tool like WinMerge in Windows or diff in Linux for differences with the unmodded SMF. If the files are identical you have issues with your package manager and the board notification mod is not correctly installed. If the files are different it's best to pack the modified files in a ZIP file and attach it here so I can have a look at them.
valmiki:
--- Quote ---Hi everyone!!!
I have finally got some help from a very nice person that solved this problem (at least in my case).
I hope that someone can benefit from my experience.
I am still not sure whether my problem was due to a Server Settings issue but here is what I have done to solve my case:
After the installation, I have of course changed the permissions according to the Mod.
At this point every time that I would reply to any Topic this error always appeared:
The email template "notify_boards_body_reply" could not be found.
Notification wouldn't be delivered, Post was posted but the user would be confused by the message and keep wondering whether the Post was posted or not.
Since I have Italian language enabled I had to do the same modification on two files: EmailTemplates.english.php and EmailTemplates.italian-utf8.php
The modification is the following ... I have copied the following code contained in the above files:
--- Quote ---'notify_boards_body_reply' => array(
/*
@additional_params: notify_boards_body_reply
TOPICSUBJECT: The subject of the topic causing the notification
TOPICLINK: A link to the topic.
MESSAGE: This is the body of the message.
UNSUBSCRIBELINK: Link to unsubscribe from notifications.
@description:
*/
'subject' => 'New Reply: {TOPICSUBJECT}',
'body' => 'A new reply, \'{TOPICSUBJECT}\', by {POSTERNAME} has been made on a topic on a board you are watching.
You can see it at
{TOPICLINK}
The text of the reply is shown below:
{MESSAGE}
Unsubscribe to new topics and replies from this board by using this link:
{UNSUBSCRIBELINK}
{REGARDS}',
),
--- End quote ---
Then pasted it right after and then rename the class
notify_boards_body_reply
into
notify_boards_body_reply_reply
When I did this the error message stopped appearing and the Reply was notified to the users registered to that Board.
I hope this is going to help people having this same problem.
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version