News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Activitybar

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

Previous topic - Next topic

azhriel

How about, instead of fixed number of days as a time frame, how can i make this mode set a specific date as starting point to count the post. It's because I want to use this as a month activity meter...

Let's say I will put July 1st as the starting point then as the days goes by the meter will increase as the poster make post. Then on the next month i'll change that to August 1st.

Rexmax

Hello Guys, I'm having a big problem. I'm using the MysticJade theme from dziner studios. The activity bar displays like this, and the bar doesn't go up. Please tell me how to solve this. And please tell me how to change the color of the activity percent/numbers because it's a dark theme and they are black also. I checked this mod on the Curve theme and it works fine, but it doesn't work fine with this theme.







Robert.

Hello and welcome to SMF :)
I guess the problem is that you didn't installed the mod in MysticJade, but that's easy to fix:
Add this at the end of index.css in your theme folder:


.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;
}

TheListener

Quote from: Miss All Sunday on June 28, 2011, 08:49:55 PM
Let me install that mod on local as I don't know it well.

Is this for SMF 2.0 ?

Oops I forgot about this.

MAS this is for 2.0

I am also still wondering how to change the colour to green.

Suki

yeah, but you haven't answered my question, where exactly do you want to show the activity bar?

ultimate profile adds a custom block where you can put your stuff.


to change the colour look at the post just above yours, that is the css that controls the bar

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

TheListener

Oops.

Was thinking near the number of topics and posts or below the messaging icons such as msn etc.

desibees

Hi,
You know where it says : 1% or what ever %.
Could you tell me how I can edit that so i can add something after the n%


I'm the.. Help abuser


Suki

Your theme Display.template:


', $message['activitybar']['percentage'], '%</div>
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

azhriel

Quote from: azhriel on July 11, 2011, 10:24:17 PM
How about, instead of fixed number of days as a time frame, how can i make this mode set a specific date as starting point to count the post. It's because I want to use this as a month activity meter...

Let's say I will put July 1st as the starting point then as the days goes by the meter will increase as the poster make post. Then on the next month i'll change that to August 1st.

Still no reply on this matter

Suki

just uninstall the mod, install it on the first day of month and day set the mod to 30 days.


theres no easy way to do what you want, since you will need to reset the start day every month, other wise this will act just like the regular post count, only counting post since the very first start day.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

desibees

Hi, I need help.
Instead of just having percentage (the number), is it possible to add like a green bar in the box. so if 10% is it, then 10% of the bar will be colored. I think this was already in the mod, but it's not showing on mine.
Help please?


I'm the.. Help abuser


Suki

it is by default.

url to your forum?

do you use a custom theme?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

desibees

Nope, it's not working for me.
Yes , I use a custom theme.
I sent a PM to you with my URL


I'm the.. Help abuser


Suki

Attach your theme's css/Index.css  file
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

desibees



I'm the.. Help abuser


Suki

its there, but you don't have that image in your themes /theme/image folder:

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

you can change this:

background: url(../images/theme/main_block.png) 90% -200px;


with this:

background: #000;

where #000 is some color you want to use.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

desibees

2 things.

1. The background: color (what you said ^^) didn't work.
2. I do have that image but it has nothing to do with activity bar image.. It's my theme image



Thanks


I'm the.. Help abuser


Suki

#337
attach your edited file here.

the image is indeed from your theme, this mod just reuses it, thats why those images exist, to be used not only by your theme but by anything and anyone who wants to use it.



Edit, BTW, I just saw your site and the code I posted did work as I can see your activity bar with a black #000 background  color.

if you want to change that with other color just change this:

background: #000;

to whatever color you want.

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

sharks

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

desibees

thank you so much, all problems solved.


I'm the.. Help abuser


Advertisement: