![]() |
Php help for wordpress plugin - stat traq I'm seeking a little bit of help with a Wordpress plugin called stat traq, and as with all Wordpress plugins, this is written in php. What I want to do is really quite simple - I just want to pull a bit of data from my web stats plugin, Stat Traq, and publish it on the home page of One Million Hit Wonder. The specific bit of data I want to publish on the home page is: Total number of unique visitors this week I'd also be keen to get somehow get a line graph happening, show the total number of unique visitors each month, commencing from the end of this week. Any assistance would be greatly appreciated. |
Re: Php help for wordpress plugin - stat traq Is there anyone out there who would like to partake in this delightful PHP challenge? There could be a couple of bucks in it for you.... |
Re: Php help for wordpress plugin - stat traq I tried installing the stat traq plugin to see if I could work out how to do this for you. I found I had to edit the stattraq-install.php script for that to work. Then when I click on the link to install the tables I get a file not found error. |
Re: Php help for wordpress plugin - stat traq Quote:
I had a friend working on this for me, but now that he's on holidays I'm a bit list. However, I've got a bit more info that I can share with you, if this helps... The code that is currently calling stats info on the homepage is: PHP Code: |
Re: Php help for wordpress plugin - stat traq Hi Jake, Per my email, this is certainly possible. I downloaded and took a look at the plugin; there are some functions for grabbing the stats for various weeks, months, years etc. Even if you need a slight modification to the script, it shouldn't take too much work. Thanks, Tim. |
Re: Php help for wordpress plugin - stat traq It seems like the getuVC is a function written by your friend, can you show me the code that he wrote for this function? |
Re: Php help for wordpress plugin - stat traq Quote:
Will the zip file help? |
Re: Php help for wordpress plugin - stat traq As far as graphs, google gives them out free. Developer's Guide - Google Chart API - Google Code What you may run into doing things that way is if the Google server is slow, your site may render slow because the browser is getting information from 2 different servers. The other way is to install the GD library on your server & develop the graphs from your server. That's all fine and dandy if you're on VPS or dedicated machine...not so much on a shared hosting setup... unless the server already has the GD library already installed for some reason. Anyway, If you don't get anywhere with the help that's already been offered, I've got time on Sunday. Just drop me a line & we'll work it out. |
Re: Php help for wordpress plugin - stat traq Quote:
|
Re: Php help for wordpress plugin - stat traq I had a look at the plugin code and its not there. It would be useful to see the php code that you have on your home page. |
Re: Php help for wordpress plugin - stat traq Quote:
PHP Code: |
| All times are GMT -6. The time now is 03:44 PM. |