Customizing SMF > Modifications and Packages
Board Notification Mod - 1.2.1 released
SabreOfParadise:
The code I have posted is from my Mod and describes how the package manager should change the SMF code and how these changes can be reverted. So I won't recommend to change anything manually in the SMF code.
--- Quote from: valmiki on May 11, 2012, 02:57:36 AM ---This morning I have changed the admin language to English and tried to write a reply
--- End quote ---
Are you sure the user you are using also has English as his selected language?
If you are sure please check this:
* Open the file Themes/default/languages/EmailTemplates.english.php in a text editor.
* Search for 'notify_boards_body_reply' => array(
The text editor should take to this part of the code:
--- Code: --- '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 code ---
If this part is not in the file something went wrong during your installation of the Board Notification Mod.
If you can't find this file you don't have the English package installed or maybe a different one like british English or the UTF-8 version.
valmiki:
... well, something went wrong during the installation coz that string ain't there ... :o
What to do now?
Maybe I just have to uninstall and install again but somehow I fear that might not work ... mh!
SabreOfParadise:
Are you sure your package manager works?
It may be that it cannot modify the files. At least that's what's happening on the Linux server I'm running my main SMF system on. In my Win test system the package manager works so I'm cheating by just copying the changed files from the test system to the main system. :-[
valmiki:
it seems like it is working coz when it does the checks all works except those for the french and German language.
The server I am working on is Linux so it might as well be what is happening to you that doesn't copy properly the files over.
Should I modify some permissions for files and folders during the installation?
Is there a way to copy things manually?
It feels like I am this close to fix this thing ... thank you!
SabreOfParadise:
The checks are not the problem but the files aren't changed. There is also no error message. The error messages for German and French are because you don't have these languages installed and can therefore be ignored.
To make sure your package isn't you can check the file ManagePermissions.php and search for mark_notify_more. If that is not there I'd say your package manager doesn't work (given your FTP settings are correct). Then your SMF updates will also not work by using the package manager which sucks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version