Log in

No account? Create an account

Previous Entry | Next Entry

How to add "reputation" under userpics?

  • Oct. 24th, 2007 at 1:04 PM
So I chat a lot on vBulletin type of forums, and what i really like there is "reputation" which users can give to each other. At the bottom one can see how this reputation accumulates, and can also determine who is "popular".

I don't want to make this "reputation" available for all users in my community to give. But as a moderator, I wish I could give "points" to the users, which would accumulate and display somehow under their userpic.

My community is a paid account. I don't know much about programming, I do know HTML though, but I don't believe HTML would be able to do it. I would need "S2" or "java" or "php"... anybody? Help? PLEASE?

I have "Expressive Seasonal": buonappetito


Oct. 25th, 2007 04:24 am (UTC)
OK, here's some code for your community's theme layer. What this will do is replace the icons for your maintainers with the strawberry, but (I think) it'll only work in IE 7, Firefox, Safari, and other browsers that support attribute selectors. Every other icon will be the default LJ ones. If you leave in the CSS you have from before, people viewing the community in IE 6 and other old browsers will still the strawberry next to all the user names. The CSS is based on ephi's tutorial. You can customize it by changing the user names in the quotes, or using a different icon.
function Page::print_custom_head() {
  var string[] maintainers = ["duseg", "elladkin", "lentyajka_01"];
  var string new_usericon = "http://img522.imageshack.us/img522/73/buonappetitoberrytx2.gif";
  var string old_usericon = "http://stat.livejournal.com/img/userinfo.gif";
  """<style type="text/css">""";

  foreach var string user ($maintainers) {
    var string maintainer_url = "http://${user}.livejournal.com/profile";
.ljuser a[href="$maintainer_url"] img[src="$old_usericon"] {
    width: 0;
    height: 0;
    background-repeat: no-repeat;
    background-image: url($new_usericon);
    padding: 16px 0 0 17px !important;
Let me know if you need more help.
Oct. 25th, 2007 12:30 pm (UTC)
wow! thank you! let me try this...
i appreciate your attention! :)
Oct. 25th, 2007 12:46 pm (UTC)
now please bear with me. could a similar layer be set up for another group of users, who would have not strawberry, not baldyman, rather something different? and then another layer? i see around 4-5 groups i would like to set up. and could i move those users from one layer to another any time?

Latest Month

March 2016

S2 Help Communities


Powered by LiveJournal.com
Designed by chasethestars