May 26th, 2002

hacking, nerdy

[PATCH] fix login bug.

The problem: Logging in on my goathack (running the latest code) wasn't setting the cookies properly.

The fix: Using an array wasn't necessary, or at least wasn't working. I got rid of the $etime's and made it a single scalar.

Example:
- $COOKIE{'ljuser'} = [ $user, $etime ];
+ $COOKIE{'ljuser'} = $user;
Test: http://goathack.livejournal.org:8030/login.bml , using test/test

Patch: 2002-05-26-login.bml.diff


Update: This was wrong.
  • lurker

LJ FriendsFriends Bug?

Hey all, hope this is the correct community, support didn't seem quite right in my mind.

Basically, my girlfriend noticed something using the friendsfriends view. It shows communities as well. The problem is, she's a member of paidmembers, and hence, it shows all the "friends" of paidmembers, which is as you can imagine, a LOT of people she otherwise has nothing in common with. Hence, I would like to suggest, the friendsfriends view drop communities from the view, or else include a way to filter them out.

*edit* Looks like it's been posted to suggestions.
Eye of Thundera
  • dottey

Patch for /friends/add.bml

This was actually a "bug," in reference to this suggestion. The translator of /friends/add.bml placed .colors.fg and colors.bg in en.dat, while add.bml used .colors.foreground and .colors.background. This patch replaces .colors.foreground and .colors.background with .colors.fg and .colors.bg within add.bml.

Patch available here.

Update: You can test this patch out here but you have to login first (use test/test).

At the time of this post, logging in doesn't seem to be working properly on goathack, so I couldn't test it.
  • Current Mood
    accomplished