View Full Version : Show Thread Enhancements - Posting Frequency in Postbit
Boots
04-25-2007, 10:00 PM
I saw this mod and thought it would be cool to have for 3.6 so I modified/ported it. It's my first mod attempt so bear with me. I'm not quite sure of the protocol. If anything is out of wack let me know.
Original for 2.2
https://vborg.vbsupport.ru/showthread.php?t=48699
Boots
04-26-2007, 09:51 PM
Probably not needed but here's a screenshot.
Sulaiti
04-26-2007, 10:09 PM
Installed.
:)
Installed .. nice, simple and useful ( just like the wife :) )
FleaBag
04-27-2007, 12:22 AM
I like it Boots, thanks. :)
Quantnet
04-27-2007, 05:10 AM
Thanks
To fill the bar 100%, what is the frequency ? 20 posts a day ? Where do i change them ?
Shazz
04-27-2007, 05:31 AM
There was a simular one out there, This seems much nicer and cleaner ;)
zhabbo
04-27-2007, 09:24 AM
Thanks, installed
Ronak
04-27-2007, 10:03 AM
Nice hack...installed
TR?PST?R
04-27-2007, 10:39 AM
Nice hack thx.
Boots
04-27-2007, 01:21 PM
Thanks
To fill the bar 100%, what is the frequency ? 20 posts a day ? Where do i change them ?
The calculation is (5 * PostsPerDay) to generate a percentage. 20+ posts per day would max the bar @ 100%
You can modify the plugin 'Posting Frequency' and change the code on this line:
$this->post['frequency'] = floor(5 * $this->post['postsperday']);
just change the 5 to whatever factor you want.
ie: if you want it to be 15 posts per day change the 5 to a 6.66 (100/15=6.66)
make sense?
beduino
04-27-2007, 03:10 PM
tks for share!
beduino
Invalid ID
04-28-2007, 01:31 AM
Thanks, it's cool :)
I have a problem positioning it. I intend to bring it right under "Posts" I have put the codes under Post code, yet it goes down to 2 more codes "Points" and "Started Thread".
May I know why is this happening?
Here is the part of my postibit:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">$post[crowns]$post[champtext]<br /></div>
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$show['last_seen_online']"><div>$vbphrase[last_seen_online]: $post[lastseen_date] $post[lastseen_time]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<!-- START POSTING FREQUENCY MOD -->
<div>Posting Frequency
<table border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="this.title='$post[posts] posts ($post[postsperday] posts per day)'">
<td><img border="0" src="images/polls/bar-l.gif" width="4" height="17"></td>
<td width="100" background="images/polls/bar-bk.gif"><img border="0" src="images/polls/bar.gif" width="$post[frequency]" height="17"></td>
<td><img border="0" src="images/polls/bar-r.gif" width="4" height="17"></td>
</tr>
</table>
</div>
<!-- END POSTING FREQUENCY MOD -->
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="isset($WWU002_activitylevel)">
<div>$vbphrase[WWU002_activity]: $WWU002_activitypercent%</div>
<div title="$WWU002_longevityinfo">$vbphrase[WWU002_longevity]: $WWU002_longevitypercent%</div>
<if condition="$WWU002_maxtodaylevel"><div title="$WWU002_todayinfo">$vbphrase[WWU002_activity_today]: $WWU002_todaylevel/$WWU002_maxtodaylevel</div></if>
</if>
<div>
$vbphrase[timeonboard]: $post[timeonboard]
<br />Referrals: $referrals
</div>
Hornstar
04-28-2007, 05:58 AM
hey, i used to use the other one, but this is much cleaner looking, nice work.
Digbijoy
04-28-2007, 11:00 AM
Iam loving it. Simply Great Mod:D
WielerArchieven
04-29-2007, 03:06 PM
simple but great mod ... so i clicked installed
rolliet
04-29-2007, 03:52 PM
installed -- Thanks
Andyucs
04-29-2007, 04:36 PM
Hi Nice Hack i Have This Little Prob
here is some of my postbit
$vbphrase[posts]: $post[posts]
<!-- START POSTING FREQUENCY MOD -->
<div>Posting Frequency
<table border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="this.title='$post[posts] posts ($post[postsperday] posts per day)'">
<td><img border="0" src="images/polls/bar-l.gif" width="4" height="17"></td>
<td width="100" background="images/polls/bar-bk.gif"><img border="0" src="images/polls/bar.gif" width="$post[frequency]" height="17"></td>
<td><img border="0" src="images/polls/bar-r.gif" width="4" height="17"></td>
</tr>
</table>
</div>
<!-- END POSTING FREQUENCY MOD -->
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount_formatted]
<br />
<if condition="$post[post_thanks_thanked_times] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack -->
<div>
$vbphrase[vbimghost_myphotos]: (<a href="vbimghost.php?do=viewimages&id=$post[userid]">$post[vbimghost]</a>)
</div>
<div>
$vbphrase[timeonboard]: $post[timeonboard]
</div>
and also a space between the image and Thanks
4x4 Mecca
04-29-2007, 08:54 PM
Does it reset daily or does it just keep counting, so if I hit 100% today, and 0% tomorrow, would it display 50%?
EDIT
I got it, it just uses your post per day average to be displayed on a bar graph... nice! Thanks!
bazzup
04-29-2007, 09:02 PM
i've had it 2 days now and i think it averages it out from when you joined
cos it never reset this morning
Boots
04-29-2007, 09:47 PM
Hi Nice Hack i Have This Little Prob
here is some of my postbit
and also a space between the image and Thanks
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
take out that <br />
Boots
04-29-2007, 09:48 PM
Thanks, it's cool :)
I have a problem positioning it. I intend to bring it right under "Posts" I have put the codes under Post code, yet it goes down to 2 more codes "Points" and "Started Thread".
May I know why is this happening?
Here is the part of my postibit:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">$post[crowns]$post[champtext]<br /></div>
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$show['last_seen_online']"><div>$vbphrase[last_seen_online]: $post[lastseen_date] $post[lastseen_time]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<!-- START POSTING FREQUENCY MOD -->
<div>Posting Frequency
<table border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="this.title='$post[posts] posts ($post[postsperday] posts per day)'">
<td><img border="0" src="images/polls/bar-l.gif" width="4" height="17"></td>
<td width="100" background="images/polls/bar-bk.gif"><img border="0" src="images/polls/bar.gif" width="$post[frequency]" height="17"></td>
<td><img border="0" src="images/polls/bar-r.gif" width="4" height="17"></td>
</tr>
</table>
</div>
<!-- END POSTING FREQUENCY MOD -->
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="isset($WWU002_activitylevel)">
<div>$vbphrase[WWU002_activity]: $WWU002_activitypercent%</div>
<div title="$WWU002_longevityinfo">$vbphrase[WWU002_longevity]: $WWU002_longevitypercent%</div>
<if condition="$WWU002_maxtodaylevel"><div title="$WWU002_todayinfo">$vbphrase[WWU002_activity_today]: $WWU002_todaylevel/$WWU002_maxtodaylevel</div></if>
</if>
<div>
$vbphrase[timeonboard]: $post[timeonboard]
<br />Referrals: $referrals
</div>
post a screen shot so I can see what you mean.
bazzup
04-30-2007, 07:14 AM
Thanks, it's cool :)
I have a problem positioning it. I intend to bring it right under "Posts" I have put the codes under Post code, yet it goes down to 2 more codes "Points" and "Started Thread".
May I know why is this happening?
Here is the part of my postibit:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">$post[crowns]$post[champtext]<br /></div>
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$show['last_seen_online']"><div>$vbphrase[last_seen_online]: $post[lastseen_date] $post[lastseen_time]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<!-- START POSTING FREQUENCY MOD -->
<div>Posting Frequency
<table border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="this.title='$post[posts] posts ($post[postsperday] posts per day)'">
<td><img border="0" src="images/polls/bar-l.gif" width="4" height="17"></td>
<td width="100" background="images/polls/bar-bk.gif"><img border="0" src="images/polls/bar.gif" width="$post[frequency]" height="17"></td>
<td><img border="0" src="images/polls/bar-r.gif" width="4" height="17"></td>
</tr>
</table>
</div>
<!-- END POSTING FREQUENCY MOD -->
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="isset($WWU002_activitylevel)">
<div>$vbphrase[WWU002_activity]: $WWU002_activitypercent%</div>
<div title="$WWU002_longevityinfo">$vbphrase[WWU002_longevity]: $WWU002_longevitypercent%</div>
<if condition="$WWU002_maxtodaylevel"><div title="$WWU002_todayinfo">$vbphrase[WWU002_activity_today]: $WWU002_todaylevel/$WWU002_maxtodaylevel</div></if>
</if>
<div>
$vbphrase[timeonboard]: $post[timeonboard]
<br />Referrals: $referrals
</div>
The other bits in between are not in that code so must be in postbit_legacy try putting the code in there above your points instead, hope this helps
nice little addition to my postbit btw
regards bazz
Invalid ID
04-30-2007, 02:50 PM
Here's the photo...
Andyucs
04-30-2007, 04:07 PM
yippeeeeeeeeee that sorted it thanks for quick reply
marcsmith73
05-01-2007, 09:14 PM
reserved
tycity
06-07-2007, 04:55 AM
Installed! This is awesome, thanks! :)
will see and install this one soon! :)
SLY LS1
07-17-2007, 03:12 PM
I have a small problem with the bar.bk.gif image not showing up, the left and the right and the bar.gif part show but then there is a gap?
Strange.. I cant work it out
Boots
07-21-2007, 03:31 PM
I have a small problem with the bar.bk.gif image not showing up, the left and the right and the bar.gif part show but then there is a gap?
Strange.. I cant work it out
Try clearing your browser cache maybe?
chiwexa
07-21-2007, 04:44 PM
I'm really sorry, but i would like to know what this Add-On .. is? I don't know what it shows, what is the posting frequency? The posts per day?
Thanky you and greetz
SLY LS1
07-22-2007, 03:48 AM
Try clearing your browser cache maybe?
Yeah tried all that, its so weird, its just missing that bit... its tripping me out
i cant work it out, it has to be something with it being called as the background
<!-- START POSTING FREQUENCY MOD -->
<div>Posting Frequency
<table border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="this.title='$post[posts] posts ($post[postsperday] posts per day)'">
<td><img border="0" src="images/polls/bar-l.gif" width="4" height="17"></td>
<td width="100" background="images/polls/bar-bk.gif"><img border="0" src="images/polls/bar.gif" width="$post[frequency]" height="17"></td>
<td><img border="0" src="images/polls/bar-r.gif" width="4" height="17"></td>
</tr>
</table>
</div>
<!-- END POSTING FREQUENCY MOD -->
ThreeD
08-16-2007, 09:08 PM
very nice :) How do you make this show in MEMBERINFO or a custom page? I tried adding it to memberinfo myself, but all bars seem to be set to 0.
mgurain
10-09-2007, 04:09 AM
Boots,
could you enhance it with
- phrases
- ACP setting to set "max to fill"
- auto insert template code in the postbit
?
Thanks for the great and simple mod.
sylar
10-17-2007, 10:21 AM
Im going to have to consider this. Not sure if I liek the bar or the posts per day postbit. I need to locate one of these frist to see if its available.
bmwusa
10-17-2007, 12:56 PM
thank you, i need it but... dont now if it works on 3.6.8!!!
Deadly Assassin
10-18-2007, 04:22 AM
Installed, thanks
:)
hddstudio
10-18-2007, 10:26 AM
Installed, and no problems on vBulletin 3.6.8. Thanks !
lighter
11-04-2007, 09:10 PM
The bar-r.gif abd bar-l.gif won't load using firefox, someone help please?
apiasto
11-04-2007, 10:23 PM
good idea,installed
lighter
11-06-2007, 08:20 PM
Is there anyway to load the "bar.gif" multiple times based on the % instead of stretching the image. Intending to use an image which can't be stretch...
yoyoyoyo
11-07-2007, 01:32 PM
I saw this mod and thought it would be cool to have for 3.6 so I modified/ported it. It's my first mod attempt so bear with me. I'm not quite sure of the protocol. If anything is out of wack let me know.
Original for 2.2
https://vborg.vbsupport.ru/showthread.php?t=48699
Did you get the permission of TECK before you modified and ported it? If so, you should note that - if not - then this mod is not allowed.
vppremier
11-09-2007, 04:23 PM
Is there a version for 3.5.4?
tmffirework
12-12-2007, 06:06 PM
Great hack! Very simple and good working :)
Thanks mate
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.