Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Subscribed Threads in Notifications Details »
Subscribed Threads in Notifications
Mod Version: 1.1.1, by MoMan (Coder) MoMan is offline
Developer Last Online: Sep 2017 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (4 votes - 5.00 average) Installs: 47
Released: 14 Sep 2010 Last Update: 09 Aug 2011 Downloads: 315
Not Supported Uses Plugins  

As seen on www.pentaxforums.com/forums/ , I'm bringing you a handy mod that adds the number of new subscribed threads to the notifications area, as well as a link to subscription.php. This means that whenever someone replies to one of your subscribed threads, you don't have to check your user cp or your e-mail inbox- just click on the notification! Notifications can also be reset via the User CP (memcached version only*).

This mod is provided free of charge, but I ask that the copyright and contact information be retained within the SOURCE. There are no visible copyrights for this mod. Furthermore, I ask that you do not re-use this code without my permission.

Non-Memcached Version:
Time to install: <1 minute (upload 1 product file)
Current Version: 1.1.0
Queries: 1 per pageload for logged in users
Templates: 0
New Phrases: 1
Compatibility: vB 3.7.x-4.x

Love this mod? Support further projects by donating: http://www.pentaxforums.com/forums/donations/

Enjoy and don't forget to mark this as installed if you decide to use it! Limited support will be offered to those who click install.

Note to owners of large forums: I also offer a version of this mod that does not add any global queries and instead utilizes memcached. I can install this premium version on your site for an hourly charge, assuming your server already has memcached installed. Send me a PM for details.

Download Now

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

Screenshots

Click image for larger version

Name:	adams_new_thread_notifications.png
Views:	2173
Size:	12.0 KB
ID:	121931  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Threads notifications - show threads in notifications list Almotmaiz.Net vBulletin 3.7 Add-ons 88 13 Aug 2014 15:37
Subscribed Threads, Subscribed Forums, and Event Reminders calorie vBulletin 3.6 Add-ons 7 30 Aug 2011 14:39
v2.0 Email new thread notifications to subscribed users chrispadfield vBulletin 2.x Full Releases 38 20 Mar 2002 22:45

  #61  
Old 15 Nov 2010, 05:39
MoMan MoMan is offline
 
Join Date: Oct 2005
No, because the last read time is stored in memcache, and updated when you mark forums read
__________________
Adam

Admin of PentaxForums.com - Big-Board
Reply With Quote
  #62  
Old 16 Nov 2010, 12:52
jscieza jscieza is offline
 
Join Date: Apr 2007
I do have another question regarding your memcache enabled version. You said:

The memcached-enabled version caches the new thread count for 5 minutes
So do it means that the notifications aren't going to be in "real time" and there could be a delay of 5 minutes?
Reply With Quote
  #63  
Old 16 Nov 2010, 16:01
MoMan MoMan is offline
 
Join Date: Oct 2005
Right, it can take up to 5 minutes for a notification to pop up after a reply has been made to a subscribed thread. However, once you open the thread, the notification is cleared immediately.
__________________
Adam

Admin of PentaxForums.com - Big-Board
Reply With Quote
  #64  
Old 21 Nov 2010, 14:42
jscieza jscieza is offline
 
Join Date: Apr 2007
There is another annoying bug in the NOMEMCACHED version.

Sometimes the product is adding notifications properly but sometimes when a subscribed thread gets updated (someone replies to it) the product isn't adding notifications. So in other words, sometimes it work and sometimes it doesn't. It appears to be a random behavior.

I don't know if the memcache-enabled version of your product is better or doesn't have this bug and I'd like to use the memcache-enabled one instead of the NOMEMCACHED version but as I already told you I'm running xCache not Memcache so let allow me to insist with this:

Instead of making use of Memcache specific code why don't you simply make use of vBulletin cache, and if your vB uses xCache/Memcache/etc., then the hack will get advantage of this? Also if you go in this way you will not need two versions of your mod anymore as because if your vB doesn't make use of any cache then nothing will be cached.
http://www.vbulletin.org/forum/showp...8&postcount=25

Is there any documentation on that? I'll gladly tweak the public version of this mod to use the vBulletin interface if such an interface is available.
http://www.vbulletin.org/forum/showp...2&postcount=26

I was talking about this.

Last edited by jscieza; 21 Nov 2010 at 14:50.
Reply With Quote
  #65  
Old 21 Nov 2010, 14:56
jscieza jscieza is offline
 
