Post Frequency Bar

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

Previous topic - Next topic

TrueSatan

Uprated as per your request...haven't dealt with nwalker's excellent bug spotting yet though.

nwalker

Try to add this between lines 50 and 51 of install_1.1.x.xml:

$days_registered  = str_replace(",","-", $days_registered );  //temp swap comma for random char
$days_registered  = str_replace(".",",", $days_registered );  //swap dot to comma
$days_registered  = str_replace("-",".", $days_registered );  //and comma to dot

I can't seems to find a builtin php function to do that, but it should be fine with this code

MinasC

Quote from: nwalker on January 03, 2008, 01:20:42 PM
SOLVED!!
In some countries, we write numbers like that:
1.234,00
and you, you write this number like that: 1,234.00

just change this parameter in your SMF conf, and the mod will work fine;p

that did it for me , thnx a lot !

TrueSatan

Thanks to nwalker for the bug fix...new version now done with his bug fix in place (included in all version installs)...version compatibility extended to SMF 1.0.5-1.1.99

2pac

Thanks for updating TrueSatan! Great mod! And thanks to steve for the original mod

TrueSatan

Always a pleasure...and likewise my thanks too to Steve and those who've helped keep the mod alive.

D.S

Hey Guys , I need some help with this mod

see this results

1.     Execute Modification     ./Sources/Display.php     Test failed
2.    Execute Modification    ./Themes/default/Display.template.php    Test successful
3.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
4.    Execute Modification    ./Sources/ModSettings.php    Test successful

can any one help me plz
I attach Display.php file

Best regards

JoshieDaMan

Is there for version of 1.1.4? If so, please point me out to it. Thanks.

Basie

I am also interested in a version for 1.1.4

Dreamboxfun

Quote from: TrueSatan on January 14, 2008, 03:25:34 PM
...version compatibility extended to SMF 1.0.5-1.1.99

This one is for 1.1.xx, so it should be working into 1.1.14 also.

However I've got the same issue as D.S.

1.     Execute Modification     ./Sources/Display.php     Test failed

Hopefully someone can assist with this.

Thanks in advance


Marcus Forsberg

Is it possbile to make it work whit 1.1.4?

2pac

I believe it does work for 1.1.4 . check above at TrueSatan's post with attachment ^^^

Marcus Forsberg

I tried to use that, but it says that the test fails on display.php!
I attach the file...

Apllicmz

#173
Update portuguese and brazilian

<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Frequency Bar - Steve Lyons - Stucknut.com Update Candidosa2
$txt['frequency_bar_text'] = 'Poste com Freqüência';
$txt['frequency_bar_enable'] = 'Activar a barra de freqüência no poste ';
$txt['frequency_bar_enable_help'] = 'Mostrar uma barra de freqüência em cada posto sob o nome para mostrar como os membros activos que estão numa base diária.';
$txt['frequency_bar_max'] = 'Poste freqüência barra limiar';
$txt['frequency_bar_max_help'] = 'Definir limiar / max número de postos de trabalho por dia para o ratio.  ie: Se os seus membros mais ativos postar cerca de 20 vezes por dia, o limite fixado para 20 e no bar será maxed para fora para que o membro.';
$txt['frequency_bar_color'] = 'Poste com freqüência na barra de cores';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Frequency Bar - Steve Lyons - Stucknut.com Update Candidosa2
$txt['frequency_bar_text'] = 'Poste com Freqüência';
$txt['frequency_bar_enable'] = 'Activar a barra de freqüência no poste ';
$txt['frequency_bar_enable_help'] = 'Mostrar uma barra de freqüência em cada posto sob o nome para mostrar como os membros activos que estão numa base diária.';
$txt['frequency_bar_max'] = 'Poste freqüência barra limiar';
$txt['frequency_bar_max_help'] = 'Definir limiar / max número de postos de trabalho por dia para o ratio.  ie: Se os seus membros mais ativos postar cerca de 20 vezes por dia, o limite fixado para 20 e no bar será maxed para fora para que o membro.';
$txt['frequency_bar_color'] = 'Poste com freqüência na barra de cores';
]]></add>
</operation>
</file>



<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Frequency Bar - Steve Lyons - Stucknut.com
$txt['frequency_bar_text'] = 'Poste com Freqüência';
$txt['frequency_bar_enable'] = 'Activar a barra de freqüência no poste';
$txt['frequency_bar_max'] = 'Poste freqüência barra limiar';
$txt['frequency_bar_color'] = 'Poste com freqüência na barra de cores';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Frequency Bar - Steve Lyons - Stucknut.com
$txt['frequency_bar_text'] = 'Poste com Freqüência';
$txt['frequency_bar_enable'] = 'Activar a barra de freqüência no poste';
$txt['frequency_bar_max'] = 'Poste freqüência barra limiar';
$txt['frequency_bar_color'] = 'Poste com freqüência na barra de cores';
]]></add>
</operation>
</file>



razorblitz07

On my forum, http://www.fiestahq.sparkonline.net/forum/index.php, the post frequency bar color doesn't show.  The bar itself shows but not the color.....the post threshold is set to 2000 and all of the images for the bar have been uploaded to the theme's image directory.  I use a custom theme.  Any ideas?

Noanme

Quotethe post threshold is set to 2000
Set it to 100, and see again.

razorblitz07


the_shadow

ei guys...i intall this mod f version and appens this


anybody have the solution?

thnkx


Mr.DrIxT-TrOx

is there some mod like this but version 1.1.5 pls !!!
i really need to put a mod like this , its pretty cool ... or maybe u can make another one for those who has version 1.1.5 SMF ... we will appreciate it man ...
thank u ! so much ... ill be waiting for some ideas or replies  :'(

Pho3niX90

Anybody intrested in revamping this mod for the new versions?

Advertisement: