Jason (squeaky19) wrote in lj_everywhere,
Jason
squeaky19
lj_everywhere

  • Mood:
  • Music:

Print text based on caps

I am trying to incorprate a new feature into my default style. It requires me to be able to pull a user's caps. The problem is that I can't quite figure out how to get the caps out of the DB. I am been pouring over the code all morning, and cant quite get it. I know the string i need is LJ::get_caps)($u, "users_cap"). I just can't figure out how to pull the value of $u. If someone could point me in the right direction, it woudl be greatly appriciated.
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 1 comment