vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Keyword Notification System 1.0 (https://vborg.vbsupport.ru/showthread.php?t=160244)

sabret00the 10-13-2007 10:00 PM

Keyword Notification System 1.0
 
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

Quote:

Originally Posted by FleaBag (Post 1360064)
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

Quote:

Originally Posted by RMS-Chef (Post 1360408)
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

Quote:

Originally Posted by rainyleaves (Post 1360497)
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

Quote:

Originally Posted by Loco.M (Post 1360427)
Great idea :)
first post was confusing as hell tho..lol


does this put a strain on a the db ?

Quote:

Originally Posted by Darat (Post 1360484)
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

Quote:

Originally Posted by Jeordie015 (Post 1360189)
Could we get a more...normal description of what this does?

Quote:

Originally Posted by dirtycrow (Post 1360219)
what does this do?

Quote:

Originally Posted by Dream (Post 1360233)
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

Quote:

Originally Posted by hichew (Post 1361320)
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:

Code:

if (in_array($foruminfo['forumid'], $vbulletin->options['kns_included_forums']))
Anyone else getting this?

sabret00the 10-16-2007 02:56 PM

Quote:

Originally Posted by FireFish (Post 1361602)
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:

Code:

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

Quote:

Originally Posted by sabret00the (Post 1361608)
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

Quote:

Originally Posted by FireFish (Post 1361615)
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

Quote:

Originally Posted by sabret00the (Post 1361661)
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

Quote:

Originally Posted by sabret00the (Post 1361697)
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

Quote:

Originally Posted by Jason Black (Post 1365107)
this file corrupted my vb


An explanation of the fault would help:p

Jason Black 10-21-2007 07:34 PM

Quote:

Originally Posted by Jimandbob (Post 1365261)
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

Quote:

Originally Posted by rainyleaves (Post 1362017)
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

Quote:

Originally Posted by FireFish (Post 1362834)
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

Quote:

Originally Posted by Jason Black (Post 1365354)
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

Quote:

Originally Posted by chickadee (Post 1367509)
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


All times are GMT. The time now is 07:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01272 seconds
  • Memory Usage 1,839KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete