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

Nitesh Kunnath

Thanks a lot buddy...it did work fine... :)

T3CHN0

hi along the same topic as above

I just installed this mod but no backgrowned image shows up
i tried to change it but not real sure on how I should address my url
index.css :: something like this

this is what it is on install
background: url(../images/theme/main_block.png) 90% -200px;

do i change it to
background: url(../Themes/BlackRainV2_20g/images/main_block.png) 90% -200px;
or
background: url(..www.mysite.com/Themes/BlackRainV2_20g/images/main_block.png)
90% -200px;

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

background: url(http://www.mysite.com/Themes/BlackRainV2_20g/images/main_block.png) 90% -200px;)

and what size is the image "high" "width"

T3CHN0

Quote from: techno489 on September 18, 2011, 05:10:52 AM
hi along the same topic as above
never mind, I worked it out
I need to use full url (http://www.mysite.com/theme/custometheme/images/main_block.png) 90% -200px;
and the image I made my self width "190" hight "20" colour blue and it works as well.
now the biggy
have a look at my pic. how do I make it center like the rest of the fields?

Suki

Add   

margin:auto;

to the .activity_holder class in your .css file
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

T3CHN0

thanks for that, after allot of trying lol the one thing i didn't try was margin:auto;

my settings in my index.css are now

.activity_holder
{
   height: 15px;
   border: 1px solid #9BAEBF;
   margin:auto;
}
.activity_bar
{
   height: 15px;
   background: url(http://www.mysite.com/smf/Themes/BlackRainV2_20g/images/main_block.png) 90% -200px;
}
.activity_percentage
{
   height: 15px;
   color: #00FF00;
   text-align: center;
}

and it's all looking good now.
this is a great idea for a mod and I will find it very useful


On another note however I kept getting an error in my logs
Profile.template.php on line 150

I change the code to


     // Display the member's current activity
   if (isset($context['member']['action']) && allowedTo('who_view'))
    {
      echo '
      <dt></dt>
      <dd>', $context['member']['action'], '</dd>';


and now no more errors and everything looks to still work
and now with your edit margin:auto; everything looks great as well

thanks

mextremex

working very nice  in 2.0.1 whit custom template  ;D
many thanks for this mod master :)

RacingETR

No work in V2.0.1 u_u

No compatible


QuoteTodo lo que se hace se puede medir, sólo si se mide se puede controlar, sólo si se controla se puede dirigir y sólo si se dirige se  puede mejorar

Racing

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

TheListener

Quote from: RacingETR on December 27, 2011, 12:41:15 AM
No work in V2.0.1 u_u

No compatible

The mod emulation link in my signature will help.

Suki

New version, added support for 2.0.x:

Changelog

1.1 January 2012
-Added compatibility for 2.0.x
-Removed compatibility for 1.1.x
-Reduce queries per page
-Use of hooks
-Less file edits

To upgrade uninstall the old one and install the new version.

If you want to customize the css you can do so in the Sources/ActivityBar.php file function Activity_Bar_css()
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

chinaren

#370
Just loaded this one on my board, but although it says it all worked fine, and I've activated it, I can't see any bar in their profiles. 


I do have Ultimate Profile mod installed though.  Would that affect it?


V2.0.1 btw.
The Opus Path - The Next Generation of the Written Word

Suki

Probably because the ultimate profile mod replaces the code for profile page with it's own, I recall helping another user with that on the ultimate profile support topic, take a look there.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

chinaren

Quote from: Suki on January 09, 2012, 08:47:36 PM
Probably because the ultimate profile mod replaces the code for profile page with it's own, I recall helping another user with that on the ultimate profile support topic, take a look there.


Thanks, I'll dig through it.
The Opus Path - The Next Generation of the Written Word

Cario Blingz

Please i installed it but 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

Am using SMF 2.0.2

sharks

Quote from: megawhite on January 14, 2012, 02:58:06 AM
Please i installed it but 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

Am using SMF 2.0.2
Are you using the default theme? If not, you will not see it. Change to the default theme and while viewing a topic, you will see the activity bar right under your members' avatar area.

Suki

While installing, SMF does give you the chose to install the mod in different themes, it is highly recommended that you use that.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Cario Blingz

Quote from: sharks on January 14, 2012, 03:52:57 AM
Quote from: megawhite on January 14, 2012, 02:58:06 AM
Please i installed it but 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

Am using SMF 2.0.2
Are you using the default theme? If not, you will not see it. Change to the default theme and while viewing a topic, you will see the activity bar right under your members' avatar area.

it's not showing anywhere including on my default themes. please how to i go about it ?

Suki

any erros on install?
link to your forum?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

T3CHN0

sounds like either mod had errors ignored on install by the user or forum file permissions are incorrect
something like that.

This is a simple mod to install, try going over the install with the package parser

Cario Blingz

The installation did not show error in just installed correctly

Advertisement: