Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: _Anthony_ on July 01, 2009, 01:23:30 AM

Title: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 01:23:30 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1913)

Post-O-Meter
Created by Anthony (http://www.codewithus.net/forums/index.php?action=profile;u=1)




Compatibility
SMF 2.0 RC1-1

Description
An activity bar that appears at the bottom of your forum's info center.

Demo
http://www.codewithus.net/forums/

Changelog
1.0-Initial release
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 02:24:33 AM
I installed without problem but it doesn't seem at the bottom or anywhere?
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 02:29:20 AM
Oh sorry, you have to enable it in Admin>Configuration>Modifications
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 02:40:06 AM
OH yes it is OK! But I can not see it again.
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 02:46:15 AM
Hmm, do you have a theme installed that you are using?
And attach ur boardindex.template.php.
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 02:49:29 AM
Nooo now it is OK  but the sentence is empty 'post-o-meter'

And can I change yellow colour?
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 02:52:55 AM
You can change the yellow color by using ur own image and changing it in the BoardIndex.template.php.
It's quite a hassle if you don't know what you're doing, maybe I could help you change the color?
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 02:59:08 AM
Thanks a lot. Here it is the file...
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 03:01:35 AM
Uhm, I actually can't do it right now as I don't have a computer with image editing software.
Sorry, I thought I had photoshop but I guess not.......
Maybe you could ask someone to make you a different colored image for you and I'll show you how to implement it?
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 03:12:24 AM
http://www.codewithus.net/forums/

Here the colour is brown, Can't we do the same?
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 03:18:09 AM
Where do you see this brown? It is the same color as it is elsewhere in fact that is a fresh installation of that modification..
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 03:20:44 AM
http://www.codewithus.net/forums/

here

and

/Themes/default/images/yellowactbar.png     
./Themes/default/images/greenactbar.png

greenactbar?


Post-O-Meter: The post-o-meter is based on the amount of posts the current day.

Post-O-Meter
Posts: 2 Goal: 100
We are 98 posts away from our goal of 100 posts today!

This words are no
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 03:27:24 AM
The green is for over a certain amount of posts, when you get there you'll see it :P.
And installation went fine? Let's see index.english.php.
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 03:34:36 AM
Yes installation was fine. These words are in index.php or modification.english?
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 03:36:31 AM
They should be in /languages/index.english.php
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 03:59:12 AM
$txt['post_o_meter'] = 'Post-O-Meter: The post-o-meter is based on the amount of posts the current day.';
               $txt['post_goal_reached'] = '<br />We we have reached our goal of 100 posts!<br />';
               $txt['post_o_meter_posts'] = 'Posts: ';
               $txt['post_o_meter_goal'] = ' Goal: 100';
               $txt['posts_away'] = '<br />We are %s posts away from our goal of 100 posts today!<br/>';


I use utf8 turkish, so I copied this passge to the index.turkishutf8.php it is good now.
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 04:03:08 AM
oh okay, glad you fixed it :D
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 04:24:16 AM
Yes very very thanks your interests for my problems, everything is ok now...


Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 04:26:32 AM
I'll see what I can do :)
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 04:58:53 AM
I see that, when we reach goal number then if  fireworks gif images open on the forum page?

Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 05:00:05 AM
You just get the goal accomplished, no special features at the moment.
Title: Re: Post-O-Meter
Post by: akbora on July 01, 2009, 05:21:59 AM
And we reach goal number no activitiy. We must change goal number from admin panel.
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 01, 2009, 05:28:06 AM
Hmm, I haven't implemented that feature just yet but great idea.
Title: Re: Post-O-Meter
Post by: akbora on July 02, 2009, 07:09:29 PM
What about the update?
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 02, 2009, 07:18:53 PM
I'll be updating it soon enough with some more features.
Title: Re: Post-O-Meter
Post by: TheListener on July 14, 2009, 02:04:35 PM
Is there a way I can change the postometer fon to a different colour?
Title: Re: Post-O-Meter
Post by: _Anthony_ on July 15, 2009, 02:50:33 PM
You would have to edit where it displays the text in index.template.php.
Title: Re: Post-O-Meter
Post by: TheListener on July 15, 2009, 06:06:46 PM
Was unable to find the text.
Title: Re: Post-O-Meter
Post by: JeremyB. on July 15, 2009, 06:13:47 PM
Find And Edit This:

$txt['post_o_meter'] = 'Post-O-Meter: The post-o-meter is based on the amount of posts the current day.';
Title: Re: Post-O-Meter
Post by: TheListener on July 15, 2009, 06:27:59 PM
Found the text in Boardindex php but what do I have to add so I can change the colour of the font?
Title: Re: Post-O-Meter
Post by: JeremyB. on July 15, 2009, 06:29:34 PM
I guess you could use html and hexidecimal color code
Title: Re: Post-O-Meter
Post by: TheListener on July 15, 2009, 06:31:18 PM
Quote from: JeremyB. on July 15, 2009, 06:29:34 PM
I guess you could use html and hexidecimal color code

Now that is a real big help to someone who doesn't know how to use html.
Title: Re: Post-O-Meter
Post by: JeremyB. on July 15, 2009, 06:36:08 PM
<span style="color :#FFFF00 ;">Post-O-Meter</span> .
Title: Re: Post-O-Meter
Post by: TheListener on July 15, 2009, 07:26:02 PM
Am now getting: Parse error: syntax error, unexpected T_STRING, expecting ']'

Themes/default/BoardIndex.template.php on line 429

Title: Re: Post-O-Meter
Post by: JeremyB. on July 15, 2009, 07:29:19 PM
Did you add that html code to it?
Title: Re: Post-O-Meter
Post by: TheListener on July 15, 2009, 07:32:15 PM
added and nothing happened.
Title: Re: Post-O-Meter
Post by: JeremyB. on July 15, 2009, 07:34:40 PM
Hmm well, Anthony or someone with more knowledge about this than me will have to help you sorry, thats all I could think of that would change it.
Title: Re: Post-O-Meter
Post by: TheListener on July 15, 2009, 07:35:17 PM
hmm
Title: Re: Post-O-Meter
Post by: TheListener on August 02, 2009, 08:05:15 PM
BUMP
Title: Re: Post-O-Meter
Post by: _Anthony_ on August 16, 2009, 12:33:42 PM
Oh crap sorry guys, I haven't been very active lately, so now what do you need help with?
Title: Re: Post-O-Meter
Post by: Kimmie on August 18, 2009, 12:50:00 AM
is there a screenshot we can see? The link on the mod page doesnt work. THanks
Title: Re: Post-O-Meter
Post by: TheListener on August 18, 2009, 07:32:03 AM
Quote from: Kimmie on August 18, 2009, 12:50:00 AM
is there a screenshot we can see? The link on the mod page doesnt work. THanks

If you want to see what the post o meter looks like have a look at the link to my site in the signature.

Title: Re: Post-O-Meter
Post by: Sabreā„¢ on September 06, 2009, 09:02:10 PM
Quote from: JeremyB. on July 15, 2009, 06:36:08 PM
<span style="color :#FFFF00 ;">Post-O-Meter</span> .

Thats how you change the font color.
So the whole string would be
$txt['post_o_meter'] = '<span style="color: WHATEVER COLOR HERE ;">Post-O-Meter:</span> The post-o-meter is based on the amount of posts the current day.';