![]() |
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: [HIGH]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[/HIGH] |
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. ;)
|
(I'm Grog6 boofo ;) )
|
Oh, ok. Why did you change your name?
|
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. :)
|
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 ? |
Quote:
|
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? |
Quote:
I think I had an idea, I'll take a look and try to repair it ;) |
@Gio : modify in the forumdisplay.php :
Code:
$sujets=$DB_site->query_first("SELECT postusername, SUM(views) AS vues FROM " . TABLE_PREFIX . "thread WHERE forumid=$forumid GROUP BY postusername ORDER BY dateline DESC"); Code:
$sujets=$DB_site->query_first("SELECT postusername, SUM( views ) AS vues |
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 |
Quote:
|
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??? |
Quote:
PHP Code:
PHP Code:
g-force2k2 |
The zip was updated
Thx for the report of bugs :) |
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 ?
|
Quote:
|
I get this:
Code:
Parse error: parse error, unexpected T_STRING in /home/virtual/site23/fst/var/www/html/project/forumdisplay.php on line 809 Code:
$sujets=$DB_site->query_first("$sujets=$DB_site->query_first("SELECT postusername, SUM( views ) AS vues Dark Shogun |
Quote:
An obscur error in my install script ;) Remove PHP Code:
|
That line should read:
PHP Code:
|
wow,this hack is very cool,thz for sharing :D
|
You can do total threads, total replies and total views all in 1 query. ;)
|
which is the best version this of the boofo one?
|
Quote:
|
Quote:
|
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. ;)
|
Can you install this hack on a per forum basis?
|
Quote:
Code:
Then find : |
@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 :) |
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'm sorry to bump this thread, but I still get a parse error when installing exactly as stated in this thread. (also the fix..)
|
Quote:
|
My FILES MODIFICATIONS
PHP Code:
PHP Code:
but Parse error: parse error, unexpected T_STRING in /home/pcteknik/public_html/fr2/forumdisplay.php on line 816 help.. :ninja: |
I have this error....
Quote:
Quote:
|
All times are GMT. The time now is 12:10 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:
|