Activitybar

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

Previous topic - Next topic

Suki

Let me install that mod on local as I don't know it well.

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

ZerK

nice mod,
i instaled it in my forum but did some changes like adding an image to the percent and centered the number.

TheListener

Quote from: ElPlayer on June 28, 2011, 08:54:15 PM
nice mod,
i instaled it in my forum but did some changes like adding an image to the percent and centered the number.

Can ya show a screenshot so others can see what it looks like?

ZerK


TheListener

Looks good.

What is the hex code for that colour green.

My previous post will explain the reason for the question.

ZerK

its an image and i cant check now because my other pc  (the one with photoshop) is having temp issues.

but i could do it with a background color and inner shadow (box-shadow), i didnt do it that way because it wont be compatible with all browsers

TheListener


Zuća

I tried everything, but we could not understand how to make something like this



Suki

its pure css,  you only need to edit the css for this mod:

for 2.0 is this:  /Thmes/your theme/css/index.css

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


on this

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


you can set your own image url  as well as putting a text-align:center;  to center the text inside the bar.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

ZerK

here is the image im using:


Zuća

Quote from: ElPlayer on June 28, 2011, 10:25:48 PM
here is the image im using:

THANK YOU...but to me it is not clear where to put this ... well in activitybar.png themes/default/images/activitybar.png ???

Suki

you will put it in the images/theme folder of the theme you are currently using

then in

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

change the main_block.png  for the name of your image
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Diego Andrés

Nice work Miss, what kind of changes has the new version ?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Suki

None,  I just updated it to work with 2.0 and added Spanish language support.

   I just recently take over this mod and haven't heard or read about features yet.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Zuća

Thanks ElPlayer and Miss all sunday :D


Kajol

I have users with 12 comments and I have user with 3000 comments. How come that users with less comments have a higher percentage than users with more comments?
My settings you can see in the attached image.
Ist es eigentlich Non-Canon, dass Non-Canon nicht Canon ist, weil Canon nicht in Non-Canon Büchern sein darf, oder ist das Canon....?

Suki

that is because of the time frame you just added,  you add a time frame of just 1 day,  that is that the bar will count only the post made during that time frame,  the user with 12 comments  probably made 8 or 9 on the same day  while the user with 3000  didn't make any post during the same day.


to avoid that just  set a larger time frame, for example 30 days.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Xenmorph

#318
Love the Mod, Only had 1 issue.

The install file was adding the modifications made in subs.php after the ?> instead of before.

I have modified the the install2.0.xml file and all installs and works great now on SMF 2.0


These are the Changes I made to the install2.0.xml file :

Find :
<search position="end" />

Replace :
<search position="replace"><![CDATA[?>]]></search>


Find :
// There you go. Anything else?
return $context['bar'];

}]]></add>


Replace :
// There you go. Anything else?
return $context['bar'];

}
?>]]></add>


Kajol

@Miss All Sunday: Thanks that solved it. :)
Ist es eigentlich Non-Canon, dass Non-Canon nicht Canon ist, weil Canon nicht in Non-Canon Büchern sein darf, oder ist das Canon....?

Advertisement: