Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Update: Okay so the first post of this sparked some discussion about more standardized CSS tags. While there is still no standard we are trying to convert all intances of _ to -. Apparently _ is not completely support in all browsers so for the sake of compatibility we are making this change.

Now my definition of recently may be a bit off. These are just a few of the many changes I have seen in the past month or so. I've tried to document them as well as possible and do them justice. Please know that these make up probably 5-6 out of the last 50+ patches so there is tons of development going on. Some of it is under the hood, some of it is amazing new stuff that will wow you in the future, and some is development on the development engine! That is by no means a comprehensive list either so please know that the members of pmdev are hard at work trying to make this as great a place as possible. So without further stalling here are some of the biggest changes (to me) that you will notice and hopefully appreciate.

CSS For Chat and Private Messages (thanks to theorbtwo)

Chat Messages are now wrapped in 2 span tags. The outer most is class chat, the inner one is class chatfrom_{userid}. This allows you to style chat messages in general or specific messages from individuals. There are also msg, and msgfrom_{userid} classes for private messages as well.

For instance I have: .msgfrom_263384:before, .chatfrom_263384:before {content: "\0020AA"} which puts a cool little symbol in front of chat messages, and msg's from myself.

CSS For New Replies (by me)

This css lets you style replies to a node based on the date they were created. This is only usefull if you use the newest node page and click the "I've checked all these" button. Any nodes created since the last time you clicked that will be classed differently. Here are the classes. reply and reply_body are applied to ALL replies. This allows you to style all replies even if you don't care about new / old. New messages will then also have the classes replynew and replynew_body. This will allow you to then also apply some different styles to replies that have been submitted since you last "check all these". For instance I use the following CSS:

.reply { background-color: rgb(180, 180, 255); } .reply-new { background-color: rgb(255, 180, 180); }

CSS For Reply Bodies (thanks to diotalevi)

There is now a pmnote-{userid} class wrapped around the bodies of replies.

Previewing While Not Logged In (thanks to davido)

This now results in a large text "You aren't logged in." This should help cut down on duplicate posts by monks who then login and repost.

Nodelet CSS Changes (thanks to demerphq)

Class and ID tags have been added as follows. class="nodelet_head_row" and id="nodelet_head_row_$name" for the header and then class="nodelet_body_row" and id="nodelet_body_row_$name" for the actual body of the nodelets. This will let you style each nodelete, or all nodeletes accordingly. No sample for this yet, maybe demerphq could show use how he uses it!

Newest Nodes CSS (by me)

Each table row now has a class node-from-{userid}. Usefully for highlighting or hiding entries.

CSS for Weekly, Monthly, Daily Best (thanks to demerphq)

Classes even and odd are applied to each item (well to each even and odd item) as well as a class item-000 through item-009. Those are in order from best to worst and would let you highlight the top, or remove the bottum ones. Some sample CSS would be great here as well! See demerphq's post below regarding a more detailed explanation of these.

Yea 256th post! :)

Eric Hodges

In reply to Development Changes Recently by eric256

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2023-09-26 22:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found