vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Posting Frequency (https://vborg.vbsupport.ru/showthread.php?t=48699)

TECK 02-07-2003 10:00 PM

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 :)

Neo 02-08-2003 07:11 PM

I was going to ask you for this but I made it myself ;)

TECK 02-08-2003 07:28 PM

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! ;)
[high]* wooolF[RM] clicks install :)[/high]

N9ne 02-08-2003 07:43 PM

What is the hack based on? Is there way to display the frequency in text format? Maybe as a %...I'm not too sure.

TECK 02-08-2003 07:46 PM

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%
PHP Code:

$frequency floor$postsperday ); 

I assume u must change 5 to 100 then... not sure tho'...

N9ne 02-08-2003 08:08 PM

Quote:

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

Quote:

Originally posted by wooolF[RM]
100 posts/day ... OMG... O.o

also default is 5 posts per day = 100%
PHP Code:

$frequency floor$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

N9ne 02-08-2003 08:25 PM

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

Quote:

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

Quote:

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

Quote:

Originally posted by SphereX
screen?
read the first post.

TECK 02-09-2003 08:09 AM

Quote:

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

TECK 02-09-2003 10:33 AM

<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

Quote:

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:

N9ne 02-09-2003 11:37 AM

Quote:

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...

007 02-12-2003 12:29 AM

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

Quote:

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

Quote:

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:

007 02-27-2003 05:25 PM

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!


All times are GMT. The time now is 03:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01246 seconds
  • Memory Usage 1,808KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete