Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Desired: Palin filter

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » Ask the Administrators Donate to DU
 
notesdev Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-06-10 07:08 PM
Original message
Desired: Palin filter
Hi, I would like to request the ability to filter out threads that have the word "Palin" in the title... really pings me off that people are giving that woman so much attention!

Can I get an option somewhere that says "ignore Palin threads"? Thanks!
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
Skinner ADMIN Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Dec-07-10 10:01 AM
Response to Original message
1. I am sympathetic. But currently there is no way to do this.
Hopefully we aren't going to have more reason to talk about her in the new year.
Printer Friendly | Permalink | Reply | Top
 
notesdev Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Dec-07-10 02:12 PM
Response to Reply #1
2. This is PHP and MySQL right?
I can do the change for you... it'll look like this:

if(UserOptions->PalinFilter()==true) {

$thread_select_clause .=" AND subject NOT LIKE '%Palin%';

}



and you can just add .$thread_select_clause to the SQL statement that retrieves the threads.

Add one field to the user options table "nopalin" and a radio button in the profile options... it's for a good cause!
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Sat May 04th 2024, 11:35 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » Ask the Administrators Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC