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 Suki, June 30, 2009, 11:40:36 AM

Previous topic - Next topic

Night_Shadows

will you get it to work with the swedish language as well?

Suki

This mod does not have a Swedish language, you need to copy/paste this strings in your /Themes/default/languages/Modifications.swedish.php  file at the end before the ?>


//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>';
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Night_Shadows

Ive installed the mod, added what you told me to add in the  /Themes/default/languages/Modifications.swedish-utf8.php  enabled it on the forum but it doesnt show up in the profile :(

Night_Shadows

Sry it work only had to reload it a couple of times. My foult!

And great work by the way! :)

Suki

Quote from: sharks on August 02, 2011, 08:22:57 AM
Just wanted to drop by and say this... Miss All Sunday is one of my all time favourite modification developers and an excellent support specialist. Thumbs up for all your hard work! :)


Thank you sharks, you have no idea how much this made my day :D
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

sharks

Quote from: Miss All Sunday on August 04, 2011, 09:37:35 AM
Quote from: sharks on August 02, 2011, 08:22:57 AM
Just wanted to drop by and say this... Miss All Sunday is one of my all time favourite modification developers and an excellent support specialist. Thumbs up for all your hard work! :)


Thank you sharks, you have no idea how much this made my day :D

You really deserve all the kudos and i honestly don't know why i waited so long to post the praise. :)
I have bookmarked several of the help topics that you helped me solve before; mods, manual edits, advice, etc.
Recently, i upgraded my SMF installation to the latest version and i had to re-install all my modifications, so i referred back to all those help topics. This refreshed my memory on the importance of your work around here. My forum is now back to being fully functional, with all the tips and tricks that you had kindly provided in the past.

Cheers!

desibees

How can I change n% to white color? Currently it's black. Thanks


I'm the.. Help abuser


Suki

Look at your theme's css/index.css file, there you will find the activity bar css, there you can change the text color.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

desibees

Also is it possible to bold it?
Adding <b.> (without dot) and </b.> (without dot) around the color code in css doesn't help.


I'm the.. Help abuser


Suki

that can also be done in css, take a look at any css tut around the net
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

desibees

Quote from: Miss All Sunday on August 07, 2011, 10:26:01 PM
that can also be done in css, take a look at any css tut around the net

Ofcourse I was supposed to add "font-weight: bold;"
I guess I just don't wana try something my self.

Thank you.   ;)


I'm the.. Help abuser


Nitesh Kunnath

How to change the activity bar color ?
There is no option in the settings panel of activity bar to change the color.
IF there is any way to change it from css or php file, please let me know what to edit and what should be the code for the same.
I need something like grey color so that it could match with the forum layout and would be more visible to read.

I have provided the screenshot of the current activity bar.

Suki

Check your theme's  css/index.css file  for this:




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

.activity_bar
{
height: 15px;
background: url(../images/theme/main_block.png) 90% -200px;
}

.activity_percentage
{
height: 15px;
color: #333333;
text-align: center;
}
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Nitesh Kunnath

Quote from: Miss All Sunday on September 15, 2011, 11:24:47 AM
Check your theme's  css/index.css file  for this:




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

.activity_bar
{
height: 15px;
background: url(../images/theme/main_block.png) 90% -200px;
}

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


Which entry to change in it ?
I did changed this set of code:

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


In color field, I changed to different color code...but still its the same :(
Am I doing anything wrong ?

Suki

what exactly are you trying to change ?   url to your forum?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Nitesh Kunnath

Quote from: Miss All Sunday on September 15, 2011, 02:33:52 PM
what exactly are you trying to change ?   url to your forum?

The color scheme used to fill the activity bar....its dark red in color currently and I wish to change this to some other light color scheme.

url: http://forum.gizmolord.com

Suki

thats actually an image:

.activity_bar

http://forum.gizmolord.com/Themes/inferno_20/images/theme/main_block.png

you can either change the image or remove the background-image  and set a different color in the background-color  currently at transparent
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Nitesh Kunnath

Quote from: Miss All Sunday on September 15, 2011, 03:55:34 PM
thats actually an image:

.activity_bar

http://forum.gizmolord.com/Themes/inferno_20/images/theme/main_block.png

you can either change the image or remove the background-image  and set a different color in the background-color  currently at transparent

Is there no other option ?
I removed that file
See the forum now :(
Without that file it really looks odd...with white background..
Cant we change the activity bar background itself without affecting the forum layout ?

Suki

I told ou to remove the  background-image  in your .activity_bar   class in your css, NOT the entire image....
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Nitesh Kunnath

Quote from: Miss All Sunday on September 15, 2011, 04:20:39 PM
I told ou to remove the  background-image  in your .activity_bar   class in your css, NOT the entire image....

Ooops, sorry I got it wrong.
I will try it now and report it soon...
Thanks for all your help

Advertisement: