View Full Version : End-User Options - Keyword Notification System 1.0
sabret00the
10-13-2007, 10:00 PM
Wowee, i always wanted one of these too. I can't believe someone actually released one. I'm the luckiest. No, you're not really reading this. This is your subconcious talking...
Ok seriously now. you're like what's that? it's a KNS... Keyword Notification System. Ok imagine it like this.
EPISODE 1: Billy is a good kid, Billy is down with the times and Billy's family is proud of Billy because Billy is on the computer instead of being out doing bad knows what.
Billy has however replaced hard drugs and alcohol with an internet forum addiction and every day refreshes forums a lot just wasting bandwidth as Billy waits for his news on his favourite music groups, sometimes Billy gets lucky but ultimately Billy just wastes bandwidth. This used to be cool for webmasters because of all the page impressions on the ads, However Billy is part of the evil Ad Blocker Crew and so just wastes the bandwidth with no upside.
Then one day, just as the admin of the forum was about to hunt down Billy and still the lazer from Billys mouse, he found KNS. KNS totally transformed his life, The evil info leecher named Billy wouldn't just refresh the same forum because Billy got emails when what Billy wanted was released and Billy found time to go outside and actually talk on the forums in-between bandwidth wasting. KNS saves lives.
EPISODE 2: <Imagine the Billy story but with Billy named Tony and movie news instead of music news.>... KNS totally transformed his life, The evil info leecher named Tony wouldn't just refresh the same forum because Tony got emails when what Tony wanted was released and Billy found time to go outside and actually talk on the forums in-between bandwidth wasting. KNS saves lives.
OMG, where on earth do i get one of these KNS's? I bet it looks like a lazer. That's what you're thinking right? Well yes. If a lazer looks like a zip file and you can download it from here. It looks exactly like a lazer.
OK then. Now we got that covered. We're totally Coolio and the fat dude he sang with at the height of his career thanks to a film that not a lot of people watched. I hear he now performs in Brighton.
Actual hack info now:
Adds two new screens. One for adding/removing keywords and one for a top keyword list.
and that's about it. questions on a postcard. or even in this thread. As per usual donations greatly appreciated. And i'll catch you later :)
sabret00the
10-14-2007, 08:51 PM
CHANGELOG
1.0.1
------------------------------------------
change: bug in execution code meant that only users with permission to set keywords could make posts which were picked up by the KNS. now any user can make a post which KNS will pick up. [forums/plugins/kns/hook_newthread_post_complete.php]
sabret00the
10-14-2007, 08:52 PM
Something 2
sabret00the
10-14-2007, 08:53 PM
Something 3.
FleaBag
10-14-2007, 09:06 PM
Nice work sabe. Must admit the first post confused me much. :D
There is one for vB 3.5 already released, I am not sure if you have seen it - it works differently than yours though - I'm not bashing it. :)
IIRC it didn't have the front end, which is a nice idea.
Keep hacking. :)
sabret00the
10-14-2007, 09:13 PM
Nice work sabe. Must admit the first post confused me much. :D
There is one for vB 3.5 already released, I am not sure if you have seen it - it works differently than yours though - I'm not bashing it. :)
IIRC it didn't have the front end, which is a nice idea.
Keep hacking. :)
Doh! should've looked. And there was me thinking it was a totally amazing brand new idea. Thanks for the support though :)
Jeordie015
10-14-2007, 11:37 PM
Could we get a more...normal description of what this does?
dirtycrow
10-15-2007, 12:10 AM
what does this do?
Dream
10-15-2007, 12:18 AM
I didn't get it...
yoyoyoyo
10-15-2007, 01:41 AM
I get it - great idea. Basically it sends a notice to anyone who subscribes to a keyword when a new post containing that keyword is posted to the forum.
I liked the description - I love the way sabe describes his hacks - he has a talent and flair for words - thanks again.
PoetJA-1975
10-15-2007, 03:14 AM
haha! Crazy description - Possibly there's a JPiC Membership in your future :D
Thanx for the sharing...
JAcquii.
Trana
10-15-2007, 03:25 AM
Poor Billy.
RMS-Chef
10-15-2007, 04:12 AM
Thanks for your work.
A bunch of my forums use Abe1's Form Hack and the other v3.5 one much like this hack would not pick up threads created using the forms. This made it all but useless for me. I will give this one a shot.
Are there group permissions built into this?
Brandon Sheley
10-15-2007, 05:04 AM
Great idea :)
first post was confusing as hell tho..lol
does this put a strain on a the db ?
sylar
10-15-2007, 05:22 AM
Great idea too. I have thought of few instaces I have needed something similar. Will download and play with it.
Darat
10-15-2007, 06:35 AM
This looks interesting - anyone have any idea of what sort of performance hit it will have?
rainyleaves
10-15-2007, 06:59 AM
Sabret00the!!! So great~
Thanks for this MOD.
Just one question.
Can I specify forum for keywords?
Another question.
How about your GROUPs 3.0?
sabret00the
10-15-2007, 08:30 AM
Thanks for your work.
A bunch of my forums use Abe1's Form Hack and the other v3.5 one much like this hack would not pick up threads created using the forms. This made it all but useless for me. I will give this one a shot.
Are there group permissions built into this?
Yup usergroup permissions, so you can set it so only mods/premium members can receive keyword alerts.
sabret00the
10-15-2007, 08:30 AM
Sabret00the!!! So great~
Thanks for this MOD.
Just one question.
Can I specify forum for keywords?
Another question.
How about your GROUPs 3.0?
Yes. This will only set in forums you include via your vBulletin options.
As for GRPS, it's coming. development slowed a little however i think i stumbled onto a fix as to what was holding me up.
sabret00the
10-15-2007, 08:33 AM
Great idea :)
first post was confusing as hell tho..lol
does this put a strain on a the db ?
This looks interesting - anyone have any idea of what sort of performance hit it will have?
i've tried to make it as easy on the db as possible. but honestly without running it on a huge board with a million keywords, i can't test it suffiently. however it does only add two queries per new thread in specified forums.
sabret00the
10-15-2007, 08:35 AM
Could we get a more...normal description of what this does?
what does this do?
I didn't get it...
if a new thread is created and it contains a users keywords they'll be notified.
hichew
10-16-2007, 05:26 AM
great add-on but i need to wait the performance, mine is:
Threads: 511,412, Posts: 18,320,253, Members: 345,539, Active Members: 154,798
And i'm scared it will slow down the forum
sabret00the
10-16-2007, 01:03 PM
updated this. there was a bug that meant keywords were only picked up from users who were able to receive keyword notifications. however now anyone can trigger keywords while only users with permission will receive notifications.
sabret00the
10-16-2007, 01:04 PM
great add-on but i need to wait the performance, mine is:
Threads: 511,412, Posts: 18,320,253, Members: 345,539, Active Members: 154,798
And i'm scared it will slow down the forum
if it slows down the forum just uninstall it. no harm, no foul.
FireFish
10-16-2007, 02:43 PM
I noticed that when posting a new thread after installing this mod, there's a confirmation page that the member goes through letting them know that their post has been posted, which contains a SQL error at the top saying:
if (in_array($foruminfo['forumid'], $vbulletin->options['kns_included_forums']))
Anyone else getting this?
sabret00the
10-16-2007, 02:56 PM
I noticed that when posting a new thread after installing this mod, there's a confirmation page that the member goes through letting them know that their post has been posted, which contains a SQL error at the top saying:
if (in_array($foruminfo['forumid'], $vbulletin->options['kns_included_forums']))
Anyone else getting this?
is that all it says? i'm unable to replicate.
FireFish
10-16-2007, 03:08 PM
is that all it says? i'm unable to replicate.See attached screenshots.
I get this when trying to post a new thread while this mod is enabled.
If I disable this mod, users posting a new thread immediately see their thread once submitting & aren't brought to this page.
sabret00the
10-16-2007, 04:15 PM
See attached screenshots.
I get this when trying to post a new thread while this mod is enabled.
If I disable this mod, users posting a new thread immediately see their thread once submitting & aren't brought to this page.
did you select forums for the mod to work in?
FireFish
10-16-2007, 05:08 PM
did you select forums for the mod to work in?
Yes, I did. I even just tried again & still get the same error.
I've been forced to disable the mod until we find the cause. :(
Honestly, it's a great idea & great concept and I'm anxious to re-enable it.
sabret00the
10-16-2007, 05:14 PM
So just to clarify. you had a/some forums selected in your vBulletin Keyword Notification System options (there should've been a list of forums) clicked save and when you returned to the screen said forums were highlighted/grey backgrounds?
rainyleaves
10-17-2007, 02:38 AM
1. First request.
Is this for Exact Match word?
How can I get Non-Exact Match word.
I need Keyword search for Non-Exact Match word.
ex)
Keyword : pass
--> Can search : pass, password, passport,.........or skypass, bypass
2. Second request.
I need 'Users can specify forums' function.
Please...Could you?
I can Donating if you can. hahahaha :)
And I donated for your 'Moderator Application System 2.1' at yesterday.(Buyer: Mi******)
FireFish
10-18-2007, 03:57 AM
So just to clarify. you had a/some forums selected in your vBulletin Keyword Notification System options (there should've been a list of forums) clicked save and when you returned to the screen said forums were highlighted/grey backgrounds?Hmmm, I swear that I highlighted them all a few times, hit Save, but they weren't selected when I came back later to these options.
BUT, Now I just tried it EXCLUDING my top 6 or so forums which consist of RESTRICTED ACCESS forums for only a few members + one item listed as a forum could really be a link to a category in my File Download Library, Bug Tracker, etc.
I excluded those & it still didn't stay once I clicked SAVE.
FINALLY: I deselected the Parent Category which contains both hidden & public forums (as well as the private forums mentioned above) so I was left with ONLY public forums enabled & when I clicked Save this time, it actually worked. It kept my selected forums remembered when I returned to those options + didn't give me that Post Confirmation screen or PHP error on Line 13.
Nice.
We'll keep you posted on how it goes here.
Thanks again!
Jason Black
10-21-2007, 02:50 PM
this file corrupted my vb
Jimandbob
10-21-2007, 05:58 PM
this file corrupted my vb
An explanation of the fault would help:p
Jason Black
10-21-2007, 07:34 PM
An explanation of the fault would help:p
I installed it. properly like i always install the rest of my hacks. The first it starts to show this
Fatal error: Unknown: Failed opening required '/home/rapfeind/public_html/plugins/kns/hook_cache_templates.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rapfeind/public_html/global.php(341) : eval()'d code on line 101
My whole Vb was damaged....
chickadee
10-24-2007, 03:01 PM
Whats the link to this page from the usercp, because my usercp shell has been changed quite a bit.
Great mod though!
sabret00the
10-24-2007, 03:54 PM
1. First request.
Is this for Exact Match word?
How can I get Non-Exact Match word.
I need Keyword search for Non-Exact Match word.
ex)
Keyword : pass
--> Can search : pass, password, passport,.........or skypass, bypass
2. Second request.
I need 'Users can specify forums' function.
Please...Could you?
I can Donating if you can. hahahaha :)
And I donated for your 'Moderator Application System 2.1' at yesterday.(Buyer: Mi******)
Request 1: Would have an unholy performance hit.
Request 2: Is possible. I've gotta cold so i'm not coding much at the moment but should i get some time. I'll see about releasing an add-on. Ultimately it's a question of performance hits. Also. thank you very much for the donation.
sabret00the
10-24-2007, 03:55 PM
Hmmm, I swear that I highlighted them all a few times, hit Save, but they weren't selected when I came back later to these options.
BUT, Now I just tried it EXCLUDING my top 6 or so forums which consist of RESTRICTED ACCESS forums for only a few members + one item listed as a forum could really be a link to a category in my File Download Library, Bug Tracker, etc.
I excluded those & it still didn't stay once I clicked SAVE.
FINALLY: I deselected the Parent Category which contains both hidden & public forums (as well as the private forums mentioned above) so I was left with ONLY public forums enabled & when I clicked Save this time, it actually worked. It kept my selected forums remembered when I returned to those options + didn't give me that Post Confirmation screen or PHP error on Line 13.
Nice.
We'll keep you posted on how it goes here.
Thanks again!
glad you got it sorted :)
sabret00the
10-24-2007, 03:55 PM
I installed it. properly like i always install the rest of my hacks. The first it starts to show this
Fatal error: Unknown: Failed opening required '/home/rapfeind/public_html/plugins/kns/hook_cache_templates.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rapfeind/public_html/global.php(341) : eval()'d code on line 101
My whole Vb was damaged....
That's not a corrupted vBulletin. That's telling you that you never uploaded one of the files it requires to continue.
sabret00the
10-24-2007, 03:57 PM
Whats the link to this page from the usercp, because my usercp shell has been changed quite a bit.
Great mod though!
http://yoursite.com/forums/profile.php?do=editkeywords
athlon64bit
04-29-2008, 10:58 AM
This is one of my favourite add-ons for vbulletin. Can you update this so that it works with the new security token? And will you be making it available for version 3.7?
chickadee
02-09-2009, 09:12 PM
Any possible update on this great mod?
Paul M
02-09-2009, 09:16 PM
I doubt it, the developer has not been online here for a year.
Mike-D
07-12-2009, 01:37 PM
This is one of my favourite add-ons for vbulletin. Can you update this so that it works with the new security token?All you have to do is to add This Line :)
<form action="profile.php" method="post" id="userlist_keywordform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="updatelist" />
<input type="hidden" name="userlist" value="keyword" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
And will you be making it available for version 3.7?I just found this nice Addon and installed it. It works without any problems under vB 3.8 ;)
Katman
09-08-2009, 07:54 PM
After making the change suggested above I now receive the following
error message after trying to post a new thread or reply to any post.
I'm running 3.8.4
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/plugins/kns/hook_newthread_post_complete.php on line 13
KenDude
12-02-2010, 03:40 PM
Hmmm, I swear that I highlighted them all a few times, hit Save, but they weren't selected when I came back later to these options.
BUT, Now I just tried it EXCLUDING my top 6 or so forums which consist of RESTRICTED ACCESS forums for only a few members + one item listed as a forum could really be a link to a category in my File Download Library, Bug Tracker, etc.
I excluded those & it still didn't stay once I clicked SAVE.
FINALLY: I deselected the Parent Category which contains both hidden & public forums (as well as the private forums mentioned above) so I was left with ONLY public forums enabled & when I clicked Save this time, it actually worked. It kept my selected forums remembered when I returned to those options + didn't give me that Post Confirmation screen or PHP error on Line 13.
Nice.
We'll keep you posted on how it goes here.
Thanks again!
Firefish,
I seem to have the same issue in 3.8.x when I highlight the forums I want and click save the page refreshes but it doesn't show any of the forums highlighted. I thought maybe I had accidentally highlighted ones that were private forums so I deselected everything except one public forum and tried to save. Again list refreshes but doesn't show any forum highlighted or saved. Posting a message in the forum with a keyword doesn't send an email. So basically it isn't working until I can get the admin options to save the forums I want it to save. Do you have any idea what table that is saved in and if so I could manually go open that table using a database tool and populate it with the forum id numbers or whatever it puts into the field(s)? to make it work manually.
Anyone seen the author????
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.