Log in

No account? Create an account
October 31st, 2001 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

October 31st, 2001

Proposal: Titles vs. Names [Oct. 31st, 2001|04:03 pm]
LiveJournal Development


I talked to alanj and opiummmm about this a bit, but wanted to hear other input before I went ahead with it.

Basically, I want to introduce the concept of a journal title. Right now everybody's journal title is "Bob's LiveJournal". That's lame.

So adding a title field ... where do we do it: add it to userprop, where it requires a join to get to, or bloat the user table more? (though it should be noted the user table has been shrinking a ton over the past month or so... most things are userprops now)

Proposal: neither. We copy everybody's current name field in the user table to a new realname userprop. Then, we set everybody's current user.name to "$user.name's LiveJournal" or "$user.name Community", depending on what user.journaltype is.

Now, the meaning of user.name is journal name, not user's name, which makes more sense, since the user table isn't really about people anyway ... it's about journals. (it was about people before shared accounts, etc, etc.)

Then to S1 we add new %%title%% fields to the page, replacing all the "%%name%%%%name's%% LiveJournal" crap. Now people can set their title to whatever. Opi has volunteered to go and fix all the S1 styles as necessary. S1 styles that require %%name%% will still be able to use it.... its source will now be the realname userprop, but style authors won't need to know any of that.

One extra detail: If somebody changes their realname, we'll automatically update their journal title to the default if it's detected that their old journal title was the default given their old realname. So they'll be linked, unless you want them different.

The advantage to having the journal title in the user table is that we can then get it everywhere.... directory (yes, coming soon), interests lists, friends listings in clients, etc. Whereas the realname would only be used on userinfo pages and such, where we're already loading userprops so it's not an extra hit.

Disadvantages? I see none. But maybe you see something I don't.
link6 comments|post comment

"Tabular Indent" Style Problem [Oct. 31st, 2001|09:50 pm]
LiveJournal Development


Howdy, I'm new here. fastpussycat posted this support request:
Pointing out that the "Tabular Indent" style does not behave properly on a community page. The anchor tags for the "Posted by: user" is wrong. An example can be seen here:

Looks like this is a problem with the style design. I peeked at the SQL code entry for (11825,'system','Tabular Indent','lastn') and found this at column 3797

<A HERF=\"%%cons:siteroot%%/users/%%owner%%\">%%poster%%

Which should probably be

<A HREF=\"%%cons:siteroot%%/users/%%poster%%\">%%poster%%

I'm not sure what proper protocol is for submitting fixes like this, so I figured I'd just post it here and someone would tell me.
link5 comments|post comment

[ viewing | October 31st, 2001 ]
[ go | Previous Day|Next Day ]