The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PHP Statistics Counter

4 posters

Go down

PHP Statistics Counter Empty PHP Statistics Counter

Post by dotDavid November 12th 2009, 6:56 am

Hey,

On ForumPromotion, they have a PHP statistics updater: PHP Statistics Counter Sig
and so, I was wondering if that is possible for forumotion, and so, my forum?

Thanks.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by ankillien November 12th 2009, 11:01 am

Hey,

Yes, we have it on Forumotion.
See the list of variables.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 12th 2009, 11:24 am

Ah, that would right. Thanks.

Would anyone happen to know how to code it so it will display an image with the stats?
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by ankillien November 12th 2009, 11:28 am

You mean a dynamic image that changes automatically?
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 12th 2009, 11:37 am

Yes, that would be right.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Sanket November 12th 2009, 2:10 pm

Something you can check on www.histats.com
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by ankillien November 12th 2009, 3:26 pm

Sanket wrote:Something you can check on www.histats.com


But it won't show stats of our forums like number of topics, posts, members etc.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Sanket November 12th 2009, 6:39 pm

I thought he wanted to look for just basic visitors & other stats to be displawed.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 12th 2009, 9:57 pm

No Sanket, I need something like the above image.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Sanket November 13th 2009, 11:16 am

Okay dotDavid, i can't see any image Neutral
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 13th 2009, 11:26 am

This:
PHP Statistics Counter Sig

Its a php dynamic image that has some php script on it.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Sanket November 13th 2009, 11:43 am

Nevermind, its not appearing for me.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 13th 2009, 12:00 pm

Just to help, here's the link: http://forumpromotion.net/forum/sig.php

You must have something blocking the php script.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Sanket November 13th 2009, 12:06 pm

I know i saw that link before by quoting the message. I get a website error when i open it. Just images, without css.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 13th 2009, 12:13 pm

Its not going to have a css attached, because its an "image". I don't how its done, but somehow all the coding has been compiled into the image.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Sanket November 13th 2009, 2:46 pm

dotDavid i don't think you get me, i don't really see the image which you want me to see.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by ankillien November 13th 2009, 3:28 pm

I can see the image.

To make such dynamic images they use GD library with PHP programming.
David, try making a google search on how to produce dynamic images, you might get some useful info.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Jalokim November 13th 2009, 5:05 pm

well you can also use variable from template editing to create a gadget like that.

but I think I'm on the wrong track... if I'm not mistaken that is a sig for a forum that shows the current status of the forum...

I think the fellows above are correct, you'd have to find out how to make a php sig first.
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Guest November 13th 2009, 7:07 pm

OK, here's a test.

Posts: 1088595, Topics: 151170, Members: 110692

I guess I'm not sure what the problem is here...the information you want is readily available, and it can be displayed exactly the way you want using BBCode [table][/table] tags and setting the info on top of a background image.

Ahhhh...BBCode tags...I'm happy now. king

Oh, the forumotion techs actually have a sense of humor -- use the USERNAME variable on this forum and preview the post! Smile
avatar
Guest
Guest


Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Jalokim November 13th 2009, 9:50 pm

ok dion ... nice...

but ... lets say my site is tealeafgraphics ...

I type out the variables in my sig... on TLG all is cool... if I take that sig to dailymobile.se ... then it won't show the info.

if you take it to another forumotion board it'll show that sites stats.
the php sig shows stats from your site no matter where you post the sig
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Guest November 13th 2009, 10:18 pm

If what you're after is information to be dynamically displayed on a forum other than your own, then you'll need SSI capability and forumotion isn't ever going to have that capability (nor IMO should they).

I suppose the best one could do is take daily screen captures of the image I described above, and link to that image in signatures elsewhere. Just make sure to update the image as opposed to creating new images. In that way you could create signatures elsewhere that will be updated when the image is updated.

I don't think forumotion supports image updating through servimg or the galleries, so one would need to find a third-party host that allows image updating.
avatar
Guest
Guest


Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 14th 2009, 3:19 am

@ankillien, I've been trying to do that.

@Jalokim, Within the forum its ok, but using it as a sig on another forum doesn't work.

@Dion, only works for the forum. I am looking for something like that image above. It automatically updates when there are new members, posts and topics.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by ankillien November 14th 2009, 8:27 am

Some thing like this would work?? :/

Posts : 1088595 | Topics : 151170 | Members : 110692

It is just simple BBCodes, background image and PHP variables on it.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 14th 2009, 8:31 am

Yes, but I can't use that anywhere else.
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by ankillien November 14th 2009, 8:35 am

Ok.

I know how PHP can generate dynamic images but I don't know how can it grab the stats from your forum and display as an image :/

I don't think it is possible on forumotion.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by dotDavid November 14th 2009, 9:08 am

Are you 100% sure that its impossible?
dotDavid
dotDavid
Hyperactive

Male Posts : 2404
Reputation : 0
Language : English

https://help.forumotion.com/

Back to top Go down

PHP Statistics Counter Empty Re: PHP Statistics Counter

Post by Guest November 14th 2009, 6:25 pm

I wrote:I guess I'm not sure what the problem is here...the information you want is readily available, and it can be displayed exactly the way you want using BBCode [table][/table] tags and setting the info on top of a background image.

Ahhhh...BBCode tags...I'm happy now. king
I wrote:If what you're after is information to be dynamically displayed on a forum other than your own, then you'll need SSI capability and forumotion isn't ever going to have that capability (nor IMO should they).

I suppose the best one could do is take daily screen captures of the image I described above, and link to that image in signatures elsewhere. Just make sure to update the image as opposed to creating new images. In that way you could create signatures elsewhere that will be updated when the image is updated.

I don't think forumotion supports image updating through servimg or the galleries, so one would need to find a third-party host that allows image updating.
I think this pretty much sums it up. Ankillien wrote up the BBCode I suggested, and you could modify it for your own use. You could then do daily screen captures of the image, update it on a third-party site, and link to the updated image in signatures.

That's the best you will EVER get from hosted sites -- and it's not limited to forumotion. I am not aware of any that allow SSI/PHP access. FYI: there is a reason that PNG image has a .PHP extension!
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum