View Full Version : Miscellaneous Hacks - Threads notifications - show threads in notifications list
Almotmaiz.Net
06-20-2008, 10:00 PM
Threads notifications 2.0
Show selected thread in vB notifications system
================
Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority.
================
ABOUT THIS MOD
This mod , let you add important thread , or Moderation thread to user notifications list in (navbar) , and show this threads pre user forum promissions :)
HOW TO INSTALL AND UPGRADE.
UPLOAD product from your ACP .(overwrite if UPGRADE)
EDIT your vB Setting.I hope to see your developmental notice :up:
if you like OR use this product plz click "Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=183128)"
???|: HESTORY.
1.0 - first release .
1.1 - Reduce queries to two queries from six as global (in All mod code).
1.2 - fix internal error .
----- add exusers and exusergroups in vB options.
1.3 - fix internal error .
2.0 - Fix All bugs were founded in earlier released
----- Add - show notifications in USERCP as fixed table
----- Add - option in ACP let you chose "sort notifications link as"
----- Add - expired date for notifications with auto cleanup .
Almotmaiz.Net
06-21-2008, 08:25 AM
language packs.
1. https://vborg.vbsupport.ru/external/2012/01/5.gif 82724 - by KURTZ (https://vborg.vbsupport.ru/member.php?u=173485) version 1.0
KURTZ
06-21-2008, 08:30 AM
where is the product? :p
Almotmaiz.Net
06-21-2008, 08:38 AM
where is the product? :p
refesh the page :cool:
KURTZ
06-21-2008, 08:44 AM
refesh the page :cool:
superb add-on dude ... installed & nominated! :up:
Hasann
06-21-2008, 08:46 AM
cool thanks a lot installed
Boofo
06-21-2008, 08:47 AM
How many queries does this do?
ahayat
06-21-2008, 08:51 AM
Cool thanks.
I think this Hack is better than Force a User to Read Thread.
*Nominated :)
KURTZ
06-21-2008, 08:56 AM
How many queries does this do?
4 queries over the forumhome ... :eek: damn too many for me ... anyway nice idea ..
Boofo
06-21-2008, 09:07 AM
Are you sure that isn't on every page?
KURTZ
06-21-2008, 09:18 AM
Are you sure that isn't on every page?
no Bobby, i've only checked over my index ... before the installation i've got 20 queries after i've got 24 ...
ahayat
06-21-2008, 09:19 AM
There is one problem in it , when we refresh our page Notification disappears
It shouldnt disappear until a user read it...... ***
Almotmaiz.Net
06-21-2008, 10:32 AM
UPDATE 1.1
1.1 - Reduce queries to two queries from six as global (in All mod code).
How many queries does this do?
in 1.0 was 4 in global and 2 in showthread but now it's 2 as global withn showthread script
4 queries over the forumhome ... :eek: damn too many for me ... anyway nice idea ..
now with 1.1 too many ?
just two queries :D
There is one problem in it , when we refresh our page Notification disappears
It shouldnt disappear until a user read it...... ***
i tested it like 100 time . nothing like that every thing okay , any body have issus like this , please let me :)
Fırtına
06-21-2008, 10:32 AM
Shoukran ya akhuy, yislemu:)...
Installed*
taxick
06-21-2008, 10:49 AM
Hallo
Love this hack but it don't work on my forum.
When i have mark are thread i my forum, it don't show op at the notifications list..
Any help?
KURTZ
06-21-2008, 10:56 AM
OK, i'm in testing now ... :p ... it runs ... :p 2 queries onto forumhome ...
however i need some improvements: i think that only the UGs 5,6,7 (and forum moderators) can use this feature right?
can you put an options that the admins can choose which users/usergroups can use this feature?
KURTZ
06-21-2008, 11:11 AM
it seems to be an issue: sometimes when i select 'add thread .. etc' the system gives me the notification, but i'm the notifier! :) also when i return into the thread i don't see the option 'remove thread .. etc' ...
Almotmaiz.Net
06-21-2008, 01:35 PM
UPDATE 1.2
1.2 - fix internal error .
----- add exusers and exusergroups in vB options.
Hallo
Love this hack but it don't work on my forum.
When i have mark are thread i my forum, it don't show op at the notifications list..
Any help?
please check this again :) and make sure this thread in forum you can access into :)
OK, i'm in testing now ... :p ... it runs ... :p 2 queries onto forumhome ...
however i need some improvements: i think that only the UGs 5,6,7 (and forum moderators) can use this feature right?
can you put an options that the admins can choose which users/usergroups can use this feature?
i added it in this 1.2 update :)
it seems to be an issue: sometimes when i select 'add thread .. etc' the system gives me the notification, but i'm the notifier! :) also when i return into the thread i don't see the option 'remove thread .. etc' ...
fixed in 1.2 :up:
KURTZ
06-21-2008, 01:44 PM
i've got a 'blank' option in the vboptions, also i've a blank option in the thread tools ... :S
taxick
06-21-2008, 01:48 PM
i've got a 'blank' option in the vboptions, also i've a blank option in the thread tools ... :S
Me to :)
Almotmaiz.Net
06-21-2008, 01:49 PM
i've got a 'blank' option in the vboptions, also i've a blank option in the thread tools ... :S
Me to :)
re-downloaded from attacment in main thread post:)
Milad
06-21-2008, 01:55 PM
You can do this using zero query!
Build an item in the datastore that contains, threadid, title and forumid for each thread. and ask for the datastore item via init_startup.
You will use 1 query to fetch the datastore item, and if you have another mods that pull datastore items via init_startup, you will use zero query.
I was thinking about writing a similar hack. but for now I'll mark this as installed until you reduce the queries to the lowest possible number.
Regards
KURTZ
06-21-2008, 01:57 PM
re-downloaded from attacment in main thread post:)
now runs :)
You can do this using zero query!
Build an item in the datastore that contains, threadid, title and forumid for each thread. and ask for the datastore item via init_startup.
You will use 1 query to fetch the datastore item, and if you have another mods that pull datastore items via init_startup, you will use zero query.
I was thinking about writing a similar hack. but for now I'll mark this as installed until you reduce the queries to the lowest possible number.
Regards
oh yeah!!! c'on let's do this!
taxick
06-21-2008, 02:01 PM
Bump
And my forum too.
Could not find phrase 'nlp_notifications_thread_add'.
But i reinstall and worg greate thanks. Installet.
KURTZ
06-21-2008, 02:09 PM
dunno mate, onto my board it runs ... :) however i don't understand the 2 options in the ACP ... if i put the '2' in the first field this means that the members into the usergroup 2 can't view the notifications?
taxick
06-21-2008, 02:14 PM
And my forum too.
Could not find phrase 'nlp_notifications_thread_add'.
But i reinstall and worg greate thanks. Installet.
re-downloaded from attacment in main thread post
zmmmzz
06-21-2008, 06:53 PM
awesome mod!
shlomot
06-22-2008, 01:44 AM
Hello,
I just installed and re-installed this great mod (which I also want to nominate).
I set up "6" (Admin group) in Excepted groups, and nothing in Excepted users. I assume that this two options have to do with who can moderate Thread Notifications.
I still cannot see any such moderation option either in Thread Tools or in the Moderation list-box bellow the posts.
Please advise. Thanks.
Almotmaiz.Net
06-22-2008, 02:16 AM
You can do this using zero query!
Build an item in the datastore that contains, threadid, title and forumid for each thread. and ask for the datastore item via init_startup.
You will use 1 query to fetch the datastore item, and if you have another mods that pull datastore items via init_startup, you will use zero query.
I was thinking about writing a similar hack. but for now I'll mark this as installed until you reduce the queries to the lowest possible number.
Regards
Milad , the big Coder , i'll workn in that
dunno mate, onto my board it runs ... :) however i don't understand the 2 options in the ACP ... if i put the '2' in the first field this means that the members into the usergroup 2 can't view the notifications?
Hello,
I just installed and re-installed this great mod (which I also want to nominate).
I set up "6" (Admin group) in Excepted groups, and nothing in Excepted users. I assume that this two options have to do with who can moderate Thread Notifications.
I still cannot see any such moderation option either in Thread Tools or in the Moderation list-box bellow the posts.
Please advise. Thanks.
how can the normal user , moderate the thread , this mod , check the forum promission to moderate this forum , with this option you can ignored this by his/her userid or ignore all his/her usergroup, every thing comes clear now ?
KURTZ
06-22-2008, 07:37 AM
yes thanks :)
however i'll wait the new devs without queries! :p
Super Jinni
06-22-2008, 10:07 AM
this is just nice work..
just waiting for what Milad talked about and what you promised
thanks for the nice work
ALLAH bless you
Installed
Super Jinni
06-22-2008, 10:22 AM
another thing
the option to show the thread in notification list is listed in the thread tools
if you can make it it the Moderation list options in every forum so that we can sellect more than thread at once in forum(s) or when search in search results, it will be great
thanks again
taxick
06-22-2008, 11:17 AM
Sorry - I uninstall this hack now - No support and it dont work on my forum
KURTZ
06-22-2008, 12:59 PM
just a question: if i select this option into a private forum that only 5 users can see, when all the users have seen that thread the option returns 'add thread ...' or not? or remains 'remove thread ...'?
egyptsons
06-22-2008, 03:09 PM
فكرة رائعة أخي الكريم
سلمت يداك
:cool:
shlomot
06-26-2008, 04:22 AM
Hello, after version upgrading to vBulletin 3.7.2, I'm getting an occasional SQL error message as below:
Database error in vBulletin 3.7.2:
Invalid SQL:
SELECT threadid FROM nlp_notifications_thread WHERE threadid=;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Request Date : Wednesday, June 25th 2008 @ 05:24:21 AM
Error Date : Wednesday, June 25th 2008 @ 05:24:21 AM
Script : http://www.topsynergy.net/showthread.php?t=1681
Referrer :
IP Address : 212.143.241.49
Username : topsynergy
Classname : vB_Database
MySQL Version : 4.1.14-standard
Do tables nlp_notifications_thread and nlp_notifications_read belong to this mod?
If so, the whole issue is strange because I never even started to tag any threads for reading.
BeerLuver
06-26-2008, 09:10 AM
Nice mod, but it's not working on my forums; 3.7.2. It doesn't show any option for this in the Thread Tools dropdown menu even after I put the admin group; 6, into the settings to access this mod. Uninstalled for now then til it does work with latest vb. Thanks though so far :)
Super Jinni
06-26-2008, 10:52 AM
I think the author should really check his thread here
there is no worse than a product with out support or updates
shlomot
06-26-2008, 12:06 PM
Thanks for helping me to make up my mind.
*** UNINSTALLED ***
I think the author should really check his thread here
there is no worse than a product with out support or updates
home9000
06-26-2008, 02:47 PM
Is it working on 3.6.5
Pcwolfx?
06-26-2008, 06:04 PM
thanks great idea :)
xorex
06-27-2008, 01:42 PM
Nice Hack !! Thanx :up:
russian translate attached
please update first post
installed
if notificated thread deleted - db error
Breathex
06-29-2008, 09:50 PM
Nice mod but does not work in 3.7.2
xorex
07-09-2008, 09:17 PM
:(if call link
http://yousite/forum/showthread.php?p=456546456546546 (456546456546546-anything)
i see
Invalid SQL:
SELECT threadid FROM nlp_notifications_thread WHERE threadid=;
Error MySQL : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Номер ошибки : 1064
bla bla bla.........
:(
Subah
07-09-2008, 11:15 PM
Thanks a lot
it is writen here
1.3 - fix internal error .
but the product still 1.2 ?
which one is wrong ?
Super Jinni
07-10-2008, 01:24 AM
any support for this out there?
saltedm8
07-10-2008, 07:06 PM
this caused this error
Invalid SQL:
SELECT threadid FROM nlp_notifications_thread WHERE threadid=;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Request Date : Thursday, July 10th 2008 @ 07:48:26 PM
Error Date : Thursday, July 10th 2008 @ 07:48:26 PM
Script : http://www.recipebite.co.uk/showthread.php?t=21
Referrer :
IP Address : 82.34.104.34
Username : saltedm8
Classname : vb_database
MySQL Version : 5.0.58-enterprise-gpl
is there a fix ?, I have had to temporally uninstall it
thank you
pspmaster93
07-20-2008, 09:30 PM
whats the manual template edits because the option to put threads into notification doesnt show up for me in thread tools
BucWiLd
07-21-2008, 02:05 AM
ty, installed.
Almotmaiz.Net
07-26-2008, 02:45 PM
update 2.0 Is OUT and able to DOWNLOAD !
----- Fix - All bugs were founded in earlier released
----- Add - show notifications in USERCP as fixed table
----- Add - option in ACP let you chose "sort notifications link as"
----- Add - expired date for notifications with auto cleanup .
you can see new screen shots with new options!
regard's, Alzaabi (NLP)
Subah
07-26-2008, 06:20 PM
Thanks for updating ;)
Super Jinni
07-26-2008, 06:20 PM
Great man..
I was really afraid that you won't support this great mod anymore.. :D
now it's here
I'll upgrade now
thanks for the great job
keep going man ;)
Super Jinni
07-26-2008, 06:32 PM
hey, I have another request or suggestion if you can make it
the option to show the thread in notification list is listed in the thread tools only
if you can make it in the Moderation list options in every forum or in in threads search results so that we can select more than thread at once in forum(s) or when search in search results page, it will be great
thanks again
:)
yingzhou
07-27-2008, 07:06 AM
thanks for update!
JKatz
08-10-2008, 12:18 PM
:o I really want to use this modification but it isn't working for me.
trick2008
08-23-2008, 10:45 PM
this isnt working at all on my forum...
Almotmaiz.Net
08-25-2008, 02:52 PM
hey, I have another request or suggestion if you can make it
the option to show the thread in notification list is listed in the thread tools only
if you can make it in the Moderation list options in every forum or in in threads search results so that we can select more than thread at once in forum(s) or when search in search results page, it will be great
thanks again
:)
i'll do this in newer version :) . in this few days
:o I really want to use this modification but it isn't working for me.
this isnt working at all on my forum...
please con you give me full explnation about problem ?
1- vbulletin version ..
2- if you use updated template , check navbar if updated or not
3- did option in thread options not come out ?
4- .... etc
THIS TO EVERY BODY !
im sorry , i was Outdoor of my country ;) , and im Back :up:
yamahapaul
08-29-2008, 09:16 PM
installed, thanks! :up:
smirkley
08-30-2008, 03:52 AM
Love this mod,..
One request if you are able,..
A way to list ALL current notification threads.
As it stands, if notifications set for User reading, disappear after being read.
But it would be great to have a page where all current notifications would show up, unbolded if read, and bolded if unread. Maybe a link that would produce this page for members and staff alike.
Gosef
09-11-2008, 11:41 AM
Thanks a lot
vip-q.com
09-17-2008, 12:51 AM
Hi :)
I do install this mod
but if u could add in the next V
a page show all the threads that added to the list :)
مشكور اخوي على الهاك
ويـ ليت في الإصدار الجديد تضيف صفحة لجميع المواضيع التي تمت اضافتها للاقائمة مع إمكانية حذفها قبل إنتهاء الوقت
وشكرا
alwafi
10-08-2008, 07:33 PM
Thanks 4 this
Super Jinni
11-10-2008, 02:26 PM
BUG:
expired date for notifications does not work.
expiration date is set but when the time come it does now get expired and threads still int notifications list.
if you can fix it it will be great.
thanks mate
Super Jinni
11-10-2008, 02:29 PM
Hi :)
I do install this mod
but if u could add in the next V
a page show all the threads that added to the list :)
مشكور اخوي على الهاك
ويـ ليت في الإصدار الجديد تضيف صفحة لجميع المواضيع التي تمت اضافتها للاقائمة مع إمكانية حذفها قبل إنتهاء الوقت
وشكرا
I second that
this will be just a great feature
so if you can list all the threads for moderation with the ability of deleting some threads from the list even before expired date it will be great.
thanks again mate.
good luck
7lanet
11-26-2008, 08:54 AM
عافاك يالغالي ^_^
swatkins
12-24-2008, 11:24 PM
Does anyone know what this error is about? The error log is growing huge and is filled with this one error.. I check all my plug ins and this is the only one using the hook at that location...
[21-Dec-2008 11:05:16] PHP Fatal error: Call to a member function on a non-object in /home/dmaxcent/public_html/forum/includes/cron/cleanup.php(77) : eval()'d code on line 3
Line 3 is the comment block that shows the info and there is no code there.. Does the (77) refer to line 77 instead?
This is line 77 of the cleanup.php file
($hook = vBulletinHook::fetch_hook('cron_script_cleanup_hou rly')) ? eval($hook) : false;
Thanks for any help
Steve
AL-5JL
05-08-2009, 01:24 PM
Good product
MẪ$T?Я
05-21-2009, 12:24 PM
thanks ,, installed
ARB4HOSTING.COM
06-16-2009, 05:18 PM
Thanks alot
H3C x Nevz
06-16-2009, 05:37 PM
Doesn't work with 3.8? :(
maznos
06-19-2009, 09:14 AM
Doesn't work with 3.8? :(
it does work with 3.8 with a slight change to the xml file.
H3C x Nevz
08-15-2009, 12:35 AM
I've had a thread added to the notifications list, and since that it's been deleted but still on the notifications list, and people can't get rid of it. Help?
www.ch-joy.com
10-28-2009, 11:52 PM
thanks :-)
Does anyone know what this error is about? The error log is growing huge and is filled with this one error.. I check all my plug ins and this is the only one using the hook at that location...
[21-Dec-2008 11:05:16] PHP Fatal error: Call to a member function on a non-object in /home/dmaxcent/public_html/forum/includes/cron/cleanup.php(77) : eval()'d code on line 3
Line 3 is the comment block that shows the info and there is no code there.. Does the (77) refer to line 77 instead?
This is line 77 of the cleanup.php file
($hook = vBulletinHook::fetch_hook('cron_script_cleanup_hou rly')) ? eval($hook) : false;
Thanks for any help
Steve
same problem here
($hook = vBulletinHook::fetch_hook('cron_script_cleanup_hou rly')) ? eval($hook) : false;
On line 3
if($vbulletin->options['nlp_notifications_active'])
{
$taz = $db->query("
SELECT threadid FROM " . TABLE_PREFIX . "nlp_notifications_thread
WHERE expired < " . TIMENOW
);
while($Mozan = $db->fetch_array($taz))
{
$vbulletin->db->query_write("
DELETE FROM " . TABLE_PREFIX . "nlp_notifications_thread
WHERE threadid = {$Mozan['threadid']}
");
$vbulletin->db->query_write("
DELETE FROM " . TABLE_PREFIX . "nlp_notifications_read
WHERE threadid = {$Mozan['threadid']}
");
}
}
for all who found that error
($hook = vBulletinHook::fetch_hook('cron_script_cleanup_hou rly')) ? eval($hook) : false;
and its should also fix expired date for notifications with auto cleanup not working
finally I found the error, and fixed it ..... Attachment
working on 3.8.4 PL2
mgurain
12-24-2009, 09:57 AM
Hi Almotmaiz.Net,
Any upgrade to vb4.0 ? it should be a standard feature.
Thanks,,
haytham
09-23-2010, 01:26 AM
Hallo
Love this hack but it don't work on my forum.
When i have mark are thread i my forum, it don't show op at the notifications list..
Any help?
Same here..no notification...
MarabyQ8.CoM
12-16-2010, 12:11 AM
thanks ....
samer2030
11-10-2011, 02:25 PM
اخي العزيز
لقد قمت بتجربة الهاك
وتوجد بعض الملاحظات وهي كما يلي
1-اختفاء الموضوع من التنبيهات لدى العضو بعد ان يقوم بقراءته مع العلم ان تاريخ الإنتهاء بعد يومين او ثلاث
2- لا يوجد هناك جدول يمكن المدير من معرفة المواضيع التي تمت التنبيه بها ومراجعتها
أسأل الله لنا ولك التوفيق
Andr? Noberto
12-08-2011, 11:42 AM
how I can disable some user groups to view the notification about an expired thread?
i'm can't here, i don't know why :(
Andr? Noberto
12-08-2011, 11:43 AM
attention: all user groups and all user are viewing the notification.
Rafael?
12-24-2011, 06:33 PM
how I can disable some user groups to view the notification about an expired thread?
i'm can't here, i don't know why :(
यह मेरे लिए भी होता है, इसलिए मैं इसे का उपयोग बंद कर दिया और मेरे लिए एक और बनाया करने के लिए बेहतर सेवा मैं क्या चाहता था.
Does anyone can make it working with 4.x ?
fai99al99
01-13-2013, 03:06 PM
Does anyone can make it working with 4.x ?
++1
HOSSAMYEHIA
02-18-2013, 12:47 AM
hi my friend how are you really love this hook are there any way that you think to make it available for vb4
if not are there same one make it's function in vb4:)
thanks
masonox
12-25-2013, 09:10 AM
This is what I want, so badly. I'm bumping this in the hopes to get it viewed.
anyone update this to 4.2
gives error :(
berrada
08-13-2014, 02:37 PM
AF product is not compatible with the generation or three
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.