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:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|