Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 18

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 09.11.2004, 19:59   #1 (permalink)
Senior Mamber
 
vrajesh's Avatar
 
Join Date: Apr 2004
Posts: 181
vrajesh is on a distinguished road
Send a message via Yahoo to vrajesh
Smile Graphical hit counter

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
__________________
Think Big
www.PixelThemes.com
Professional Mambo Templates
vrajesh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 26.02.2005, 02:29   #2 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Posts: 4
Asphyx is on a distinguished road
Default Re: Graphical hit counter

Having a problem getti8ng this to work under Suse Linux 9.2

I have checked php.ini and the GD libs are installed,
Not sure how to change it to accept TTF I can't imagine why they would not install it with it..

Any help on how to get the graphic to display?

It worked fine on my windows box but for other reasons I had to switch to a linux system
Asphyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphical hit counter vrajesh Mambo 4.5.1 General Talk 0 09.11.2004 19:51
Where is the 'Hit counter'? ACmonKey Mambo 4.5.1 'How Do I' Questions 3 02.09.2004 06:05
centering hit counter reemas Mambo 4.5 'How Do I' Questions 9 22.07.2004 07:41
changing hit counter value reemas Mambo 4.5 'How Do I' Questions 6 20.07.2004 18:22
where is the Hit Counter tallie stored in the database? EliteRides Mambo 4.5 'How Do I' Questions 1 02.07.2004 08:29


All times are GMT +2. The time now is 08:18.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.