News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Activitybar

Started by All Colours Sam, June 30, 2009, 11:40:36 AM

Previous topic - Next topic

alex30

Great , thanks Nas!

Awesome mod!

Marcus Forsberg

You're welcome.
And thanks. :)

jossanaijr


MaXiForum.cz

Very nice!
My forum is v 1.1.9
screen:



Czech translate ;)

Thanks! :P

the_shadow

for diferent themes we had to add

Quote
.activity_holder
{
   height: 15px;
   border: 1px solid #9BAEBF;
}

.activity_bar
{
   height: 15px;
   background: #E9F0F6 url(images/titlebg.jpg) repeat-x;
}

.activity_percentage
{
   height: 15px;
   color: #333333;
   text-align: center;
}

on css off your theme

Marcus Forsberg

Correct, the_shadow.

MaxiPes, thanks. I'll add that and the turkish translation by Antes in the next update. :)

TheListener


Quote from: TheListener on June 30, 2009, 05:08:40 PM
Good Mod

Installed ok on forum. All I see is: 4.8% no actual bar. Do I need to add sometyhing to the theme template?

Clear your cache. Hit F5. :)

You mean the forum maintenance: Empty the file cache ??

Marcus Forsberg

NOpe. Your broswer cache, so that the css starts to work. Hit F5 at your keyboard.

TheListener

Still only Activity
11.4%

and no bar.

Marcus Forsberg


TheListener

www.visionaryhosting.info

may not see it as topics are not viewable by guests.

Marcus Forsberg

Could you enable it for a few?

TheListener

Easier way may be to register so I can add you to a membergroup just for smf forum owners

Marcus Forsberg

Sorry. You need to add the new css to style.css of your custom theme.

Realinfo

I can't able to see it............


Settings are located in Admin > Configuration > Modifications

There is no option like modification in configuration in my Admin

candidosa2

thank
nice mod
good work
100% work 1.1.9 2,rc1-1

when update dont forget Portuguese_pt and brazilian

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[//Activitybar by Nas translate by candidosa2 Suporte smfpt.net
$txt['activitybar_standardlabel'] = 'Actividade';
$txt['activitybar_enable'] = 'Activar barra de actividade <div class="smalltext">Activar a bara de actividade,e uma bara, que mostra como um utilizador esta activo e foi.</div>';
$txt['activitybar_label'] = 'Bar label <div class="smalltext">A etiqueta exibido juntamente com a barra. Default is "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Activity Timeframe <div class="smalltext">A modificação vai contar todas os postes feitas durante este timeframe. <br />Em dias. Default para 30.</div>';
$txt['activitybar_show_in_posts'] = 'Mostrar a barra de actividade em postes';
$txt['activitybar_show_in_profile'] = 'Mostrar a barra de actividade nos perfis';
$txt['activitybar_max_posts'] = 'Max postes <div class="smalltext">Número de postos e necessário a fim de preencher a barra. <br />Leave empty for defaults (500 posts).</div>';
$txt['activitybar_max_width'] = 'Max largura <div class="smalltext">A largura da barra. Quando o p&oacute;s-limite estabelecido acima, é atingido, o bar terá essa largura. <br />Em pixels. Deixe em branco para defaults (139px).</div>';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[//Activitybar by Nas translate by candidosa2 Suporte smfpt.net
$txt['activitybar_standardlabel'] = 'Actividade';
$txt['activitybar_enable'] = 'Activar barra de actividade <div class="smalltext">Activar a bara de actividade,e uma bara, que mostra como um utilizador esta activo e foi.</div>';
$txt['activitybar_label'] = 'Bar label <div class="smalltext">A etiqueta exibido juntamente com a barra. Default is "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Activity Timeframe <div class="smalltext">A modificação vai contar todas os postes feitas durante este timeframe. <br />Em dias. Default para 30.</div>';
$txt['activitybar_show_in_posts'] = 'Mostrar a barra de actividade em postes';
$txt['activitybar_show_in_profile'] = 'Mostrar a barra de actividade nos perfis';
$txt['activitybar_max_posts'] = 'Max postes <div class="smalltext">Número de postos e necessário a fim de preencher a barra. <br />Leave empty for defaults (500 posts).</div>';
$txt['activitybar_max_width'] = 'Max largura <div class="smalltext">A largura da barra. Quando o p&oacute;s-limite estabelecido acima, é atingido, o bar terá essa largura. <br />Em pixels. Deixe em branco para defaults (139px).</div>';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[//Activitybar by Nas translate by candidosa2 Suporte smfpt.net
$txt['activitybar_standardlabel'] = 'Actividade';
$txt['activitybar_enable'] = 'Activar barra de actividade <div class="smalltext">Activar a bara de actividade,e uma bara, que mostra como um utilizador esta activo e foi.</div>';
$txt['activitybar_label'] = 'Bar label <div class="smalltext">A etiqueta exibido juntamente com a barra. Default is "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Activity Timeframe <div class="smalltext">A modificação vai contar todas os postes feitas durante este timeframe. <br />Em dias. Default para 30.</div>';
$txt['activitybar_show_in_posts'] = 'Mostrar a barra de actividade em postes';
$txt['activitybar_show_in_profile'] = 'Mostrar a barra de actividade nos perfis';
$txt['activitybar_max_posts'] = 'Max postes <div class="smalltext">Número de postos e necessário a fim de preencher a barra. <br />Leave empty for defaults (500 posts).</div>';
$txt['activitybar_max_width'] = 'Max largura <div class="smalltext">A largura da barra. Quando o p&oacute;s-limite estabelecido acima, é atingido, o bar terá essa largura. <br />Em pixels. Deixe em branco para defaults (139px).</div>';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[//Activitybar by Nas translate by candidosa2 Suporte smfpt.net
$txt['activitybar_standardlabel'] = 'Actividade';
$txt['activitybar_enable'] = 'Activar barra de actividade <div class="smalltext">Activar a bara de actividade,e uma bara, que mostra como um utilizador esta activo e foi.</div>';
$txt['activitybar_label'] = 'Bar label <div class="smalltext">A etiqueta exibido juntamente com a barra. Default is "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Activity Timeframe <div class="smalltext">A modificação vai contar todas os postes feitas durante este timeframe. <br />Em dias. Default para 30.</div>';
$txt['activitybar_show_in_posts'] = 'Mostrar a barra de actividade em postes';
$txt['activitybar_show_in_profile'] = 'Mostrar a barra de actividade nos perfis';
$txt['activitybar_max_posts'] = 'Max postes <div class="smalltext">Número de postos e necessário a fim de preencher a barra. <br />Leave empty for defaults (500 posts).</div>';
$txt['activitybar_max_width'] = 'Max largura <div class="smalltext">A largura da barra. Quando o p&oacute;s-limite estabelecido acima, é atingido, o bar terá essa largura. <br />Em pixels. Deixe em branco para defaults (139px).</div>';]]></add>
</operation>
</file>

Marcus Forsberg

Quote from: Realinfo on July 01, 2009, 11:18:23 PM
I can't able to see it............


Settings are located in Admin > Configuration > Modifications

There is no option like modification in configuration in my Admin

On 1.1.x it's Admin > Features & settings

@candidosa2, thanks. I'll add it. :)

katb

Nice mod nas . I have installed this but if i enable activity on posts ..it will not display members avathars..i am using smf 1.19 and smf default theme

Marcus Forsberg

katb, that's odd. Could you attch ./Themes/default/Display.template.php?

villasg

#79
Nice mod
Work Ok in my 1.1.9

Greek-utf8
<file name="$languagedir/Modifications.greek-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[//Activitybar by Nas
$txt['activitybar_standardlabel'] = 'Activity';
$txt['activitybar_enable'] = 'Ενεργοποίηση της activity bar <div class="smalltext">Ενεργοποίηση της activity bar, μια μπαρα που θα δειχνει που δείχνει πόσο ενεργός ειναι ο χρήστης.</div>';
$txt['activitybar_label'] = 'Ετικέτα της μπαρας <div class="smalltext">Μια ετικέτα που θα εμφανίζεται μαζί με την μπαρα. Η προεπιλογή είναι "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Χρονικο διαστημα δραστηριοτητας <div class="smalltext">Το Mod θα μετράει ολα τα post που πραγματοποιούνται κατά τη διάρκεια αυτού του χρονικού διαστήματος. <br />Σε ημέρες. Η προεπιλογή είναι 30.</div>';
$txt['activitybar_show_in_posts'] = 'Εμφάνιση της μπάρας στα post';
$txt['activitybar_show_in_profile'] = 'Εμφάνιση της μπάρας στo profiles';
$txt['activitybar_max_posts'] = 'Μεγιστος αριθμος posts <div class="smalltext">Aριθμός των απαιτούμενων posts, προκειμένου να γεμίσει η μπαρα. <br />Άφησε το κενο για την προεπιλογή (500 posts).</div>';
$txt['activitybar_max_width'] = 'Μέγιστο πλάτος  <div class="smalltext">Μέγιστο πλάτος της μπαρας. οταν φτασει στο οριο των Posts  , τοτε η μπαρα θα εχει αυτο το πλατος . <br />In pixels. Leave empty for defaults (139px).</div>';]]></add>
</operation>
</file>

Advertisement: