Post Reply 
CastleCops Forums: Alternate Display 8.01.06 [sd] (d.s)
Aug. 21, 2008, 05:46 PM
Post: #1
CastleCops Forums: Alternate Display 8.01.06 [sd] (d.s)
How can you change Sidki's CastleCops Forums: Alternate Display 8.01.06 [sd] (d.s) filter so that it displays all your fav forums and not just the Proxo ones ?
Add Thank You Quote this message in a reply
Aug. 24, 2008, 04:34 PM
Post: #2
RE: CastleCops Forums: Alternate Display 8.01.06 [sd] (d.s)
Here you go:

Code:
[Patterns]
Name = "CastleCops Forums: Alternate Display     7.06.16 [sd] (d.s) [show-all-fav]"
Active = TRUE
URL = "(^$KEYCHK(^A))$TYPE(htm)(www.|)castlecops.com/((check|f(orumx+|)|p(o+st([psx]|itle|lite|t(ic|)|)|)|t)[0-9]|modules.php\?\&+name\=(forums|your_|Private_))"
Limit = 32766
Match = "<("
        "!-- PROX: Body Begins -->$INEST(<!-- PROX:,<!-- Begin Main Content)"
        "$SET(1=\3\r\n<br />\r\n)$SET(5=topbar)"
        ""
        "|table([^>]++width=[#90:100]%([^>]+>)+{2} )\2<td[^>]++width=[#150:160]$INEST(<td,</td)</td >"
        "( <td[^>]+> <img$INEST(<td,</td)</td >)+$SET(1=<table\2\3)$SET(5=left-td)"
        ""
        "|br /+> <center> <table[^>]++width=[0-9]+% class="(forumline)\5">*</center >( <br /+>)+$SET(1=\3)"
        ""
        "|center> <(("
        "table width="(950)\2"*</table >"
        "&&"
        "*(<center> <font class=$AV(tiny)> [#0:*][^<]+<br /+>)\#*<br /+>( [#0:*][^<]+)\#"
        "$SET(1=\3<br />\@</font></center>)*"
        "|$SET(1=\3)*"
        ")|!-- SiteSearch (Google)\2*-- >$SET(1=\3)) </center >"
        "$SET(5=bot_\2)"
        "|div align="center"> <span class="copyright"$INEST(<div,</div) </div >$SET(1=\3)$SET(5=bottom2)"
        "|td align="right" valign="middle" nowrap>$INEST(<td,</td)</td >$SET(1=\3)$SET(5=submit)"
        "|a([^>]++class=$AV((nav*)\7)[^>]+>&&(*href=)\2$AV((*.html)\4*)\8)([^>]++Proxo)\6"
        "$SET(1=<a class="\7" href="forum-cat14.html">Proxomitron</a> -> <a\2"\4"\8\6)$SET(5=prox-link)"
        "|a[^>]++href=$AV(*/backendforum*)*</a > (<a[^>]++href=$AV(*(backend|atom)\5forum*)*</a > )+<br /+>"
        "$SET(1=\3)"
        "|a[^>]+> <img[^>]++alt=$AV(Subscribe to this Feed)[^<]+</a > (^(^<br /+>))$SET(5=subscribe)"
        ")"
        "$SET(3=\r\n<!-- PROX-S: Removed by CC Alternate Display Filter (\5) -->\r\n$SET(sSpec=$GET(sSpec)\5.))"
        ""
        "|modules(.php\?name\=Your_Account(\&(amp;)+op=logout|)\&(amp;|))\2(amp;)+(redirect\=)\3(index|forums)"
        "$SET(1=modules\2\3prx-sitespec-hey_this_is_just_a_friendly_proxo_filter_no_worries-\h\p\q)"
        "$SET(5=no-worries)"
        ""
        "&($TST(volat=*.log:2*)$ADDLST(Log-Main,[$DTM(d T)]\tSiteSpec CastleCops Alt\t\5 \t\u)|)"
Replace = "\1"
Visit this user's website
Add Thank You Quote this message in a reply
Aug. 26, 2008, 12:48 AM
Post: #3
RE: CastleCops Forums: Alternate Display 8.01.06 [sd] (d.s)
thanks.
after comparing the 2 filters with ExamDiff I see that you have to remove the following bit of code from the original filter to make it work.
Code:
|tr> <td class=$AV(catLeft) colspan=$AV(2)
(*</tr >(^(^([^>]+>)+{4}Proxomitron))|(^([^>]+>)+{3}Proxomitron)*</tr >(^(^ </table)))
$SET(1=\3)$SET(5=collapsed)

It seems to work even if you retain the original url match field also.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: