Hi Mambers,
Here comes my second module for Mambo.
This module displays hit counters in graphical mode. That is , it uses a ttf file (attached with the module) to display the numbers.
You can see demo at
http://www.pixelthemes.com and
http://www.pixelthemes.com/demo . You can download the module at
http://www.pixelthemes.com download menu.
This module requires GD with TTF enabled. Please remember to start the "statistics" logging in the Global configuration section of Admin before or after installing this module.
Currently the script is not very much configurable. However, you can use different font , different background color, different text color, different font sizes. As an example i use different background color for hit counter in
http://www.pixelthemes.com
Q: How can i use my own font?
A: For example , if you want to use arial font, upload arial.ttf to the modules directory. Then, edit this file in the modules folder mod_graphical_counter_generate.php. Currently you can see this variable set there $font_set = "POR2.TTF" . Replace "PORT2.TTF" with "arial.ttf". That is all. You can see the hit counter rendering numbers in arial font.
Q: How to change the background color and text color?
A: In the modules edit the file mod_graphical_counter_generate.php and change the $bg_color for background color. You can change the $text_color for text color.
Q: These are very difficult to me to do
A: Please wait for my next version. I will create parameters for these things. So, you can set them while setting up the module.
Regards,
Vrajesh