Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Posting Frequency in Postbit Details »»
Posting Frequency in Postbit
Version: 1.00, by Boots Boots is offline
Developer Last Online: Feb 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.5 Rating:
Released: 04-25-2007 Last Update: Never Installs: 81
Uses Plugins
 
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-27-2007, 01:21 PM
Boots Boots is offline
 
Join Date: Dec 2004
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quantnet.org View Post
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:

Code:
$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?
Reply With Quote
  #13  
Old 04-27-2007, 03:10 PM
beduino's Avatar
beduino beduino is offline
 
Join Date: Dec 2005
Location: Rio de Janeiro
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tks for share!
beduino
Reply With Quote
  #14  
Old 04-28-2007, 01:31 AM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Code:
				<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
				
			</td>
			<td width="100%">&nbsp;</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>
Reply With Quote
  #15  
Old 04-28-2007, 05:58 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, i used to use the other one, but this is much cleaner looking, nice work.
Reply With Quote
  #16  
Old 04-28-2007, 11:00 AM
Digbijoy Digbijoy is offline
 
Join Date: Apr 2007
Location: India
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Iam loving it. Simply Great Mod
Reply With Quote
  #17  
Old 04-29-2007, 03:06 PM
WielerArchieven WielerArchieven is offline
 
Join Date: Apr 2007
Location: Ardooie, Belgium
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

simple but great mod ... so i clicked installed
Reply With Quote
  #18  
Old 04-29-2007, 03:52 PM
rolliet rolliet is offline
 
Join Date: Jan 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed -- Thanks
Reply With Quote
  #19  
Old 04-29-2007, 04:36 PM
Andyucs's Avatar
Andyucs Andyucs is offline
 
Join Date: Nov 2006
Location: Okcular, Turkey
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Nice Hack i Have This Little Prob

here is some of my postbit

Quote:
$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
Reply With Quote
  #20  
Old 04-29-2007, 08:54 PM
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #21  
Old 04-29-2007, 09:02 PM
bazzup bazzup is offline
 
Join Date: Dec 2006
Location: Liverpool
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've had it 2 days now and i think it averages it out from when you joined
cos it never reset this morning
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:24 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.04492 seconds
  • Memory Usage 2,314KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete