![]() |
has this been done? - percentage of posts in what forum/board
I was just wondering if this has already been done, since I have searched and couldnt find what I wanted, it looks like I'm gonna have to do it myself!
I want to be able to produce a chart on the users profile where you can see their percentage of posts in each forum. This is mainly because some members have a very high post count and they claim not to have spammed much.... when we can clearly see that their posts are mainly in the "SPAM" forum!! I just wanna be able to produce a graph, probably using GD.... so, does anyone know of a hack thats already been done for this? or should I carry on writing it? thanks! :) |
Quote:
|
hmm... good thinkin.... the server is already over loaded!!
I might just do something like forum 1 = 34.3% of posts forum 2 = 37.1% of posts just a basic output of the raw stats.... i've added a mod on their forum so that it shows their percentage of over all posts to the total, but i think this hack would be quite good? |
Quote:
|
hmm...could do!
I've had a quick go... its nothing fancy, and its a seperate page from VB... once I know its working, I will integrate it! :) PHP Code:
http://www.yu-gi-oh-online.co.uk/for...s.php?userid=1 anyone got an suggestions how to neaten the code or anything? I tried to do an inner join, but it didnt work!! LOL!!! |
Here, with one query:
PHP Code:
|
hmm...that seems to produce only one forum...
http://www.yu-gi-oh-online.co.uk/for...3.php?userid=1 also, I am thinking of making some bar chart style things.... not sure if I need them or what.. but they dont seem to work... any ideas? http://www.yu-gi-oh-online.co.uk/for...2.php?userid=1 |
take the 'user' query out of it and loop that
|
Does anyone know how to make this work?
|
All times are GMT. The time now is 01:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|