Forum moderator: bigblog |
uCoz Community » For Webmasters » Custom Solutions » User Point System (Tutorial) |
User Point System |
This Is A Common Feature Of Forum. But For The Limitations In uCoz. It's Not Possible To Implement With PHP. That's Why I am Posting This Tutorial Here
Paste This In The Appearance Of Forum Entries (Where You Want It To Be Appear) Code <script type="text/javascript"> for (y=1;y<=1;y=y+$POSTS$) { document.write("Points: "+<?if($AWARDS$)?>(<?endif?>(y*$POSTS$*2)<?if($AWARDS$)?>+$AWARDS$)<?endif?>+); } </script> Explanation : Y's integer is 1, meaning (y-1=0) If "Y" manages to go under "1" It would do the following sum, Set the integer of "Y" to "Y" + (Amount of Comments) To change this, you need to only change =y+$POSTS$ To change this watch the following y = 1 You can do a variet of things here. * = Multiply, 2*5 = 10 You can use these in the code like this, =y/2*4+15-6+$POSTS$ = 1 Divided by 2 | Multiplied by 4 | Plus 15 | Subtract 6 | Plus 76 = 87, giving quite a variety since you're getting a random number, Author: kostova Please Give Me A Reputation or Award, If My Post Helps You
With uCoz Since 2009 |
Sir how it works?
how can i make a point system like this the screen shot i give.. Attachments:
4438905.jpg
(176.0 Kb)
|
Quote (Dangem) how can i make a point system like this the screen shot i give.. In this picture I do not know, but look how I made it on the forum.
Quote HellorHeaven, Paste This In The Appearance Of Forum Entries (Where You Want It To Be Appear) Main » Customize design » Editing templates » Forum » Appearance of entries » and place where you want it to be appear In my case, this is below what is written in red letters the points. These you can rewrite to: Points Here you go. I hope you wanted this:
Have fun Post edited by Hermes - Thursday, 2011-05-12, 11:32 AM
|
Hermes,
Quote (Hermes) if(ue) exp+= ue+' </a><img src="/smiles/sm/blackcat.gif">'; Provide The Image Properly Please Give Me A Reputation or Award, If My Post Helps You
With uCoz Since 2009 |
Quote (HellorHeaven) Hermes, Quote (Hermes) if(ue) exp+= ue+' </a><img src="/smiles/sm/blackcat.gif">'; Provide The Image Properly
Code if(ue) exp+= ue+' </a><img src="http://rapidexyu.ucoz.org/smiles/sm/blackcat.gif/smiles/sm/blackcat.gif">'; Post edited by Hermes - Thursday, 2011-05-12, 12:47 PM
|
Quote (Hermes) Quote (Dangem) how can i make a point system like this the screen shot i give.. In this picture I do not know, but look how I made it on the forum. Quote In my case, this is below what is written in red letters the points. These you can rewrite to: Points Here you go. I hope you wanted this: sir can you translate it to english??? and sir can you show me the code of your appearance entries |
Quote (HellorHeaven) Y's integer is 1, meaning (y-1=0) If "Y" manages to go under "1" It would do the following sum, Set the integer of "Y" to "Y" + (Amount of Comments) To change this, you need to only change =y+$POSTS$ To change this watch the following y = 1 You can do a variet of things here. * = Multiply, 2*5 = 10 You can use these in the code like this, =y/2*4+15-6+$POSTS$ = 1 Divided by 2 | Multiplied by 4 | Plus 15 | Subtract 6 | Plus 76 = 87, giving quite a variety since you're getting a random number, You'll Get Your Answer By Reading This Please Give Me A Reputation or Award, If My Post Helps You
With uCoz Since 2009 |
but sir HellorHeaven im not good in math
can you just tell me what is the points for? pleasE? sample is: points per post: 0.5 Added (2011-05-13, 5:37 Am) Code <script type="text/javascript"> for (y=1;y<=1;y=y+$POSTS$) { document.write("Points: "+<?if($AWARDS$)?>(<?endif?>(y*$POSTS$*2)<?if($AWARDS$)?>+$AWARDS$)<?endif?>+); } </script> sir i applied it in my site but nothings appear? Added (2011-05-13, 10:09 Am) how the point system work |
i need code for this on image
http://www.onlinesaprevodom.com
|
I believe you forgot to cite where you got this script from, thank you very much:
http://ucozers.ucoz.com/forum/27-324-1#2173 If I may ask a moderator to kindly edit the topic for me. That means to cite the creator and link. Post edited by kostova - Friday, 2011-05-13, 11:36 PM
|
kostova, I saw this code on your forum, but I also saw this on a russian forum. I took it from there.
Please Give Me A Reputation or Award, If My Post Helps You
With uCoz Since 2009 |
Well I hope you know I wrote that. It's a little different when you know you wrote it, and when someone uses it without citing where they got it from.
And no, you got that exact post from the uCozers forum. If I may ask, which russian forum did you apparently see this from? Post edited by kostova - Saturday, 2011-05-14, 2:32 AM
|
kostova, it's ucozen.ru
Now I think they just copied your post and Then I took it from there. But I am sure that I didn't take it from ucozers.ucoz.com I didn't even know that there is such site. for now I'll request someone to give your copyright. Added (2011-05-14, 1:40 Am)
Quote Author : kostova Author's Site : http://ucozers.ucoz.com Please Give Me A Reputation or Award, If My Post Helps You
With uCoz Since 2009 Post edited by HellorHeaven - Saturday, 2011-05-14, 7:39 AM
|
| |||