The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 16, 2019, 11:40:05 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: SMF: Turn notification on when you post or reply to a topic...  (Read 85873 times)
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« on: October 25, 2007, 01:22:37 PM »

Does anyone know what table/field this param is for user configuration? I can't find it anywhere...
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
SEOidiot
Journeyman
***
Offline Offline

Posts: 84


^ Hes a pint sized Ned Flanders


View Profile
« Reply #1 on: October 25, 2007, 02:33:19 PM »

do u mean notification by topic or by default?

If its by topic its in smf_log_notify

If its by default then its in smf_members

Things you could do if you were sneaky....

If you want you can cron a php page to reset everyone to accept notifications whatever they have set....

Also if you were to say add a couple of new fields to the smf_members table to hold something like 'target' and 'board' then you can set another cron that looks for topics in a board and then checks if your 'target' users have replied in the threads and if they havent add a line to the smf_log_notify that means they would get notifications of new replies in threads they may not have even replied to ...

Just a thought  Angel

Of course you could also add some javascript to the post page to set the notify me of replies by default....
Logged

<mango>Yummmmmmmmmmmmm</mango>
<pie>ewwwwwwwwwww</pie>
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #2 on: October 25, 2007, 02:39:28 PM »

do u mean notification by topic or by default?

If its by topic its in smf_log_notify

If its by default then its in smf_members
By default... I can't figure out which column it is... I've turned it on and off repeatedly for my account and cannot see which field is being modified. I have all the others, just not this one param  Huh?


Things you could do if you were sneaky....
Perish forbid!  ROFLMAO


If you want you can cron a php page to reset everyone to accept notifications whatever they have set....
Zactly...


Also if you were to say add a couple of new fields to the smf_members table to hold something like 'target' and 'board' then you can set another cron that looks for topics in a board and then checks if your 'target' users have replied in the threads and if they havent add a line to the smf_log_notify that means they would get notifications of new replies in threads they may not have even replied to ...
You wouldn't have such an example laying about perhaps, simply for research purposes and all eh?


Of course you could also add some javascript to the post page to set the notify me of replies by default....
Stupidly had not thought of that one yet... but in fact, I could just eliminate the checkbox entirely and put a hidden <input> with the value set to On (like a check...)
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!