Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Check for New Replies Details »»
Check for New Replies
Mod Version: 1.0.0, by kh99 (Moderator) kh99 is offline
Developer Last Online: Nov 2014 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (2 votes - 5.00 average) Installs: 25
Released: 07 Jun 2011 Last Update: 07 Jun 2011 Downloads: 98
Supported Uses Plugins Auto-Template Re-usable Code Translations  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	nrchk_sg1.jpg
Views:	572
Size:	55.6 KB
ID:	129818Click image for larger version

Name:	nrchk_sg2.jpg
Views:	243
Size:	76.6 KB
ID:	129819

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Canned Replies v4.x - User Saved Text for Replies, Threads, PMs & Infractions bananalive vBulletin 4.x Add-ons 231 01 Oct 2014 13:48
Canned Replies - User Saved Text for Replies, Threads, PMs & Infractions bananalive vBulletin 3.7 Add-ons 292 08 Aug 2013 07:53

Comments
  #2  
Old 07 Jun 2011, 21:02
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
<3

Very nice to see this for vb4!

A few things I'd like to see if you ever feel like implementing those:

- Make ajax quick reply working, instead of a warning message, reject the post via error so the user gets the default vbulletin popup when something with the post is not right

- If a user sees the warning in full edit mode, mark the new postings with a special css class in the reviewbits so you see on first look which posts are new. An anchor link from the message to the first new reviewbit would be nice as well.


Thanks!
Reply With Quote
  #3  
Old 07 Jun 2011, 21:26
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Thanks for the feedback. Can you explain the CSS thing in more detail? I understand the basics of CSS, but - How would I add the class to the reviewbits (can it be done without editing the template?). Then where would the class be defined?
Reply With Quote
  #4  
Old 07 Jun 2011, 21:56
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
hm, I found the hook "newreply_form_reviewbit" in newreply.php. This is where the script packs the reviewbits one by one. You could try to get the post id from the last post before the user started his reply, then check for every post in the reviewbit, if it's newer.
Then you can add the css class "isnewpost" for instance to the class list and this way, users could style their templates with an unique and eye-catchy look for the new posts
The css class would just be defined in the additional.css template

I didn't check yet how exactly your plugin works, but I'm sure you'll find a way.
Reply With Quote
  #5  
Old 07 Jun 2011, 23:55
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
installed + tagged + 5 stars + MOTM

thanks
Reply With Quote
  #6  
Old 08 Jun 2011, 04:47
BlackThorn BlackThorn is offline
 
Join Date: Aug 2009
Love it, thank you! But now looking for vBulletin 3.8.x
Reply With Quote
  #7  
Old 18 Jan 2012, 08:47
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Wondered if this still works with the new Editor in the versions after 4.1.5?
Reply With Quote
  #8  
Old 10 Jan 2013, 13:01
nitrogen14 nitrogen14 is offline
 
Join Date: Dec 2012
4.2.0 work fine thx!
Reply With Quote
  #9  
Old 06 Feb 2013, 22:36
Leica.Robbiani Leica.Robbiani is offline
 
Join Date: Sep 2007
Hi there,

gives me a blank page on vB 4.2.0PL3 when replying.

Does anyone know what's to do?

Best wishes

L.R.
Reply With Quote
  #10  
Old 06 Feb 2013, 23:24
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I'm not sure. I haven't tried this mod in a while, so all I can think of is to test it when I get a chance.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:11.

Layout Options | Width: Wide Color: