Bitcoin Forum

Other => Meta => Topic started by: kjj on October 01, 2012, 04:37:00 AM



Title: signature filters
Post by: kjj on October 01, 2012, 04:37:00 AM
How hard would it be to add a field to the account settings where we could put regex that would block only the signatures that match?

I finally got sick of the paid advertising in signature space and checked the box to nuke them all.  But a lot of the sigs were good, so I feel like I'm missing out by having to kill them all.


Title: Re: signature filters
Post by: BadBear on October 01, 2012, 04:43:10 AM
Profile > Look and Layout Preferences > Check "Don't show user signatures."

Read, comprehend, post.  You seem to get the order reversed quite often.


Title: Re: signature filters
Post by: kjj on October 01, 2012, 04:44:33 AM
Profile > Look and Layout Preferences > Check "Don't show user signatures."

Read, comprehend, post.

Haha.  Why would he start now?


Title: Re: signature filters
Post by: theymos on October 01, 2012, 04:54:04 AM
I still haven't really figured out how to add stuff to the profile settings. I managed to get one checkbox working for that watchlist-related setting using a lot of trial and error. No idea how I'd add a text box for regex.


Title: Re: signature filters
Post by: Maged on October 01, 2012, 09:40:11 PM
A greasemonkey script should be able to do this pretty easily.


Title: Re: signature filters
Post by: live627 on October 03, 2012, 03:51:47 AM
I still haven't really figured out how to add stuff to the profile settings. I managed to get one checkbox working for that watchlist-related setting using a lot of trial and error. No idea how I'd add a text box for regex.
That is one of the most convoluted areas of SMF ever to add stuff too.. I offer to help you get that text field in AND make it filter sigs.


Title: Re: signature filters
Post by: theymos on October 05, 2012, 01:27:12 AM
That is one of the most convoluted areas of SMF ever to add stuff too.. I offer to help you get that text field in AND make it filter sigs.

The filtering part is easy, but I would appreciate it if you could write a little guide on how to add new profile settings. Thanks.

I'll need to figure out how to prevent users from writing really complex regex patterns that take forever to run. Maybe support basic regex only.


Title: Re: signature filters
Post by: ElectricMucus on October 05, 2012, 01:32:00 AM
If know javascript you can use the firefox greasemonkey plugin to implement any filtering you like.
Be sure to share it if you do.  :)


Title: Re: signature filters
Post by: live627 on October 05, 2012, 09:01:52 AM
Quote
I would appreciate it if you could write a little guide on how to add new profile settings. Thanks.
I'll get one up in the next few days.