View Full Version : Posting Frequency
Many users liked my little posting frequency that I have set in the postbit and they harassed me for few weeks to release it...
So here I am. :)
Basically is a graph bar that shows user's posting activity.
Check my board for an example...
ESTIMATED INSTALL TIME: 1 minute
REQUESTED BY: to many to list :)
I was going to ask you for this but I made it myself ;)
Heh, that's not even a hack I made, is only 3 lines of code... :)
hypedave
02-08-2003, 07:31 PM
Great addon Teck, I added a small addon to display Posting Frequency properly.
Dean C
02-08-2003, 07:32 PM
Hehe cool hack TECK :)
- miSt
wooolF[RM]
02-08-2003, 07:37 PM
]finally! ;)
* wooolF[RM] clicks install :)
What is the hack based on? Is there way to display the frequency in text format? Maybe as a %...I'm not too sure.
Is template based, so you can display whatever you like... Just mouse over any bar onto my forums to see the results. :p
wooolF[RM]
02-08-2003, 07:47 PM
NM TECK already answered
Magic Spark
02-08-2003, 07:49 PM
Thank you sooo much for this Hack, Teck!!!
Great.
Sorry for treating you so often to release this one.
;)
Dribbles
02-08-2003, 07:57 PM
How many posts per day = the graph is maxed out? Can I make it based on 100 posts per day? (ie- 100 posts per day = the entire green bar is filled)
wooolF[RM]
02-08-2003, 08:08 PM
]100 posts/day ... OMG... O.o
also default is 5 posts per day = 100%
$frequency = floor( 5 * $postsperday );
I assume u must change 5 to 100 then... not sure tho'...
Originally posted by TECK
Is template based, so you can display whatever you like... Just mouse over any bar onto my forums to see the results. :p
ok that's great.
- How many queries does this add? :p
Dribbles
02-08-2003, 08:22 PM
Originally posted by wooolF[RM]
100 posts/day ... OMG... O.o
also default is 5 posts per day = 100%
$frequency = floor( 5 * $postsperday );
I assume u must change 5 to 100 then... not sure tho'...
lol ... we're some serious post +++++s :) thnx, I'll try that
100 posts per day is an extremely high amount! Wow! If you imagine you registered say 100 days ago, and your posts per day figure is 100, that's 10,000 posts!
Dribbles
02-08-2003, 08:25 PM
figured it out ... the bar is based on 20 posts per day = 100% ... thus 5 * ppd ... so by changing the 5 to a one, it makes it into based on 100 ppd :)
Dribbles
02-08-2003, 08:27 PM
Originally posted by N9ne
100 posts per day is an extremely high amount! Wow! If you imagine you registered say 100 days ago, and your posts per day figure is 100, that's 10,000 posts!
Well most people are at around 50-60ppd ... a couple are up at 80 trying to break 100 :) We've been open for about 6 weeks now and some people already have 5-6000 posts. When I install that RPG mod that gives you gold and hitpoints for posting, I bet it's gonna jump up even higher
wooolF[RM]
02-08-2003, 08:36 PM
]is it some kind Board Of Great Spammers? ;)
gopherhockey
02-08-2003, 11:03 PM
Originally posted by Dribbles
Well most people are at around 50-60ppd ... a couple are up at 80 trying to break 100 :) We've been open for about 6 weeks now and some people already have 5-6000 posts. When I install that RPG mod that gives you gold and hitpoints for posting, I bet it's gonna jump up even higher
Thats crazy... wow! My board is not frequently posted too.. at least not during the off season for mountain biking. PPD ranges around 3 for an active user (currently). I had to change this forumla quite a bit to get the bar to even show up. (I believe the 5 * in the formula became more like 40 * before it started making sense.)
I installed this hack before teck posted it here through some hints he was throwing at me. I like it, but it really takes some tweaking to get the formula right...
I wish there was some way to take this into account automatically. Like checking for the highest users PPD and setting that as the "bar" - then everyone else is measured in comparison (with the ability to exclude people like the administrator etc.)
In the end I removed it.. but I like it. Nice job, Teck!
wooolF[RM]
02-08-2003, 11:37 PM
don't really get the way it works really... all of my bars are at 0 or so... O.o
wooolF[RM]
02-09-2003, 12:51 AM
never mind, got it working... also changed 5 to 20...
20 = 5 posts / day
Chris Gwynne
02-09-2003, 01:50 AM
Is there any way I can put this into a separate template as it is a "medium" sized amount of html to add to the postbit and I'd rather not clutter it up as mine is pretty big already (confusing).
So for instance, add a template called postbit_frequency and call it from the postbit template.
Thanks :D
Regards,
Chris
SphereX
02-09-2003, 02:07 AM
screen?
Smoothie
02-09-2003, 06:26 AM
Originally posted by SphereX
screen? read the first post.
Originally posted by N9ne
- How many queries does this add? :p
Hmm, you guys know how much I like to add queries to forum, so the answer is None. :p
Dean C
02-09-2003, 10:12 AM
What does the floor function do TECK :)?
- miSt
<a href="http://www.php.net/manual/en/function.floor.php" target="_blank">http://www.php.net/manual/en/function.floor.php</a>
Chris Gwynne
02-09-2003, 10:45 AM
Originally posted by a-drive
Is there any way I can put this into a separate template as it is a "medium" sized amount of html to add to the postbit and I'd rather not clutter it up as mine is pretty big already (confusing).
So for instance, add a template called postbit_frequency and call it from the postbit template.
Thanks :D
Regards,
Chris
Any help? :rolleyes:
Originally posted by TECK
Hmm, you guys know how much I like to add queries to forum, so the answer is None. :p
phew! I thought TECK was losing his touch when he added a query with that show error msg to admins when board is closed hack :o
Dean C
02-09-2003, 02:37 PM
Wow TECK that is one cool function to register in my memory - Thanks!
- miSt
SpeedStreet
02-09-2003, 09:42 PM
It appears that my Frequency number is not populating. I've tried setting the PF in multiple places, but it doesn't seem to be coming up.
Does anyone have any tips for me on how to get this one up and running?
PS: I've check our post frequency, and I have made sure some people would be clocking in at 100%... :(
wooolF[RM]
02-09-2003, 09:46 PM
]try to change 5 to 20 or 50...
also be sure u have uploaded hacked file ;)
SpeedStreet
02-09-2003, 10:46 PM
hrmm...I've done both, still nothing.
I've even check by putting it into a text percentage versus the picture poll, and nothing is coming up.
wooolF[RM]
02-10-2003, 04:12 PM
think u should wait for Teck to answer u...
great hack! i noticed this on your board a few days ago and was wondering how you did it... anyway, i installed it in under a minute. works like a charm. i'll have to mess around with the frequency a bit. :) THANKS!
Gutspiller
02-23-2003, 11:35 PM
Originally posted by SpeedStreet
hrmm...I've done both, still nothing.
I've even check by putting it into a text percentage versus the picture poll, and nothing is coming up.
I'm having this problem too. I have installed it, uploaded my forumz/function.php file, uploaded the files and added my stuff to my postbit, but it still shows 1 little sliver of activity on everybody. :(
Gutspiller
02-27-2003, 01:21 PM
Originally posted by Gutspiller
I'm having this problem too. I have installed it, uploaded my forumz/function.php file, uploaded the files and added my stuff to my postbit, but it still shows 1 little sliver of activity on everybody. :( BUMP! :nervous:
What exactly did you do to install it? Are you sure you installed it exactly the way the insructions tell you to? What other hacks do you have installed??
Gutspiller
03-01-2003, 02:31 AM
OK I got it working, but can somebody help me understand the math behind what the 5 represents and how I can change the # of posts to be considered 100% ? I read in earlier posts with people talking about 5 means 20 posts per day and 20 means 5 posts per day. So what numbers would mean 10 posts a day and 15 posts a day? Because those are the numbers I want to use, but I'm unsure what to change the 5 too.
Can somebody help?
auz1111
03-08-2003, 08:35 PM
Good job on the hack! It works beautifully!
Jacko
04-10-2003, 10:49 AM
i have tried this but i cant get the bar to move either,
i have change the 5 to lots of figures like 20, 50, 100 but still nothing..
the bar just stays on 0 all the time.
Hey TECK, how could I put this in someone's profile also? Thanks.
~006
poetic
06-20-2003, 10:03 PM
03-01-03 at 05:31 AM Gutspiller said this in Post #39 (https://vborg.vbsupport.ru/showthread.php?postid=359630#post359630)
OK I got it working, but can somebody help me understand the math behind what the 5 represents and how I can change the # of posts to be considered 100% ? I read in earlier posts with people talking about 5 means 20 posts per day and 20 means 5 posts per day. So what numbers would mean 10 posts a day and 15 posts a day? Because those are the numbers I want to use, but I'm unsure what to change the 5 too.
Can somebody help?
its a divisible of 100 eg: you want to get it based on 25 posts per day, then you set the number to a 4 since 100 divided by 4 = 25.
also i was wondering if anyone can help me find a hack exactly like this for battles such as if you win the bar gose up a little bit like for your win percentage, also if this can be configured to be set as that, any help is greatly appreciated.
Splitfyre
06-25-2003, 04:42 PM
Too bad this hack won't change different colours based on the Posting Frequency. Many of my users complained about the colour. Go figure!
Splitfyre
06-26-2003, 10:09 PM
anyone?
Noel 4 DMB
08-07-2003, 12:06 AM
great hack. Installed :)
albibak
08-13-2003, 08:41 AM
Thx, installed an tested on vb 2.3.2 => OK
jrofosho
08-16-2005, 09:56 PM
any chance this gets ported to 3?
jarosciak
01-07-2007, 11:26 PM
This should be ported to v.3
Boots
04-26-2007, 09:52 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=145852" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=145852</a>
I ported it.
Teck I assume you wouldn't mind seeing as how it's 10 lines of code? haha
dvbusuario
11-02-2007, 02:19 AM
Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.