Daniel W. Ottey (dottey) wrote in lj_dev,
Daniel W. Ottey
dottey
lj_dev

  • Mood:

"Add &numcomments=xx" user-option

Awhile back, there was a default that all links on journal pages would have &numcomments=xx or something like that added to the talkread URLs, so that the link would become "new" if there were new comments made. Many people liked this, though some didn't, and Brad removed it.

Then they said they would add it back in the future as a user option.

I don't know if anyone has ever submitted a patch to do this, but I was going to try to write one myself. I've never really used my goathack account before though, so I'm real new to this. This seemed like a good thing to try to work on as a first go.

So I've been looking at the table sin the database and looking over some code. It seems to me that each user option needs a column in the userproplist and then also in the userprop tables.

So my question is, is this something I can do in my goathack that will get incorporated in a patch I make? If not, I guess its worthless for me to work on this. I'm just not sure how I would go about adding a column in the table and get it included in a patch.

Hope this question makes sense. Any help for a newbie would be appreciated!
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 18 comments