Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

[CSS] Re: Let's discuss Podmaster's Signature

by particle (Vicar)
on Jan 06, 2004 at 15:32 UTC ( #319143=note: print w/replies, xml ) Need Help??


in reply to Let's discuss Podmaster's Signature

if you want to filter out podmaster's sig, i recommend style sheets. add this to your css user setting:

div.pmsig div.pmsig-107642 { display:none; }

~Particle *accelerates*

Replies are listed 'Best First'.
Re: [CSS] Re: Let's discuss Podmaster's Signature
by chromatic (Archbishop) on Jan 06, 2004 at 17:59 UTC

    Heh, it makes your posts invisible too. I should write a patch that gives a warning when someone posts everything within the signature div tags.

      yeah, i use my sig area to keep oft-used tags like blockquote, code, paragraph, etc. since the patch that wraps sigs in div tags was installed, i haven't modified my behavior, and now all my posts are wrapped in the sig div tags. oh well.

      ~Particle *accelerates*

        Actually all you have to do is add the appropriate tags to your signature yourself and PM won't do it automatically for you. They look like

        <div class="pmsig"><div class="pmsig-USERID"> </div></div>

        Note: Its important that the two are not seperated with whitespace and contain no excess whitespace (ie are _exactly_ as above, with the user id substituted in) and that the user id (home node id) is correct. The match is NOT done with a regex for speed reasons

        The outer allows user to turn off ALL signatures, the inner allows users to disable specific annoying signatures. So this entire thread is a waste of time. Princepawn could have easily disabled Podmasters sig, which frankly was one of the sigs people had in mind when this functionality and the tags were added. Personally i find the "retardo" mildly irritating, but have much less of a problem with it than I do with its horrible size and colouring.

        Oh, as a last comment when I patched the original patch for adding this behaviour it added a comment to the html telling you how to do this yourself. The gods thought it was unnecessary and removed it.


        ---
        demerphq

          First they ignore you, then they laugh at you, then they fight you, then you win.
          -- Gandhi


Re^2: Let's discuss Podmaster's Signature (css but better)
by Aristotle (Chancellor) on Jan 07, 2004 at 09:28 UTC
    You can leave out the div.pmsig bit; just div.pmsig-107642 will suffice. In fact, using both won't work if you want to hide my sig, because I edit the HTML in my sig to be <div class="pmsig pmsig-114691">. (Yes, you can list multiple classes for a single tag.)

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://319143]
help
Chatterbox?
[marinersk]: sub newtest{my $expected_result = &target('foo'); my $actual_result = &target('foo'); if ($actual_result eq $expected_result) { &tdd_success(); } else { &tdd_fail(); } } # Test works after three years!
[choroba]: or nobody bothered...
[choroba]: The problem was bigger, as the test tried to call a method that didn't exist anymore
[marinersk]: :: ducking ::
[choroba]: because, someone renamed the method, but didn't notice it was used in the test, as the test was skipped
[marinersk]: Well, if the method doesn't exist, it would be hard to pass the test.
[choroba]: later, someone removed the new method, as all its usage places were safe, but didn't notice the test still used the old name
[choroba]: fortunately, it wasn't that hard to replace the method and fix a few remaining failures due to the changes we did to the codebase over the years
[marinersk]: choroba Sounds like a process improvement opportunity; tests may not all need to be run, but they should all be compiled with perl -c before check-in/promotion happens.
[choroba]: so, now I have the test, so I can start making changes in the code. Back to the original ticket, yay!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2017-05-25 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?