News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Post Frequency Bar

Started by steve in houston, October 26, 2006, 03:58:47 PM

Previous topic - Next topic

Gobo

I think steve got fed up with us asking and decided to make us wait more

trick


Gobo


teamvtec

Quote from: akulion on January 08, 2007, 10:47:27 AM
in 2009

I thought i read somewhere it's cancelled till 2015 :D

Anyway I'm going back to the waiting mode.

Gobo

lol ok lets not get carried away or steve may get angry :P

Stirred

Steve it's that time of the year that you can give us a little present, yes... i'm talking about the mod (forget the fact that christmas just passed) =P

It's the last one remaining for my website be completed. We are few, but we are waiting. =)
- eighteen seconds before sunrise -

trick

view his profile, it looks like he barely ever visits this site I doubt he's gonna read everyone's spam in this topic:

Name:     steve in houston
Posts:    119 (0.248 per day)
Position:    Newbie
Date Registered:    September 17, 2005, 05:17:47 PM
Last Active:    December 13, 2006, 01:24:49 AM

Gobo

its not spam - its FAN MAIL

we all love this mod and are anxiously awaiting it - thats why we keep posting in the 'hope'

efish

Just like waiting for Chinese Democracy (Guns N' Roses album 13 years in the making) which is what my whole site is about. ;D

Haha just kidding---hopefully someone can contact him or somehow we can get this mod...its great, I saw it on another board once and it was really cool.

Gobo

we love Post Frequency Bar (the new one) lol
we love Post Frequency Bar
we love Post Frequency Bar
we love Post Frequency Bar


see its like a horde of crazy fans in this thread going insane with the anticipation!

RoarinRow

hhahaahahaha, all this talk, now I want it! 

Post Frequency Bar!
Post Frequency Bar
Post Frequency Bar
Post Frequency Bar
Post Frequency Bar

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

trenchteam

Anyone update this to 1.1.1?

Gobo

man steve u took so long that now ive switched over to vB whch has this mod :P

its all ur fault :P

Vinspire

Quote from: akulion on January 29, 2007, 10:53:12 AM
man steve u took so long that now ive switched over to vB whch has this mod :P

its all ur fault :P

So, it is still not available ?  

ksawery

Anybody knows if this mod works in 1.1.2?

TrueSatan

 It took me far too long to repackage this mod...the previous version seemed to have a lot of failsafes around the display.template.php file that were causing members to have to do manual installs because they caused the package installer to fail...that should be OK now. The version for SMF 1.1.1 and 1.1.2 I've put together has several small changes to accommodate small changes in the SMF core files that would also cause the package installer to fail...it seems to be good to go and I've tested it on a clean install of SMF 1.1.2. I added a modified install file for 1.1.1 and 1.1.2 to the package.

Version for SMF 1.1.1 and 1.1.2 below

ksawery


TrueSatan

My pleasure...glad you have liked it.

RoarinRow

So weird, I installed the updated package, received no errors, but there's no frequency bar on the posts.  On my test site I set the threshold at 10.

Any ideas?

http://www.avalanchestyle-test.com/forum/index.php?action=forum

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

RoarinRow

Quote from: RoarinRow on March 05, 2007, 10:44:39 AM
So weird, I installed the updated package, received no errors, but there's no frequency bar on the posts.  On my test site I set the threshold at 10.

Any ideas?

http://www.avalanchestyle-test.com/forum/index.php?action=forum

Figured it out.  Somehow this code did not pull into my display.template.php file.  I added it manually and it worked!

// Frequency Bar - Steve Lyons - Stucknut.com
if (!empty($modSettings['frequency_bar_enable'])){
$days_registered = (int) ((time() - $message['dateRegistered']) / (3600 * 24));
if (empty($message['dateRegistered']) || $days_registered < 1){
  $days_registered = 1;  // Skip out on the Divide by Zero error
}
$message['member']['posts'] = str_replace(",","",$message['member']['posts']);
$posts_per_day = comma_format($message['member']['posts'] / $days_registered, 3);
// Calculate bar width
if(empty($modSettings['frequency_bar_max'])){ $modSettings['frequency_bar_max'] = 50; }
$rate = $posts_per_day * (100/$modSettings['frequency_bar_max']);
if($rate>100){ $rate = 100; }

                           echo $txt['frequency_bar_text'].'                         
                                <table border="0" cellpadding="0" cellspacing="0">
                                 <tr onmouseover="this.title=\'', $message['member']['posts'], ' posts (', $posts_per_day, ' posts per day)\'">
                                  <td><img border="0" src="', $settings['images_url'] ,'/freq_bar_l.gif" width="4" height="17" alt="" /></td>
                                  <td width="100" style="background:url(\'', $settings['images_url'] ,'/freq_bar_bk.gif\');background-repeat:repeat-x;"><img border="0" src="', $settings['images_url'] ,'/freq_bar_', $modSettings['frequency_bar_color'] ,'.gif" width="', $rate ,'" height="17" alt="" /></td>
                                  <td><img border="0" src="', $settings['images_url'] ,'/freq_bar_r.gif" width="4" height="17" alt="" /></td>
                                 </tr>
                                </table>
<br />';
}

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Advertisement: