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

katb

Quote from: Nas on July 05, 2009, 03:23:45 PM

Seems to have been conflicting with another mod, banned members avatar. Try the attached file.


Nas i tried attached file but not working , even i try to uninstall banned members avathar mod also but after no luck..

emilio05

Hi, I installed your mod but I do not see the image
That can not be, need help please.
Here are my display.template.php

greetings!

Marcus Forsberg

Quote from: katb on July 12, 2009, 12:36:32 AM
Quote from: Nas on July 05, 2009, 03:23:45 PM

Seems to have been conflicting with another mod, banned members avatar. Try the attached file.


Nas i tried attached file but not working , even i try to uninstall banned members avathar mod also but after no luck..

Hmm.. I'll look at it when I've got home form my vacation.

Quote from: emilio05 on July 13, 2009, 05:07:04 PM
Hi, I installed your mod but I do not see the image
That can not be, need help please.
Here are my display.template.php

greetings!

Please read the FAQ in the first post of this topic, or in the readme.txt file in the package.

JeremyB.

#123
Nice Mod Nas.

"The most overlooked advantage to owning a computer is that if they foul up, there's no law against whacking them around a little."

jdvarner

nice. would be cool to expand. make it count tme online, loggin in, playing in arcade and so on. i know thats huge. just saying... future project idea. really neat mod.

also, maybe perhaps option to change activity bar color within the admin panel itself.

chrishicks

Would it be possible to move the bar to the very bottom of the user info area below the online/offline/PM shortcuts? I'm messing around with this on my test forum and it places a large gap between my name and avatar (I also have the Avatar Under Membergroups Rank mod) as you can see in this pic:

  -- click to enlarge

Is this possible?

Marcus Forsberg

Thanks Jeremey and jdvarner. I migt just look into those ideas, jdvarner.

chrishicks: Yes, it is possible. Have a look at Didsplay.template.php, or attach that file here.

zanyuki

Hi nas,

A really really great mod! Kudos to you!

Also, can we expect an update for RC1.2? When I upgraded it didn't display the value correctly, only a filled bar with % on it.

Keep up the good work, man!

Marcus Forsberg

Thanks.
Yes, a update for RC1.2 will be here after my vacation. :)

SLiM_BoY

Nice mod, thanks.

I've a question :

I want to set "Max posts" value equal to my forum's total posts. How can I do that ?

QuoteIn ./Sources/Subs.php

// Make sure everything is set. If something is missing, use a default value.
   $max_width = !empty($modSettings['activitybar_max_width']) ? $modSettings['activitybar_max_width'] : 139;
   $max_posts = !empty($modSettings['activitybar_max_posts']) ? $modSettings['activitybar_max_posts'] : 500;

Marcus Forsberg

That's a nice idea, SLiM_BoY. :)
Try this:'

$max_posts = $context['common_stats']['total_posts'];

SLiM_BoY

Quote from: Nas on July 16, 2009, 12:51:52 PM
That's a nice idea, SLiM_BoY. :)
Try this:'

$max_posts = $context['common_stats']['total_posts'];

I tried that before. But bar shows 0%.

Marcus Forsberg

My bad, I should have known:

$max_posts = $modSettings['totalTopics'];

SLiM_BoY

Quote from: Nas on July 16, 2009, 12:56:30 PM
My bad, I should have known:

$max_posts = $modSettings['totalTopics'];

Now, bar shows 100%. : )

Marcus Forsberg

Are you sure you haven't wrote all of the posts on your forum, then? ;)

SLiM_BoY

Quote from: Nas on July 16, 2009, 01:06:18 PM
Are you sure you haven't wrote all of the posts on your forum, then? ;)

Yes, I'm sure. :)

SLiM_BoY

I think I found it :

$max_posts = $modSettings['totalMessages'];

Am I right ?

Marcus Forsberg

Oh, that's right. My bad again. Maybe I should get sone sleep before doing more of this. :P

chrishicks

Quote from: chrishicks on July 16, 2009, 12:45:02 AM
Would it be possible to move the bar to the very bottom of the user info area below the online/offline/PM shortcuts? I'm messing around with this on my test forum and it places a large gap between my name and avatar (I also have the Avatar Under Membergroups Rank mod) as you can see in this pic:

  -- click to enlarge

Is this possible?

Here is my display.template.php file if someone can help me put this under the info mentioned above. Thanks in advance.

Marcus Forsberg

This file should do it. :)

Advertisement: