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)
CompatibilitySMF 2.0 RC1-1
DescriptionAn activity bar that appears at the bottom of your forum's info center.
Demohttp://www.codewithus.net/forums/
Changelog1.0-Initial release
I installed without problem but it doesn't seem at the bottom or anywhere?
Oh sorry, you have to enable it in Admin>Configuration>Modifications
OH yes it is OK! But I can not see it again.
Hmm, do you have a theme installed that you are using?
And attach ur boardindex.template.php.
Nooo now it is OK but the sentence is empty 'post-o-meter'
And can I change yellow colour?
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?
Thanks a lot. Here it is the file...
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?
http://www.codewithus.net/forums/
Here the colour is brown, Can't we do the same?
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..
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
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.
Yes installation was fine. These words are in index.php or modification.english?
They should be in /languages/index.english.php
$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.
oh okay, glad you fixed it :D
Yes very very thanks your interests for my problems, everything is ok now...
I'll see what I can do :)
I see that, when we reach goal number then if fireworks gif images open on the forum page?
You just get the goal accomplished, no special features at the moment.
And we reach goal number no activitiy. We must change goal number from admin panel.
Hmm, I haven't implemented that feature just yet but great idea.
What about the update?
I'll be updating it soon enough with some more features.
Is there a way I can change the postometer fon to a different colour?
You would have to edit where it displays the text in index.template.php.
Was unable to find the text.
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.';
Found the text in Boardindex php but what do I have to add so I can change the colour of the font?
I guess you could use html and hexidecimal color code
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.
<span style="color :#FFFF00 ;">Post-O-Meter</span> .
Am now getting: Parse error: syntax error, unexpected T_STRING, expecting ']'
Themes/default/BoardIndex.template.php on line 429
Did you add that html code to it?
added and nothing happened.
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.
hmm
BUMP
Oh crap sorry guys, I haven't been very active lately, so now what do you need help with?
is there a screenshot we can see? The link on the mod page doesnt work. THanks
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.
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.';