Post
Topic
Board Meta
Re: Some help needed.
by
mprep
on 02/01/2016, 21:00:18 UTC
I am thinking of starting a student based forum and I want to add these activity algorithm as well as the potential activity algorithm to it. I searched everywhere on simple machines forum but in vain! Sad

Can any staff member help me with the algorithms?

Also I want that algorithm where a newbie is restricted to post twice in between 360 seconds and it gets reduced over time and activity.

I will be highly obliged if someone helps me with this Smiley

Quote
I am thinking of starting a student based forum and I want to add these activity algorithm as well as the potential activity algorithm to it. I searched everywhere on simple machines forum but in vain! Sad
It might be custom, written by theymos.

Quote
Can any staff member help me with the algorithms?
The activity number is determined in this way:
time = number of two-week periods in which you've posted since your registration
activity = min(time * 14, posts)

Rough summary of what this means: If you post once per day on average, then you will eventually get the maximum number of activity points that you can get. Posting more than once per day on average is useless for increasing activity. The maximum number of activity points you can get is 1 per day, but your activity score only updates every two weeks. Therefore, it will take about 100 days to get 100 activity if you post once per day on average.

Activity is updated every hour.
<...>

Quote
Also I want that algorithm where a newbie is restricted to post twice in between 360 seconds and it gets reduced over time and activity.
What are the time limits on posting and the levels??
I know 360 seconds are for new people like me, but was wondering if there was break down somewhere on this.

Code:
waittime = 360;
if(activity >= 15)
        waittime = (int)(90 - activity);
if(activity >= 60)
        waittime=(int)(34.7586 - (0.0793103 * activity));
if(activity >= 100)
        waittime = max((int)(14-(activity/50)), 4);