Join Date: Apr 2007
Just updating the bugs in the NOMEMCACHED version for anyone interested:

Originally Posted by jscieza View Post
Bug #1 - Status: the bug is still present. Note: programmer is unable to reproduce this bug.
There aren't notifications for email based subscriptions. I mean, members only get notifications of threads subscriptions made with the option "without email notification". If someone has a thread subscribed with instant/daily/weekly email notification then they will not receive notifications in the top right corner but email notifications will be dispatched to the member's inbox as usual.

Bug #2 - Status: this has been fixed (check here and here)
After marking all forums read the subscribed threads notification is still present (it's always 1).

Bug #3 - Status: Awaiting reply from the programmer
Sometimes the product is adding notifications properly but sometimes when a subscribed thread gets updated (someone replies to it) the product isn't adding notifications. So in other words, sometimes it work and sometimes it doesn't. It appears to be a random behavior.

Last edited by jscieza; 21 Nov 2010 at 15:01.
Reply With Quote
  #66  
Old 30 Nov 2010, 16:20
MjrNuT's Avatar
MjrNuT MjrNuT is offline
 
Join Date: Jun 2008
I can confirm Bug #2 in the one day of using the Non-memcached version.

I tried the memcached version but do not have a memcacher server available to me.

uninstalled
__________________
MjrNuT
vB 3.8.6
Flames and Ash Gaming
Reply With Quote
  #67  
Old 30 Nov 2010, 21:03
jscieza jscieza is offline
 
Join Date: Apr 2007
Bug #2 has been already fixed by the programmer.
Note that now the notifications will clear when you mark all forums read, but not when you mark an individual forum.
And it's working fine now.

Issue here are bugs #1 and #3.
Reply With Quote
  #68  
Old 01 Dec 2010, 04:47
MoMan MoMan is offline
 
Join Date: Oct 2005
I'd like to remind you that the non-memcached version isn't supported, and that I use the memcached version of this on my own site with no problems. If there were bugs, my members would have complained.

Perhaps there's some sort of setting conflict with your particular installations (this goes back to the cookie-based vs database thread marking), I'm not sure.
__________________
Adam

Admin of PentaxForums.com - Big-Board
Reply With Quote
  #69  
Old 15 Dec 2010, 00:49
MoMan MoMan is offline
 
Join Date: Oct 2005
I've updated both versions of this mod:

If a soft-deleted thread was still unread, a notification would be shown even though the thread wouldn't be visible to the user. I've now added an AND visible = 1 statement to the query to avoid such conflicts. I recommend you upgrade to 1.0.3 if you're using the non-memcached version of the mod.
__________________
Adam

Admin of PentaxForums.com - Big-Board
Reply With Quote
  #70  
Old 15 Dec 2010, 14:17
jscieza jscieza is offline
 
Join Date: Apr 2007
Hi MoMan,

Now all the bugs listed here are resolved.

Thanks for updating your hack

Regards,
Jonathan
Reply With Quote
  #71  
Old 20 Apr 2011, 01:51
MoMan MoMan is offline
 
Join Date: Oct 2005
I've updated the non-memcached version: it now only uses 1 query, rather than 3, and the overall quality of the code has been improved.

I currently don't have the time to update the memcached version, although this shouldn't matter as much due to the caching.
__________________
Adam

Admin of PentaxForums.com - Big-Board

Last edited by MoMan; 20 Apr 2011 at 02:49.
Reply With Quote
  #72  
Old 09 Jul 2011, 22:53
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Non-memcached version of this working fine in vb4.1.4
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #73  
Old 24 Jul 2011, 11:45
MoMan MoMan is offline
 
Join Date: Oct 2005
Great to hear! I can re-release this in the vb4 section, then.
__________________
Adam

Admin of PentaxForums.com - Big-Board
Reply With Quote
  #74  
Old 11 Aug 2011, 14:30
MoMan MoMan is offline
 
Join Date: Oct 2005
I've updated this thread with the latest version of this mod. I've also removed the memcached version, as it seemed it was caused more confusion than it did good. If admins of large forums are looking for a more efficient version of this hack, please contact me via PM.
__________________
Adam

Admin of PentaxForums.com - Big-Board
Reply With Quote
  #75  
Old 19 Nov 2011, 22:23
Amenadiel's Avatar
Amenadiel Amenadiel is offline
 
Join Date: Sep 2006
I tried the memcached version when it was still free. Now I regret not keeping the xml back then :P
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:16.

Layout Options | Width: Wide Color: