The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Activity Bars
Check this out, I emailed a friend that is a php guru about an activty feature that i want to add to my website. I'll tell you want i wanted, and then post his reply. Its all chinesse to me so maybe someone can translate this a little better to my level, seeing as i only know so much about php.
What i wanted to do was add a color bar on every postbit. Bar starts at green, then goes to yellow, and then finally red. Red being the fullest activty and green being the lowest. The more the user post and vists the site, the more the bar goes up. If for some reason the user lacks in visting the site, then i want the bar to go low. Seeing as the user isn't active anymore. And if he vist more again, the bar goes back up. You get the picture. So i asked him how i could do this. He said the best way to do this would be by points. 5 points per day. The user gets 1 point automatically just for visting. The the user gets 1 point for each post posted. And is only allowed 4 points per day. To not allow spammers to gain more points. So the maximum amount of points per day equal 5. And heres how he said he would do it. Quote:
|
#2
|
|||
|
|||
can anyone translate? lol
|
#3
|
||||
|
||||
seems as though hes talking about adding another table to the db which will log all activty by user sorta like the session table but actually hold the data, which can become huge very quickly. unless i misunderstodd he wanted to calculate each day visited as a point and each post as 2 points. sorta hard to follow but i hope i got the jist of it
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|