Date and time:
Problem summary: "Default View" friends
Answered by: quasidan
Comments: 13 (add comment)
Even though this doesn't have anything to do with LJ styles directly, I feel like this is related enough to be posted here:

Default View friends pages

p.s. did this community die while I wasn't paying attention or WHAT? Gee whiz...

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=10226

Date and time:
Problem summary: Fixed-height entries
Answered by: quasidan
Comments: 5 (add comment)
I have nothing to do at work today except for answer phones once in a while and help you guys, so I decided to drop in again.

pinkgumdrop asked: "was a way to put a scroll bar across the bottom of my text box on my friends page. I don't like that whenever they post a big pic or something it makes the box HUGE."

Yes, there is. I actually created a style like that a while ago, which is available to the public. It's aptly called Fixed-Size Entries. Of course, I created this long before I understood the difference between ID= and CLASS=, so I used ID="shrinkie" when I should have used CLASS="shrinkie"... anyway, in case you don't like Generator, the basic concept behind the style is this simple style definition:

.shrinkie {
width: ???px;
height: ???px;
overflow: auto;
}


You can change the width and height values to whatever you want.

To import this style to your journal, create a style, select "Friends View" and enter Style ID #116147 into the correct box. You can only do this if you have a paid account.

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=9983

Date and time:
Problem summary: Ask a question!
Answered by: loreleif
Comments: 173 (add comment)
Starting a new thread for questions, so that the notifications go to me and not Dan any more.

Rules:

Please include the following information in your comment:

  • The question (duh)

  • Whether or not you have a paid account

  • The amount of HTML/CSS knowledge you have. Do you know anything about it? Have you ever made a web site? If I told you, "make a table cell with this in it," would you understand? If I told you, "put this in the style sheet," would understand?

  • The amount of knowledge you have regarding the LJ style system. If I said, "Change this in LASTN_EVENT_PRIVATE," would you understand? If I said, "copy %%range%% and paste it after %%events%%," would you understand?

  • E-mail if you wish (see below)


  • NOTE: If the answer to your question can be easily found in the FAQ, it will not be answered.
    If your answer has been answered on stylehelp, it will not be answered.
    You have to ask the question here. Do not e-mail us. Check the memories first.
    If you do not include all the above information, we will not be able to help you!


    How are questions answered?
    Post a comment with your question. An expert will review it and answer it in the community. Make sure to check this community to receive your answer. If you want to be notified by e-mail, leave an e-mail address. Otherwise, we will just answer and you have to check the community for updates yourself.

    Where do I put the overrides?
    Step One: Go to Modify Journal
    Step Two: Click on "Proceed..."
    Step Three: Scroll to the bottom.
    Step Four: dump the code there.

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=9500

Date and time:
Problem summary: Admin note
Answered by: loreleif
Comments: 6 (add comment)
Hi, new mod here: Dan's decided to step off LJ for a bit, and has passed on the moderator hat. I'm your new mod here. It shouldn't change the way anything's been going on, though if you have suggestions, I'm open to them.

(Note to experts: I did go in and clean up the help thread, deleting questions that had already been answered, so it should be easier to find folks that still need help now.)

Thanks, everyone! I now return you to your regularly scheduled style help.
 
Current Mood: informative

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=9440

Date and time:
Problem summary: Useful LASTN
Answered by: quasidan
Here's the LASTN I use myself. I find it extremely useful because it links directly to basically everything I use LJ for. Nobody will probably just use this style as-is, but I'm sure most of you will find at least one element of it that you wish to adopt into your own styles (most of the elements I used were thought up by other people).

Personal journal / Community journal / Style #102241


Please comment here

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=9106

Date and time:
Problem summary: Adding Links to Date Format
Answered by: loreleif
Comments: 1 (add comment)
volantwish asks: "I'd like to add a link to the day view from the date of entries...I'd like to be able to create this effect so that I could maybe eventually make this a public style. I'd also like to do the same thing on my friend page."

There isn't really an elegant way to do this, but you can do it. Sort of. Actually, it's easier to do it on your friends' page than on your own (at least, and make it a public style). In the FRIENDS_EVENT section where you want your date, use the code
[Error: Irreparable invalid markup ('<blockquote [...] font-size:10px">') in entry. Owner must fix manually. Raw contents below.]

<lj user="aurorawizard"> asks: "I'd like to add a link to the day view from the date of entries...I'd like to be able to create this effect so that I could maybe eventually make this a public style. I'd also like to do the same thing on my friend page."

There isn't really an elegant way to do this, but you <b>can</b> do it. Sort of. Actually, it's easier to do it on your friends' page than on your own (at least, and make it a public style). In the FRIENDS_EVENT section where you want your date, use the code<blockquote style="font-family:Courier New, Courier, system"; font-size:10px">&lt;a href="%%cons:siteroot%%/users/%%user%%/day/%%datetime%%"&gt;%%datetime%%&lt;/a&gt;</blockquote>Voila! The drawback is that your FRIENDS_DATE_FORMAT will have to be %%yyyy%%/%%mm%%/%%dd%% (e.g., 2003/03/14 for today), so all your dates will show up that way. I see that in your current LASTN style, you've worked around the date-format problem by putting the link in your DATE_FORMAT section; the problem with that is, as you've discovered, the username variables aren't valid there.

On your LASTN page, unfortunately, there are currently no sections where both %%username%% and %%datetime%% can be used. You're pretty much stuck with the way you're already doing it, and if you choose to make the style public, individuals would just have to type in their own usernames as applicable. (As a workaround, you could redirect your LASTN page to a filtered friends page containing only your entries, or you could make your journal a community and post from another account, then use the ALTPOSTER variable, but neither of these is really conducive to making an easy public style!)

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=8904

Date and time:
Problem summary: Friends' colors on talklinks REVISITED
Answered by: quasidan
Comments: (add comment)
Okay, so I did a bad job last time. Now it works. Here's what you do, based on the Generator style:

In FRIENDS_TALK_READLINK:
<b>%%messagecount%% comment%%mc-plural-s%%</b></a>|

In FRIENDS_TALK_LINKS:
%%readlink%%

In FRIENDS_EVENT, where you normally just put %%talklinks%%:
<tr>
<td align="right" colspan="2" width="100%" class="comments" style="background: %%bgcolor%%">
<a href="http://www.livejournal.com/talkread.bml?%%itemargs%%" style="color:%%fgcolor%%">%%talklinks%%</a><a href="http://www.livejournal.com/talkpost.bml?%%itemargs%%" style="color:%%fgcolor%%">post comment</a>
</td>
</tr>


To see this style in action, check out this link. This is Stylehelp Style #190152 (feel free to copy and use).

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=8567

Date and time:
Problem summary: Making friends view talklinks use the assigned foreground and background colors for each friend
Answered by: quasidan
Comments: 2 (add comment)
zvi_likes_tv wants "the talkpost and talkread links to be the same as the assigned friend foreground color." (link)

You can't do it through FRIENDS_TALK_LINKS because %%fgcolor%% and %%bgcolor%% doesn't work through there. So basically you have to copy all that stuff (talk and readlinks) into FRIENDS_EVENT (and the private and friends-only versions). Using Generator, your HTML for FRIENDS_EVENT might look something like this:

codeCollapse )

To see this style in action, check out this link. This is Stylehelp Style #190152 (feel free to copy and use).

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=8433

Date and time:
Problem summary: Adding "Edit" and "Add to memories" links to entries
Answered by: quasidan
Comments: 1 (add comment)
dataangel wanted to learn how to add "Edit" and "Add to memories" links to her entries (link). She tried using %%itemid%%, which used to be correct. However, now the correct variable is %%itemargs%%. %%itemargs%% turns into something like: journal=quasidan&itemid=276721. The URLs you'd link to in LASTN_EVENT or whereever look like this:

Add to memories: http://www.livejournal.com/tools/memadd.bml?%%itemargs%%
Edit: http://www.livejournal.com/editjournal_do.bml?%%itemargs%%
Add to topic directory: http://www.livejournal.com/topics/additem.bml?%%itemargs%%
Tell a friend: http://www.livejournal.com/tools/tellafriend.bml?%%itemargs%%
Go back one entry: http://www.livejournal.com/go.bml?dir=prev&%%itemargs%%
Go forward one entry: http://www.livejournal.com/go.bml?dir=next&%%itemargs%%

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=7895

Date and time:
Problem summary: Scrolling entries for free users
Answered by: quasidan
Comments: 8 (add comment)
The question: Is it possible to use scrollbars for overflow in entry boxes with a free account? IE: on my FRIENDS page...if the entry is extremely long...it would automatically make it smaller with a scrollbar to view all of the entry.

-influencedbiotc (link)

The answer: this shouldn't be a problem. It won't look as good because you'd have to redefine a class that is already in place. So in Generator, for example you have to look at FRIENDS_EVENT: FRIENDS_EVENTCollapse )

You'd have to redefine entrybox as:

.entrybox {
height: 150px;
overflow: auto;
}


That should work fine.

Link to this entry: http://www.livejournal.com/talkread.bml?journal=stylehelp&itemid=7503