• Page 1 of 1
  • 1
uCoz Community » Archives » Locked » How to change Reputation into Points
How to change Reputation into Points
CodeResolution
Posts: 1570
Reputation: 58

Message # 1 | 6:13 PM
Hey, in my forum, im wanting "Points" for each member, so ive noticed when mixing different codes together you can have Points, For Example
Code
Points: $REP_RATING$$USER_REG_DAYS$$POSTS$$_COM_ENTRIES$$USER_ID$$AWARDS$


Anyway, this would create a good number for example, 346756435 or something simular.

But in "Forum - Appearance of Entries" some of the codes don't work. And only things like, $POSTS$ and $AWARDS" and things like that.
So how do I activate a code in this design section?

Please hurry, because I need to know pretty quick. Thankyou smile

Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Post edited by Mistory - Monday, 2009-10-12, 7:14 AM
animeandstuff
Posts: 33
Reputation: 0

Message # 2 | 6:59 PM
did you try doing it in visual editor? or wat about pda template?
CodeResolution
Posts: 1570
Reputation: 58

Message # 3 | 10:30 PM
Quote (animeandstuff)
did you try doing it in visual editor?

Yes ive tried this.

Quote (animeandstuff)
pda template

I don't now what PDA Template's are or how to use them...

Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
animeandstuff
Posts: 33
Reputation: 0

Message # 4 | 1:19 AM
If you go to Page Editor -> Common Settings -> Scroll Down Check the box that says pda templates then after you click save when you go to customize design -> template you want and are editing click pda template next to conventional template the codes are a bit different
kostova
Posts: 97
Reputation: 9

Message # 5 | 1:22 AM
You could do a mass-if/else statement for an easier, more sensible point-system.
Points: <?if($REP_RATING$='1')?>10<?endif?>
<?if($REP_RATING$>='5')?>15<?else?><?if($REP_RATING$='10')?>20<?endif?><?endif?> Points

Something like that. There's also || and &&'s to add a little better outcome. Just my input.

Post edited by kostova - Monday, 2009-10-12, 1:23 AM
CodeResolution
Posts: 1570
Reputation: 58

Message # 6 | 7:09 AM
kostova, your code works, but how does it add up?

And animeandstuff, I activated PDA template and hasn't done much differance though.


And I used my own code:

Code
$REP_RATING$$USER_REG_DAYS$$POSTS$$_COM_ENTRIES$$USER_ID$$AWARDS$

But only "$REP_RATING$" and "$POSTS$" show, how do you get the others to work?


Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Post edited by Mistory - Monday, 2009-10-12, 7:14 AM
kostova
Posts: 97
Reputation: 9

Message # 7 | 7:44 AM
That's the thing, you have to create your own statements. There is no add feature. There might be a javascript alternative. I'll search and get back at you.
CodeResolution
Posts: 1570
Reputation: 58

Message # 8 | 10:39 AM
Ok, Thanks.

I updated my code, and now it shows: "Forum Posts"-"Reputation"-"Awards" which is pretty good.
But I still would prefer the other code's to work. So if any more experianced member, or staff could tell me what to do, please do so smile


Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Post edited by Mistory - Monday, 2009-10-12, 4:14 PM
uCoz Community » Archives » Locked » How to change Reputation into Points
  • Page 1 of 1
  • 1
Search: