View Full Version : Forum Statistics in FORUMDISPLAY
This hack displays in the FORUMDISPLAY, a box where some stats of the forum are displayed.
These informations are :
- Total of Views
- Total of replies
- Total of views
- Average rating
- Last trhead created
- Total of threads
- Best poster
- Total of posts
- Last poster
A scrolling menu at the bottom of the box displays the last 3 statistics shown under
This statistics box is collapseable/expandable such as others elements of VB3.
Ce hack permet d'afficher dans le forumdisplay de vos forums, une boite d'affichage dans laquelle des stats sur le forum sont affichées.
Les infos affichées sont :
- Nombre de sujets
- Nombre de réponses
- Nombre de vues
- Moyenne des votes
- Dernier sujet cree par
- Nombre de sujets
- Meilleur posteur
- Nombre total de posts
- Titre du dernier sujet
- Dernier posteur
un menu deroulant permet d'afficher les 3 dernieres stats presentées plus haut
La boite de stats est retractable et sa position enregistrée dans le cookie permet de la maintenir fermée/ouverte meme apres un changement de page.
Notez toutefois que 5 requetes sont ajoutées pour ce hack.
Installation time : 7 min
Templates to modify : 1
Templates to add : 1
Files to upload : 0
Files to modify : 1
Phrases to add : 10
Query to run : 0
:devious:
This hack has been released by VBulletinDev's team : http://www.vbulletindev.net
Ce hack a ete realisé par la team de VBulletinDev et est telechargeable en FR sur http://www.vbulletindev.net
Gio Takahashi
11 Jan 2004, 20:11
Would this add a lot of querys? Just need to make sure.
This hack adds 5 queries on the forumdisplay
You need to take this down. I will be releasing an update to my hack for this from vB2. ;)
Oh, ok. Why did you change your name?
FleaBag
11 Jan 2004, 20:45
Was tweaking this in my vB2 today. Glad this has come along before I move to vB3. Did find the queries a problem for me, so took some of the features out. Maybe this version will perform well. :)
Gio Takahashi
11 Jan 2004, 20:48
I installed this, I gotta tell you that your phrase stuff is a bit wierd.
It's a long story ...
In fact we created a site to produce our hack in french : http://www.vbulletindev.net
We created this username on vb.org, to release our hack, this username is used by :
Grog6, MtoR, p0s3id0n (which have already released some hacks on vb.org) + El Moneygask, thefreestyler
@Gio Takahashi : what is a bit wierd ?
My translation is not enough good ?
I installed this, I gotta tell you that your phrase stuff is a bit wierd.
Is it because there in French?
Gio Takahashi
11 Jan 2004, 20:59
har har.
Oh. the "Total Views" seems to be the total views of the last thread created. Isn't it supposed to be the total views in this forum?
har har.
Oh. the "Total Views" seems to be the total views of the last thread created. Isn't it supposed to be the total views in this forum?
I had this problem in one forum when I did it, in other forums, it seems to work correctly
I think I had an idea, I'll take a look and try to repair it ;)
@Gio : modify in the forumdisplay.php :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I'll update my archive
sypher_again
11 Jan 2004, 21:47
Super taff les mecs ;) vive vbdev vous allez tout dechirer j'en suis sur ^^ / very good taff
sweet..... i added this to my vB2 board, I'll be sure to use this on vB3
/me clicks Install
MGM out
eXtremeTim
11 Jan 2004, 22:31
@Gio : modify in the forumdisplay.php :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I'll update my archive
One problem all the forums would show the thread views amount for forum id number 2 in that new sql query you posted above.
Hmm Sorry Error
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /var/www/web2/html/vb/forumdisplay.php on line 823
vB RC 2???
g-force2k2
12 Jan 2004, 06:46
One problem all the forums would show the thread views amount for forum id number 2 in that new sql query you posted above.
If you updated the sql query you will get this error. Just change the code from his recent fix:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Regards,
g-force2k2
The zip was updated
Thx for the report of bugs :)
Vb-Hispano
12 Jan 2004, 09:14
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/httpd/vhosts/juegos21.org/httpdocs/foros/forumdisplay.php on line 812
is error ???
are you sure that you haven't made a mistakes during the modifications of forumdisplay.php file ?
eXtremeTim
14 Jan 2004, 21:09
If you updated the sql query you will get this error. Just change the code from his recent fix:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Regards,
g-force2k2
I know this. I was just letting him know so he could fix it. :)
Dark Shogun
31 Jan 2004, 14:38
I get this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This is line 809:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Please help
Dark Shogun
I get this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This is line 809:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Please help
Dark Shogun
:|
An obscur error in my install script ;)
Remove
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
At the begining of this line
That line should read:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
wow,this hack is very cool,thz for sharing :D
You can do total threads, total replies and total views all in 1 query. ;)
sabret00the
15 Feb 2004, 15:51
which is the best version this of the boofo one?
which is the best version this of the boofo one?
You decide. ;) Cache or queries?
You decide. ;) Cache or queries?
It's sure you can win queries by using cache, but informations aren't always right ... I didn't look at your code boofo but if you did the same that you did for the first version, yours use less query ;)
Well, I hate to differ with you but all the information from the queries in my hack is 100% correct. It has been tested thoroughly. Yes, I am using the same cache type that I used for the forumhome stats cache hack. And my hack was completely rewritten for version 2 with the cache. It only uses 1 query when reading from the cache and 6 when writing to it at the preset time. So, if queries is a big issue for anyone (and on bigger boards it usually is), then my hack will save them that. ;)
SpeedStreet
11 Mar 2004, 02:49
Can you install this hack on a per forum basis?
Gio Takahashi
21 Mar 2004, 11:46
Can you install this hack on a per forum basis?
Seems that this one may not be compatible with Gold. Had problem installiong this. Get a blank white page when I Try to do this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
@Gio : it should work but I haven't tested it on vb3 Gold, I'll have to modify all my hacks for Vb3 Gold ;)
It should be posted during the week
Our team has opened its support forum.
Now we will make support on our forum
So if you want better support on our hacks go on our forum: http://www.vbulletindev.net/
There are not a lot of hacks for the moment but it will come.
Cya soon on our forum :)
OCH-Stan
15 Jun 2004, 15:09
I get this message: Parse error: parse error, unexpected T_STRING in /home/ochost/public_html/forum/forumdisplay.php on line 825. What's wrong??
EscortCossie
02 Feb 2005, 17:01
I'm sorry to bump this thread, but I still get a parse error when installing exactly as stated in this thread. (also the fix..)
Parse error: parse error, unexpected T_STRING in /home/pcteknik/public_html/fr2/forumdisplay.php on line 816
forumdisplay error help pls
My FILES MODIFICATIONS
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
but
Parse error: parse error, unexpected T_STRING in /home/pcteknik/public_html/fr2/forumdisplay.php on line 816
help.. :ninja:
Elfo King
05 Jun 2005, 14:41
I have this error....
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in D:\Inetpub\wwwroot\forum\forumdisplay.php on line 822
This is line 822......
$nb_vues = vb_number_format($sujets['vues']);
Elfo King
13 Jun 2005, 18:26
Any solutions or link to contact VBDev ?? are not http://www.vbulletindev.net/ ......
yoyoyoyo
13 Jun 2005, 18:50
I get this message: Parse error: parse error, unexpected T_STRING in /home/ochost/public_html/forum/forumdisplay.php on line 825. What's wrong??I get the same error when changing line 819 as indicated earlier in this thread... is there a fix?
Elfo King
20 Jun 2005, 23:06
I have this error....
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in D:\Inetpub\wwwroot\forum\forumdisplay.php on line 822
This is line 822......
$nb_vues = vb_number_format($sujets['vues']);
UP
:ermm: :disappointed:
Elfo King
20 Jun 2005, 23:11
WTF....this is a Full Version ?????....
we not have support for this hack and have big error....
........
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.