Karl (supersat) wrote in lj_dev,

FIX: @livejournal.com aliases broken for permanent accounts

As noted here, ljcom/bin/maint/pay.pl doesn't insert a row into the paiduser table for permanent accounts, which causes ljcom/bin/maint/aliases.pl to not generate an alias for new permanent users. I've patched ljcom/bin/maint/pay.pl so it now inserts a row into the paiduser table for permanent accounts. You can get the patch here.

The second patch I made changes the way ljcom/bin/maint/aliases.pl generates its list of paid users. Instead of relying on the paiduser table, it checks to make sure user.caps & 8 is true. This has the benefit of fixing current permanent accounts with broken @livejournal.com aliases. Otherwise, a script will need to be hacked up to insert permanent users into the paiduser table that aren't already there, which should probably be done anyway for consistancy. Get the patch here.

  • LJ Picture Uploader

    Hello, guys! Lately I made a program to upload pictures on LJ server ( Page on SoftPedia). It's quite simple at look and same simple in use, so hope…

  • Installing Livejournal: location of files and importance of Subversion

    I wish to install Livejournal for my website. I tried my best, but I could not find a page or location from where I can download the LJ installation…

  • new Oragir v0.2 beta

    oragir v0.2 beta the second beta version is released. there are following features and changes: can download the whole journal from LJ server and…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment