uCoz Community Archives Locked Points System for a uCoz website.... |
Points System for a uCoz website.... |
Is it possible to have a Points System for my uCoz website using JavaScript? Please see the example below:
Quote Example: There is a user named bob. Bob registered to http://www.site.com/. When bob logs in to the website, he gets 1 point added to his Site Points or SP. (Overall SP=1) Bob went to the Forums and posted a new message. He then gains another 1 SP. (Overall SP=2) After the forums, he visited the Publisher module. He posted an article there and he then gains additional 2 SP. (Overall SP=4) The next day, bob logged in again to http://www.site.com/. By this time, his account is now 2 days old. Because of this, he gains 1 SP for being 1 day older as a member of http://www.site.com/. (Overall SP=5) That's what I meant by Points System... Can anybody help me with this? Replies are much appreciated! "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
Quote (Dartz) I believe it is possible. You will need to manipulate with users activity record. Can you give a hint as to where I can access the said activity record? "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
Quote (Dartz) In user's profile page. By saying activity record, do you mean Awards, Messages, Reps, etc.? If so, this would really provide minimal data and plus, what about consumable points that decrease whenever a user, say like, download a file. Points get subtracted from the user's overall points. "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
Quote (Dartz) Increasing is possible and I didn't mean awards, messages rep. I meant there are codes for amount of blog entries, publisher entries, forum entries & so on. I've already thought about and already did a function adding count from various modules of the website such as blog entries, forum entries, reps, number of days the user has been registered, etc. but I found a flaw in that. I need the points to be subtracted for some reason, e.g. via getting premium items. If only there was a way to hook into each action the user takes from within the website, I could hook the JavaScript to query from a MySQL server which is hosted in another website. Just for storage of the points. "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
It spits "Advance JavaScript Needed" all over.
P.S. "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
Post edited by shadowslash - Sunday, 2010-05-09, 5:12 PM
|
Well for example, I can add the reps or count of something by all other points to a custom variable.
$MY_VARIABLE$ = $_FORUM_ENTRIES$ + $_NEWS_ENTRIES$ $_FORUM_ENTRIES$ is not available in all modules wheeas $MY_VARIABLE$ can be a global variable that I can therefore use on various modules for subtraction. "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
Quote (Dartz) Each module is listed in profile page, therefore each with have $CODE$. Um I know about that one, my goal here is to make all $CODE$ add up to form $USERPOINTS$. So $USERPOINTS$ is like a credit or currency used inside my website's premises... "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
Quote (Dartz) That would be a completely new feature... I believe something similar was suggested earlier and denied. hmmm i wonder why such a very useful feature would be denied... i also make my own CMS and i think it wouldn't be hard to implement... not that i'm saying that it IS indeed not hard (because i wouldn't know for sure), i just based my statement on my own experience... "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
Post edited by shadowslash - Monday, 2010-05-10, 6:53 AM
|
| |||