Post Reply 
[Req] Removing Post Signature
Oct. 07, 2005, 09:45 PM
Post: #1
[Req] Removing Post Signature
Hi all, I visit a lot of forums and I was wondering whether it's possible to create a filter that removes the signatures from the posts... and if possible the removed signature should not leave an empty space.
Example URL: http://www.gtaforums.com/index.php?showtopic=216833

I use Firefox v1.0.7 with Sidki's latest config. I did a lot of searching before I decided to request a filter here. I came across two possible solutions but unfortunately they didn't work for me.

1. An extension for firefox http://extensionroom.mozdev.org/more-inf...tter_phpbb

2. A filter for Proxomitron

Name = "Signature Clear"
Active = TRUE
URL = "forum.ru-board.com/"
Limit = 256
Match = "<br><span class=sing>----------<br>*</span>"

I found the above filter at
http://www.forum.ru-board.com/topic.cgi?...9&start=40
The link is apparently down at the moment.

Any help will be appreciated and please let me know if I have not properly explained what I want the filter to do.

Thank you
Add Thank You Quote this message in a reply
Oct. 07, 2005, 10:08 PM
Post: #2
 
maxbaggi, there are two apparent problems with that filter:

1. The URL Match is too specific. In the filter I wrote, I made it apply to all HTML pages.

2. The matching expression is written to only match the one over at ru-board.com.

Here is a filter I quickly wrote and should work with most forums. If you find any forum where this filter doesn't work, post the link here and I'll update the filter. It should work for most phpBB forums.:

Code:
[Patterns]
Name = "Forum Post Signature Remover"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 512
Match = "<br /><br />--------------------<br /> <div class='signature'>*</div>"
        "|<span class="postbody"><br />_________________<br />*</span>"
        "|<br><br><table align=left class=sing><tr><td colspan=2>----------<br>*</td></tr></table>"
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 07, 2005, 10:30 PM
Post: #3
 
Thanks Kye-U, the filter works on most of the forums I visit Cheers But there is one that is still displaying signatures. I will pm you the link in a few minutes... thanks again Cheers Hail
Add Thank You Quote this message in a reply
Oct. 07, 2005, 11:00 PM
Post: #4
 
Code:
[Patterns]
Name = "Forum Post Signature Remover"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 512
Match = "<br /><br />--------------------<br /> <div class='signature'>*</div>"
        "|(<span class="postbody">|)<br />_________________<br />*</span>(<span class="gensmall">*</span>|)"
        "|<br><br><table align=left class=sing><tr><td colspan=2>----------<br>*</td></tr></table>"

Eyes Closed Smile
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 07, 2005, 11:26 PM
Post: #5
 
Thank you so very much, Kye-U Hail
It works like a charm Cheers
Add Thank You Quote this message in a reply
Oct. 08, 2005, 01:50 PM (This post was last modified: Oct. 08, 2005 05:34 PM by ProxRocks.)
Post: #6
 
Needs a little more help...
See signature for Shea (sorry Shea, it just happened to be an example) on the UOP...

for example, see Shea's signature in the reply below...


ps: besides, I luv ya Shea, I'm a New York METS fan (ie, Shea Stadium)...
Add Thank You Quote this message in a reply
Oct. 08, 2005, 04:56 PM
Post: #7
 
I see, it's because on invision boards, they use <span> tags for different colors of text. So it doesn't go all the way to the end of the signature, just the next </span>

�{=(~�::[Shea]::��~)=}�
How 'bout you sideburns, you want some of this milk?
This fading text is pretty cool, eh? I bet you wish you had some.
Add Thank You Quote this message in a reply
Oct. 08, 2005, 06:11 PM
Post: #8
 
Code:
[Patterns]
Name = "Forum Post Signature Remover"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 4096
Match = "$NEST(<br /> <br /> -------------------- <br /> <div class='signature'>,*,</div>)"
        "|$NEST((<span class="postbody"> |)<br />_________________<br />,*,</span> <span class="gensmall">*</span>)"
        "|$NEST(<br><br><table align=left class=sing><tr><td colspan=2>----------<br>,*,</td> </tr> </table>)"
        "|$NEST(<!-- sig -->,*,<!-- / sig -->)"

This one should work better Wink
Visit this user's website
Add Thank You Quote this message in a reply
Feb. 12, 2006, 07:37 AM
Post: #9
 
Updated to match SimpleMachines and punBB:

Code:
[Patterns]
Name = "Forum Post Signature Remover"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 4096
Match = "$NEST(<br /> <br /> -------------------- <br /> <div class='signature'>,*,</div>)"
        "|$NEST((<span class="postbody"> |)<br />_________________<br />,*,</span> <span class="gensmall">*</span>)"
        "|$NEST(<br><br><table align=left class=sing><tr><td colspan=2>----------<br>,*,</td> </tr> </table>)"
        "|$NEST(<!-- sig -->,*,<!-- / sig -->)"
        "|$NEST(<div class="postsignature">,*,</div>)"
        "|$NEST((<hr width="100%" size="1" class="hrcolor" /> |)<div class="signature">,*,</div>)"
Visit this user's website
Add Thank You Quote this message in a reply
Aug. 01, 2007, 11:52 PM
Post: #10
RE: [Req] Removing Post Signature
Its not working for me.
Add Thank You Quote this message in a reply
Aug. 02, 2007, 12:44 AM
Post: #11
RE: [Req] Removing Post Signature
What is the link to the forums that it doesn't work on, or, what is the forum software that is it not working with? Smile!

Welcome, by the way Wink
Visit this user's website
Add Thank You Quote this message in a reply
Aug. 02, 2007, 12:57 AM
Post: #12
RE: [Req] Removing Post Signature
Well, its not working in this thread. Also, I tried it at the forums on http://www.gp32x.com and it didn't work their either. Maybe the script is not being copied/pasted correctly.

Thanks for the welcome.
Add Thank You Quote this message in a reply
Aug. 02, 2007, 01:31 AM
Post: #13
RE: [Req] Removing Post Signature
Code:
[Patterns]
Name = "Forum Post Signature Remover"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 4096
Match = "$NEST(<br /> <br /> -------------------- <br /> <div class=$AV(signature)>,*,</div>)"
        "|$NEST((<span class="postbody"> |)<br />_________________<br />,*,</span> <span class="gensmall">*</span>)"
        "|$NEST(<br><br><table align=left class=sing><tr><td colspan=2>----------<br>,*,</td> </tr> </table>)"
        "|$NEST(<!-- (sig|start: postbit_signature) -->,*,<!-- (/ sig|end: postbit_signature) -->)"
        "|$NEST(<div class="postsignature">,*,</div>)"
        "|$NEST((<hr width="100%" size="1" class="hrcolor" /> |)<div class="signature">,*,</div>)"

Updated to match MyBB and made first match more generic (by replacing single quotes with $AV()) Wink
Visit this user's website
Add Thank You Quote this message in a reply
Aug. 02, 2007, 02:41 AM
Post: #14
RE: [Req] Removing Post Signature
Thanks for updating it. It works now.
Add Thank You Quote this message in a reply
Aug. 02, 2007, 07:17 PM
Post: #15
RE: [Req] Removing Post Signature
Actually, it doesn't work all the time. Signatures that have quotes in them aren't being filtered.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: