Activitybar

Started by Suki, June 30, 2009, 11:40:36 AM

Previous topic - Next topic

akbora

Like top10 posters in aweek in a year...


I Reinstalled it changed nothing.

Problem is modification turkish? Do we need add any code in the file?

SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Marcus Forsberg

Yes, languagestrings. But that shouldn't affect the functionallity of the mod.

akbora

Please what is the code let me add to turkish modification file?

There was a similar problem with casino mod. It recovered with this method.
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Marcus Forsberg

Add this to the end off the file (Just before ?>)

//Activitybar by Nas
$txt['activitybar_standardlabel'] = 'Activity';
$txt['activitybar_enable'] = 'Enable activity bar <div class="smalltext">Enable the activity bar, a bar that shows how active a user has been.</div>';
$txt['activitybar_label'] = 'Bar label <div class="smalltext">A label displayed along with the bar. Default is "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Activity Timeframe <div class="smalltext">The modification will count all posts made during this timeframe. <br />In days. Default to 30.</div>';
$txt['activitybar_show_in_posts'] = 'Display the activity bar in posts';
$txt['activitybar_show_in_profile'] = 'Display the activity bar in profiles';
$txt['activitybar_max_posts'] = 'Max posts <div class="smalltext">Number of posts required in order to fill the bar. <br />Leave empty for defaults (500 posts).</div>';
$txt['activitybar_max_width'] = 'Max width  <div class="smalltext">The width of the bar. When the post limit set above is reached, the bar will have this width. <br />In pixels. Leave empty for defaults (139px).</div>';

akbora

No it isn't solved....
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Antes

Awsome mod for all sites :) ...
Here is Turkish translate

// Activitybar by Nas
$txt['activitybar_standardlabel'] = 'Aktiflik';
$txt['activitybar_enable'] = 'Aktiflik Çizgisini aktive et <div class="smalltext">Bu özellikle birlikte kullanıcının ne kadar aktif olduğunu görebilirsiniz.</div>';
$txt['activitybar_label'] = 'Çizgi Etiketi <div class="smalltext">Çizgi ile gösterilecek etiket. Standart "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Aktiflik Zamançerçevesi <div class="smalltext">Eklentinin göz önünde bulunduracağı zamançerçevesi. <br />Gün Sayısı. Standart 30.</div>';
$txt['activitybar_show_in_posts'] = 'Aktiflik çizgisini iletilerde göster';
$txt['activitybar_show_in_profile'] = 'Aktiflik çizgisini profillerde göster';
$txt['activitybar_max_posts'] = 'En Fazla İleti <div class="smalltext">Çizgiyi doldurucak en fazla ileti sayısı. <br />Boş bırakarak standart hale getirirsiniz (500 ileti).</div>';
$txt['activitybar_max_width'] = 'En fazla genişlik <div class="smalltext">Çizginin genişliği. Koyulan ileti limiti geçildiğinde çizgi bu genişliğe gelecektir. <br />Pixel olarak. Boş bırakarak standart hale getirirsiniz (139px).</div>'

TheListener

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?

Snowy

I like this one a lot, but it's too much work to manually install mods to each theme. I'd like to see this a core feature viewable in all themes. I'd love to use it, but just can't manually install to a half dozen themes.

TheListener

How many themes do you use on your forum?  :)

Snowy

Quote from: TheListener on June 30, 2009, 09:35:36 PM
How many themes do you use on your forum?  :)

I have the default, babylon, classic yabb, one dark, one silver, one brown, one archaeological style, brown, orange, and what I use as the default which is most fitting for my forum... the forest. So, 10. Might be too much, but it's a range for everyone...

Imagine what it was like for me when I used 1.1.8.... I don't want to go back to doing all those edits.
But there are some seriously beneficial mods kicking around here that I wish could be part of the core and simply show up in any theme. Like this one.... it offers a quick glance at how active your members are. If it were built into the core, it could have an option to turn it off or on, just like the kharma, etc......

TheListener

I prefer to go for the simple side of things. Keep everyone on the same theme to me means no rules such as no neon font ( if a white background).


Snowy

Quote from: TheListener on June 30, 2009, 10:29:09 PM
I prefer to go for the simple side of things. Keep everyone on the same theme to me means no rules such as no neon font ( if a white background).



That's probably the best way to go. My problem is, I don't want my forum to look the same as every other forum out there at its default stage. Hence, the bright forest theme as a default.... fits in nicely with Maine. Therefore, I understand some might not like it, so I offered some alternatives. I'm whittling them down, though. When a theme isn't being used by anyone for a few weeks, I take it out.

Regardless, I may reinstall this mod at some point, but I'll need the time first, the amount of time will depend on the amount of themes. I think this is a very worthy mod. I really like it. It gives everyone an idea right off the bat how active someone is on the forum. The only thing I don't like about it is the time limit..... I'd prefer to not have it guage activity over 30 days or whatever.... I'd rather have an indefinite guage. But to change it from 30 days, you have to have a number in there. I guess 36,500 would do it, huh? lol

Marcus Forsberg

Quote from: akbora on June 30, 2009, 03:14:00 PM
No it isn't solved....

I'll have too look into this.

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. :)

Quote from: Antes on June 30, 2009, 04:28:44 PM
Awsome mod for all sites :) ...
Here is Turkish translate

// Activitybar by Nas
$txt['activitybar_standardlabel'] = 'Aktiflik';
$txt['activitybar_enable'] = 'Aktiflik Çizgisini aktive et <div class="smalltext">Bu özellikle birlikte kullanıcının ne kadar aktif olduğunu görebilirsiniz.</div>';
$txt['activitybar_label'] = 'Çizgi Etiketi <div class="smalltext">Çizgi ile gösterilecek etiket. Standart "'.$txt['activitybar_standardlabel'].'".</div>';
$txt['activitybar_timeframe'] = 'Aktiflik Zamançerçevesi <div class="smalltext">Eklentinin göz önünde bulunduracağı zamançerçevesi. <br />Gün Sayısı. Standart 30.</div>';
$txt['activitybar_show_in_posts'] = 'Aktiflik çizgisini iletilerde göster';
$txt['activitybar_show_in_profile'] = 'Aktiflik çizgisini profillerde göster';
$txt['activitybar_max_posts'] = 'En Fazla İleti <div class="smalltext">Çizgiyi doldurucak en fazla ileti sayısı. <br />Boş bırakarak standart hale getirirsiniz (500 ileti).</div>';
$txt['activitybar_max_width'] = 'En fazla genişlik <div class="smalltext">Çizginin genişliği. Koyulan ileti limiti geçildiğinde çizgi bu genişliğe gelecektir. <br />Pixel olarak. Boş bırakarak standart hale getirirsiniz (139px).</div>'


I'll add it during the next update. Thanks.

Marcus Forsberg

Quote from: Snowy on June 30, 2009, 10:47:36 PM
The only thing I don't like about it is the time limit..... I'd prefer to not have it guage activity over 30 days or whatever.... I'd rather have an indefinite guage. But to change it from 30 days, you have to have a number in there. I guess 36,500 would do it, huh? lol

That gave me an idea.  Maybe I can add a feature to let you count all posts, skip the timeframe.

Snowy

#34
Quote from: Nas on July 01, 2009, 05:36:38 AM
Quote from: Snowy on June 30, 2009, 10:47:36 PM
The only thing I don't like about it is the time limit..... I'd prefer to not have it guage activity over 30 days or whatever.... I'd rather have an indefinite guage. But to change it from 30 days, you have to have a number in there. I guess 36,500 would do it, huh? lol

That gave me an idea.  Maybe I can add a feature to let you count all posts, skip the timeframe.

Thanks! That's what I would prefer. (-:
Perhaps there is a way to offer both as options so people could run it how they wanted?

chrisb

i would like to see it for 1.1.9 as well and please let us know when u have completed this project

Marcus Forsberg

Quote from: Snowy on July 01, 2009, 07:27:00 AM
Perhaps there is a way to offer both as options so people could run it how they wanted?

Yes, that's what I was thinking. :)

Quote from: chrisb on July 01, 2009, 07:51:31 AM
i would like to see it for 1.1.9 as well and please let us know when u have completed this project

1.1. is coming today or tomorrow.

AST3R1X

Excellent mod Nas  ;) I just installed it on 3 sites with custom themes and no problems  :D

Marcus Forsberg


MaXiForum.cz

Quote from: Nas on July 01, 2009, 08:22:44 AM
1.1. is coming today or tomorrow.

I look forward to it as a small child  :P ;D

Advertisement: