The Un-Official Proxomitron Forum

Full Version: Help! - UOPF Cleaner...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can someone explain why
Code:
Name = "Un-Official Proxomitron Forum:  DateStamp Display [Key=^Ctrl] {Prox(Fox|Rocks)}"
Active = TRUE
URL = "(^$KEYCHK(^C))prxbx.com/forums/"
Bounds = "$NEST(<tr,</tr>)"
Limit = 2500
Match = "*<td class="row1" align="center" valign="middle" (width="20"|height="50")>*"
        "<span class="(postdetails|gensmall)">"
        "("
        "(Today|Yesterday)$SET(keep=1)"
        ")"
        "*<br />*"
        "(^$TST(keep=1))"
is NOT working...

Yet when removing the ^ before the $TST DOES work, only in the exact OPPOSITE of what I want the filter to do (axe ALL non "yesterday" and "today" posts")...


Any help will be greatly appreciated - I cannot seem to get my fingers around that $TST command, 'cause it is CERTAINLY not doing what "logic" would suggest...
Here you go:

Code:
[Patterns]
Name = "Un-Official Proxomitron Forum:  DateStamp Display [Key=^Ctrl] {Prox(Fox|Rocks)}"
Active = TRUE
URL = "(^$KEYCHK(^C))prxbx.com/forums/"
Bounds = "$NEST(<tr,</tr>)"
Limit = 2500
Match = "*<td class="row1" align="center" valign="middle" (width="20"|height="50")>*"
        "<span class="(postdetails|gensmall)">[#01:31] \w [#2000:9999] [#01:12]:[#00:59] (a|p)m<br />*"

I, too, could not get the $TST command to work, which is why I hate working with it :p
thank ya kindly...
I was about ready to throw the monitor out the window Big Teeth
ProxRocks Wrote:thank ya kindly...
I was about ready to throw the monitor out the window Big Teeth

Occasionally I get worked up to that point too when I work on a stubborn filter...

I guess it can be called the "Disfunctional Proxomitron Filter Syndrome". Pervert
A slight mod -
Code:
Name = "Un-Official Proxomitron Forum:  DateStamp Display [Key=^Ctrl] {Prox(Fox|Rocks)}"
Active = TRUE
URL = "(^$KEYCHK(^C))prxbx.com/forums/"
Bounds = "$NEST(<tr,</tr>)"
Limit = 2500
Match = "*<td class="row1" align="center" valign="middle" (width="20"|height="50")>*"
        "<span class="(postdetails|gensmall)">"
        "([#01:31] \w [#2000:9999] [#01:12]:[#00:59] (a|p)m<br />|No*Posts</span>)*"
Surely helps keeping overview. Smile!

The targeted code is theme-specific, above filters didn't work for me with the current default theme, this one does so far with the available themes:
Code:
[Patterns]
Name = "Un-Official Proxomitron Forum:  DateStamp Display [Key=^Ctrl] {Prox(Fox|Rocks)}"
Active = TRUE
URL = "(^$KEYCHK(^C))prxbx.com/forums/"
Bounds = "$NEST(<tr,</tr >)"
Limit = 2500
Match = "*<td class=$AV(row1)*"
        "<span class=$AV(postdetails|gensmall) >((^today|yesterday)[^<]++(a|p)m<br />|no posts)*"
( {Prox(Fox|Rocks)}: your filternames are so long, i couldn't even add a revision. Wink )

sidki
thank ya kindly...

the "overview mode" is a MUST in my eyes, I wouldn't browse my daily sites any other way...

as for the filter name - yeah, definitely could be shortened...
in fact, I think I now like "overview mode" as opposed to "datestamp display" (the {Prox(Fox|Rocks)} was added solely for 'public release')...
Here is something to play with. Smile!

Code:
[Patterns]
Name = "UOPF: Alternate Display     5.07.16 [sd po ku]"
Active = TRUE
URL = "$TYPE(htm)prxbx.com/forums/"
Limit = 2048
Match = "<table([^>]++)\2height=$AV(100)( class=$AV(maintable) >)\3"
        " $NEST(<tr,*logo_phpBB.gif*,</tr >)"
        "$SET(1="
        "<table\2style="height: 30px !important;"\3\r\n"
        "<!-- PROX-S: Removed by UOPF Alternate Display Filter (phpBB logo) -->\r\n"
        ")"
        "|"
        "<tr height=$AV(20)$INEST(<tr,*spacer.gif*,</tr)</tr >"
        "$SET(1=\r\n<!-- PROX-S: Removed by UOPF Alternate Display Filter (top spacer) -->\r\n)"
        "|"
        "<a([^>]++class=$AV(gensmall) > paFileDB </a >)\2"
        "$TST((\p)=/kyeu/proxo/forums/(index.*|))"
        "$SET(1="
        "<a\2&nbsp;|&nbsp;<a class="gensmall" id="proxT" href="javascript:PrxSToggle();">All Topics[/url]"
        "\r\n\r\n<!-- PROX-S: Below added by UOPF Alternate Display Filter (toggle switch) -->\r\n\r\n"
        "<script type="text/javascript">\r\n"
        "  function PrxSToggle() {\r\n"
        "    var isIE = (document.all && !window.opera) ? 1 : 0,\r\n"
        "    tags = document.getElementsByTagName("tr"),\r\n"
        "    targ = document.getElementById("proxT"),\r\n"
        "    child = targ.childNodes[0],\r\n"
        "    txtO = (isIE) ? child.toString() : targ.text,\r\n"
        "    show = (isIE) ? "block" : "table-row",\r\n"
        "    str = (txtO == "All Topics") ? "New Topics" : "All Topics",\r\n"
        "    txtN = document.createTextNode(str);\r\n"
        "    targ.replaceChild(txtN, child);\r\n"
        "    for (var i = 0; i < tags.length; i++) {\r\n"
        "      if (tags[i].className == "ProxS") {\r\n"
        "        if (tags[i].style.display != show) {\r\n"
        "          tags[i].style.display = show;\r\n"
        "        } else {\r\n"
        "            tags[i].style.display = "none";\r\n"
        "        }\r\n"
        "      }\r\n"
        "    }\r\n"
        "  }\r\n"
        "</script>\r\n"
        ")"
        "|"
        "<tr($INEST(<tr,"
        "*<span class=$AV(gensmall) > ((^today|yesterday|the\s)[^<]++(a|p)m<br /+>|no posts)*"
        ",</tr))\2$SET(1=<tr class="ProxS" style="display:none"\2)"
        "|"
        "<div align=$AV(center) > <br /+> <span class=$AV(gen) >*</div >"
        "$SET(1=\r\n<!-- PROX-S: Removed by UOPF Alternate Display Filter (bottom div) -->\r\n)"
Replace = "\1"

Note the "All Topics" or "New Topics" link, upper left, right of "paFileDB", while looking at the front page.
The topics inside the individual forums aren't touched, since they are sorted newest-first anyway.
For the default theme the top DIV containing the phpBB logo gets removed.

It's a stand-alone filter, although i use my naming syntax (to avoid excessively long handles of certain members Big Teeth ).


edit: "The time now..." was toggled sometimes -> fixed

sidki
Works pretty nice Wink
Great - I love these toggle filters. Smile!
Um, I'm getting no "toggle"...
Am I supposed to be seeing anything like the "toggle" at Fark, for example?


edit: is an IncludeExclude entry needed, perhaps?
Yes, similar to Fark. Only on the main forum page ( http://prxbx.com/forums/index.php ), there is nothing to toggle on the other pages. It shouldn't depend on any other filters or list entries, as long as the filter is somewhere at the top in webfilter window.

Don't you see only the recent topics? And a new "All Topics" link, just right to "paFileDB"? I just tested again with a setup close to yours, Maxthon and sidki_oob, works for me.

edit: Did you try disabling your own UOPF filter(s)?

sidki
Minor edit
Imported the filter into the Out-Of-The-Box 6/9+7/9+Y!wips, right below the ComputerCops alternate display filter, and I'm getting NO toggle...

I've made no changes at all to the Out-Of-The-Box config unless specifically instructed to do so...

Sorry, I'm not getting any "toggles" with the above filter...
Do you see all topics or only the recent topics?
What theme are you using?
What happens if you're not logged in?

edit: Do you see a "Site | paFileDB" upper left?
Pages: 1 2
Reference URL's