PDA

View Full Version : Mini Mods - Subscribed threads in notifications


MoMan
07-23-2011, 10:00 PM
This is a re-release of my subscribed threads mod for vb 3.8: https://vborg.vbsupport.ru/showthread.php?t=250461 It has been reported to work on vB 4.x.

What does it do?

It adds a notification whenever any of your subscribed threads are updated (i.e. they contain unread posts). These notifications make it much easier for users to find what's new on the forum.

It uses the same code as the native vbulletin thread marking system, and supports cookie-based marking as well as database marking.

How do I install?

Upload the attached product file via the admin control panel.

------------------

Enjoy!

https://vborg.vbsupport.ru/attachment.php?attachmentid=121931&d=1284434953

chriske
07-24-2011, 12:21 PM
Will try this out! Thanks :)

Edit:
Is it possible to make an option so that members can choose (in usercp) if they want to receive these notifications?

MoMan
07-24-2011, 01:15 PM
Will try this out! Thanks :)

Edit:
Is it possible to make an option so that members can choose (in usercp) if they want to receive these notifications?

Yes it is- in fact, I have such an option on my site. Just add a new profile field (preferebly a checkbox labeled as "disable notifications") via your admin cp, and then change one line in the plugin:

if ($vbulletin->userinfo['userid'] > 0)

{

if ($vbulletin->userinfo['userid'] > 0 AND !$vbulletin->userinfo['fieldX'])

{

where X is the number of the custom profile field you just added.

LOGECT
07-24-2011, 01:25 PM
Great mod, thanks a lot.
Please let me know why that 'New Subscribed Threads' phrase doesn't appear here ?

https://vborg.vbsupport.ru/attachment.php?attachmentid=131373&stc=1&d=1311517497

Thank you.

chriske
07-24-2011, 02:11 PM
Yes it is- in fact, I have such an option on my site. Just add a new profile field (preferebly a checkbox labeled as "disable notifications") via your admin cp, and then change one line in the plugin:

if ($vbulletin->userinfo['userid'] > 0)

{if ($vbulletin->userinfo['userid'] > 0 AND !$vbulletin->userinfo['fieldX'])

{where X is the number of the custom profile field you just added.

Thanks for the fast reply :)

Does this disable all notifications?
I don't want my users to be able to disable all notifications.

For instance I use this mod:
FractalizeR: Show items, awaiting moderation in notifications area (https://vborg.vbsupport.ru/showthread.php?t=241301)

BlueCheri
07-24-2011, 02:47 PM
Very good mod.

Thanx

rajubd
07-24-2011, 03:35 PM
is it possible to add disable mail in subscription thread ? so member can choice which way they want to notify?

MoMan
07-24-2011, 06:17 PM
Does this disable all notifications?
I don't want my users to be able to disable all notifications.

No, just this one.

is it possible to add disable mail in subscription thread ? so member can choice which way they want to notify?

Not currently a feature of this plugin. I don't think very many users would need that.

Great mod, thanks a lot.
Please let me know why that 'New Subscribed Threads' phrase doesn't appear here ?

That's weird- check in your phrase manager if the phrase new_subscribed_threads is there, and if not, add it as a global phrase.

Also try changing $vbphrase[new_subscribed_threads] to $vbphrase['new_subscribed_threads'] in the plugin itself, as the former is technically incorrect (I've now fixed this in the xml file).

LOGECT
07-25-2011, 06:59 AM
That's weird- check in your phrase manager if the phrase new_subscribed_threads is there, and if not, add it as a global phrase.

Also try changing $vbphrase[new_subscribed_threads] to $vbphrase['new_subscribed_threads'] in the plugin itself, as the former is technically incorrect (I've now fixed this in the xml file).

Thanks for your reply, the phrase is there and changing $vbphrase[new_subscribed_threads] to $vbphrase['new_subscribed_threads'] doesn't fix the issue.

MoMan
07-25-2011, 07:56 AM
Try putting global $vbphrase; in the plugin file, or just hard-code the text if you want it to "just work".

Sforums
07-25-2011, 08:49 AM
Before installing I would like to know if this is compatible with TW7S - Notifications Alert?
https://vborg.vbsupport.ru/showthread.php?t=232032

Please respond.

MoMan
07-25-2011, 10:20 AM
It should be, since it hooks into the native vb notification system.

Sforums
07-25-2011, 11:40 AM
Works great, thank you!

egysc
07-26-2011, 03:06 AM
is it possible to show the updated thread names in the notification menu ? as it would be greater !
Thanks in advance

MoMan
07-26-2011, 10:00 AM
If you wanted that, I'd recommend setting up some sort of ajax-powered notification interface so that members can view the threads without having to refresh.

egysc
07-26-2011, 03:28 PM
And How can i do that?

MoMan
07-28-2011, 12:52 PM
You'd have to write a few JS functions to fetch the thread names, and then trigger an event when users open their notification menu. It would be a fairly involved project, but definitely a nice idea!

egysc
07-28-2011, 08:50 PM
Thanks alot .

LoudBox
08-25-2011, 05:29 AM
Cool plugin. Could you make subscribed BLOGS appear inside the notification system too? This way everyone someone posts a new entry inside his blog, you get a notification?

PaulAxure
09-02-2011, 03:52 AM
I might be missing the feature, but does it giver notifications for subscribed forums (not just threads you started or replied to) ? Thanks for your work on this.

-Paul

MoMan
09-02-2011, 11:07 AM
No notifications for forum subscriptions, but normally it would be just as obvious to look at the icons on forumhome :)

I could extend this to blogs but vb declined to supply a copy of vb blogs for 3.x, and as such I don't have a full development environment :( (I still use vb3)

Kat-2
09-04-2011, 04:44 AM
Installed. I like this mod!:)

MoMan
09-15-2011, 12:06 AM
Great to hear :)

Lostboyfan
11-03-2011, 02:50 AM
Tagged for later

Nocturnal222
08-20-2012, 11:31 AM
The notifications appear but never go away, once you close forums and come back they re-appear. Any ideas as to why?

Beckenbauer
08-25-2012, 12:21 AM
No notifications for forum subscriptions, but normally it would be just as obvious to look at the icons on forumhome :))

Nice mod, but why is it not possible to show subscribed forums?
I have many subforums.

MattGarner
09-12-2012, 09:47 AM
Would be nice if this worked for subscribed forums and not just threads.

Nirjonadda
12-25-2012, 06:44 PM
The notifications appear but never go away, once you close forums and come back they re-appear. Any ideas as to why?

Yes same condition , Please update this mod for work on 4.1.10.

FakeMessiah666
05-09-2013, 03:17 PM
I installed the plugin but the settings for it aren't showing up in AdminCP -> Settings -> Options or in the sidebars underneath it. I am running vBulletin 4.2.1.

Lee Roberts
05-28-2013, 12:04 PM
The notifications appear but never go away, once you close forums and come back they re-appear. Any ideas as to why?

Not sure why your having this problem, try clearing the System Cache and running the Repair / Optimize Tables, i had a problem of notifications not showing for me, doing the above fixed this. It was on a test/dev install so maybe some cron's just needed to run as the dev server is priv so no activity.

I installed the plugin but the settings for it aren't showing up in AdminCP -> Settings -> Options or in the sidebars underneath it. I am running vBulletin 4.2.1.

I've had a look at the code for this and i cant see any admin options, so i think you just install and forget :).

Tested as working on: 4.2.0 PL3 & 4.2.1.

Thanks Adam if you ever read this !

Lee Roberts
05-29-2013, 12:43 PM
There is a bug/conflict with this, it uses/adds a phrase called "new_subscribed_threads", however there is a default vB phrase with the same name, as such visting any of the User Tools (UserCP) pages means that the default vB phrase is used in the notification list and not the custom phrase this mod introduces.

Also the URL for the notification this produces, has "&daysprune=-1" in it, from what i can see this doesn't actually do anything any more.

Not a major problems as the mod still works but just a heads up.

.Me

datoneer
05-29-2013, 07:40 PM
Tagged for now!

datoneer
05-29-2013, 08:17 PM
Installed and nominated! Thanks its a good mod

findingpeace
06-11-2013, 02:51 PM
My users love this mod - between this and "Post Thanks", our engagement is WAY up.

Lee Roberts
06-11-2013, 03:40 PM
Yea post thanks is a good one, it gets well used on our forums. I've made some changes to this mod for the same forum and so far there hasnt been any negative feedback about it so thums up !

.Me

CAG CheechDogg
07-15-2013, 08:41 AM
Oh wow, I can't believe I never checked this out or just never looked for it !! some of my forum's members asked about it and I was like heh ...let me look...and i found it!

Great work thank you so much !

DemOnstar
07-15-2013, 10:13 AM
Does the job....4.2.1

Thanks. Effort appreciated....

Jonm
07-17-2013, 03:54 PM
Installed this yesterday and all I've had today is the 403 forbidden page....

Uninstalled this and the 403 page has now gone...

gnrx
09-25-2021, 04:19 PM
The notifications appear but never go away, once you close forums and come back they re-appear. Any ideas as to why?
I have the same problem. And I don't know how solved this...

Yes, the last post is from 2013...and today is 2021 but...this is good mod...

But If click, in the index forum, in Actions-Mark all forums like reads, then, dissapears this alert in this mod.

Any iddea?