PDA

View Full Version : Check for New Replies



admin
18-01-2012, 08:07 PM
What is it?
----------------------------
This mod checks for any new replies when posting to a forum or group discussion. If there are new posts since the last time the user has viewed the thread, the user is redirected to the preview page and a warning message is displayed. (This was originally requested here: http://www.vbulletin.org/forum/showthread.php?t=264036). The mod also adds a "Topic Review" section to the bottom of the Full Editor/Preview (Go Advanced) page for group discussions similar to the one for forum threads, and marks the new posts with a red "New" message.


Installation:
----------------------------
1) In the Product Manager in AdminCP, import the product XML file (product-kh99nrchkvb4.xml).

2) If you would like to allow individual users to disable the feature, a new user profile field using "Add New User Profile Field" in the AdminCP. Then in the options (Settings -> Options -> New Reply Check) enter the field number and "disable" value, separated by a colon. For example, you could create a "Single-Selection Menu" field with these options:

Check for New Replies
Do Not Check for New Replies

Then in the "Allow User To Disable New Reply Check For Forums" option field enter

X:Do Not Check for New Replies

replacing X with the actual field number. You can create a second profile field for disabling group discussion checks, or use the same field to control both.

3) The warning message can be customized by editing the "kh99nrchk_message" template (under New Reply Check Templates) and/or providing a translation for the kh99nrchk_message phrase.

4) The "new post" message can be customized by editing the "kh99nrchk_new" template (under New Reply Check Templates) and/or providing a translation for the kh99nrchk_new phrase.


Uninstalling:
----------------------------
1) Uninstall the product from the Product Manager in the AdminCP.

2) Using the Profile Field Manager, delete any user profile fields that you created during installation.


Notes:
----------------------------
1) Enabling new reply checks for quick reply (which is the default) currently disables AJAX for quick replies.
2) Has only been tested on vB version 4.1.3.


History:
----------------------------
1.0.0 (June 7, 2011)
- Initial Release

Screenshots:

http://s6.postimage.org/bn41yfgm7/nrchk_sg1.jpg

http://s6.postimage.org/ndhzft9en/nrchk_sg2.jpg